[63629] trunk/dports/python/py26-sqlite/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed Feb 10 13:13:43 PST 2010
Revision: 63629
http://trac.macports.org/changeset/63629
Author: ryandesign at macports.org
Date: 2010-02-10 13:13:42 -0800 (Wed, 10 Feb 2010)
Log Message:
-----------
py26-sqlite: simplify and future-proof by using macosx_deployment_target instead of coding each version of Mac OS X separately
Modified Paths:
--------------
trunk/dports/python/py26-sqlite/Portfile
Modified: trunk/dports/python/py26-sqlite/Portfile
===================================================================
--- trunk/dports/python/py26-sqlite/Portfile 2010-02-10 20:38:12 UTC (rev 63628)
+++ trunk/dports/python/py26-sqlite/Portfile 2010-02-10 21:13:42 UTC (rev 63629)
@@ -24,15 +24,6 @@
patchfiles patch-setup.py
-if { ${os.major} == 10} {
- set os.my_version 10.6
-}
-if { ${os.major} == 9} {
- set os.my_version 10.5
-}
-if { ${os.major} == 8} {
- set os.my_version 10.4
-}
-test.dir "${worksrcpath}/build/lib.macosx-${os.my_version}-${os.arch}-${python.branch}"
+test.dir "${worksrcpath}/build/lib.macosx-${macosx_deployment_target}-${os.arch}-${python.branch}"
test.run yes
test.cmd ${python.bin} -c "'from pysqlite2.test import test; test()'"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100210/57908431/attachment.html>
More information about the macports-changes
mailing list