[20262] trunk/dports/python/py-sip/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Tue Oct 31 13:48:16 PST 2006
Revision: 20262
http://trac.macosforge.org/projects/macports/changeset/20262
Author: blair at macports.org
Date: 2006-10-31 13:48:16 -0800 (Tue, 31 Oct 2006)
Log Message:
-----------
Closes #10953:
* Fix a build problem where the sip.so will link against the system's
Python framework at version 2.3.
* Add a simple test to try to import the sip module.
Modified Paths:
--------------
trunk/dports/python/py-sip/Portfile
Modified: trunk/dports/python/py-sip/Portfile
===================================================================
--- trunk/dports/python/py-sip/Portfile 2006-10-31 21:46:06 UTC (rev 20261)
+++ trunk/dports/python/py-sip/Portfile 2006-10-31 21:48:16 UTC (rev 20262)
@@ -4,6 +4,7 @@
name py-sip
version 4.4.5
+revision 1
categories python devel
maintainers mww at opendarwin.org
description create Python bindings for C and C++ libraries
@@ -20,7 +21,9 @@
http://www.gtlib.gatech.edu/pub/gentoo/distfiles/
distname sip-${version}
-checksums md5 ba334c4412cee1dbc6c56ff9a58e7bb0
+checksums md5 ba334c4412cee1dbc6c56ff9a58e7bb0 \
+ sha1 54a77fa84806636239834d88b6f9c216b74d6c05 \
+ rmd160 c74640a9d64da539afb6e58575ff1304415830a0
dist_subdir python
depends_lib port:python24
@@ -32,8 +35,11 @@
-e ${prefix}/include/python2.4 \
-v ${prefix}/share/sip \
-p macx-g++
-configure.post_args LFLAGS=-L${prefix}/lib
+configure.post_args LFLAGS="-F${prefix}/Library/Frameworks -L${prefix}/lib"
+test.run yes
+test.cmd cd siplib && ${prefix}/bin/python2.4 -c 'import sip'
+
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/40d51b39/attachment.html
More information about the macports-changes
mailing list