[20263] trunk/dports/python/py-pyqt3/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Tue Oct 31 13:53:39 PST 2006
Revision: 20263
http://trac.macosforge.org/projects/macports/changeset/20263
Author: blair at macports.org
Date: 2006-10-31 13:53:38 -0800 (Tue, 31 Oct 2006)
Log Message:
-----------
Fix build issues:
* Force to link against the MacPorts Python framework using the -F
linker argument.
* Add a test to try to import the qt module.
Modified Paths:
--------------
trunk/dports/python/py-pyqt3/Portfile
Modified: trunk/dports/python/py-pyqt3/Portfile
===================================================================
--- trunk/dports/python/py-pyqt3/Portfile 2006-10-31 21:48:16 UTC (rev 20262)
+++ trunk/dports/python/py-pyqt3/Portfile 2006-10-31 21:53:38 UTC (rev 20263)
@@ -3,6 +3,7 @@
PortSystem 1.0
name py-pyqt3
version 3.16
+revision 1
platforms macosx
categories python devel
maintainers darwinports at opendarwin.org
@@ -15,7 +16,9 @@
master_sites http://www.riverbankcomputing.com/Downloads/PyQt3/GPL/
distname PyQt-mac-gpl-${version}
-checksums md5 46deec16bad11e3f216b19fd5e3d1f9b
+checksums md5 46deec16bad11e3f216b19fd5e3d1f9b \
+ sha1 cae4a74fe2ee23a427a94e9ec3ab17d8f56018a7 \
+ rmd160 8bd8c70bf3737988ed0570de140a48b66ce0ec22
depends_lib port:py-sip \
port:qt3-mac
@@ -33,7 +36,11 @@
configure.cmd "echo yes | ${prefix}/bin/python configure.py \
-g ${prefix}/include/qt3 -q ${prefix} -y qt-mt"
configure.pre_args
+configure.post_args LFLAGS="-F${prefix}/Library/Frameworks -L${prefix}/lib"
+test.run yes
+test.cmd cd qt && ${prefix}/bin/python2.4 -c 'import qt'
+
post-destroot {
xinstall -m 755 -d ${destroot}/${prefix}/share/doc
file copy ${worksrcpath}/doc ${destroot}/${prefix}/share/doc/${name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061031/b26a2cbf/attachment.html
More information about the macports-changes
mailing list