[107762] trunk/dports/python/py-polygon/Portfile
jmr at macports.org
jmr at macports.org
Fri Jul 5 03:10:23 PDT 2013
Revision: 107762
https://trac.macports.org/changeset/107762
Author: jmr at macports.org
Date: 2013-07-05 03:10:23 -0700 (Fri, 05 Jul 2013)
Log Message:
-----------
py-polygon: fix parse failure
Modified Paths:
--------------
trunk/dports/python/py-polygon/Portfile
Modified: trunk/dports/python/py-polygon/Portfile
===================================================================
--- trunk/dports/python/py-polygon/Portfile 2013-07-05 10:09:43 UTC (rev 107761)
+++ trunk/dports/python/py-polygon/Portfile 2013-07-05 10:10:23 UTC (rev 107762)
@@ -33,16 +33,16 @@
checksums rmd160 2bfe1173445e1b41f97a945b9a7df2282879e86f \
sha256 dea5b66870a9fd3031290f54f72d823c33bb8b8c21bec97c510d04df2608c637
-if {[string range ${python.version} 0 end-1] < 3} {
- version 2.0.6
- revision 0
- master_sites http://bitbucket.org/jraedler/polygon2/downloads
- distname Polygon2-${version}
- checksums rmd160 ee32123e4856bccc4137a06c21ea2e3135ef053b \
- sha256 3e0e1a5125e892faa5964523de28c0349b573ed102547e12a1affc3fed2cac3b
-}
+if {$subport != $name} {
+ if {${python.version} < 30} {
+ version 2.0.6
+ revision 0
+ master_sites http://bitbucket.org/jraedler/polygon2/downloads
+ distname Polygon2-${version}
+ checksums rmd160 ee32123e4856bccc4137a06c21ea2e3135ef053b \
+ sha256 3e0e1a5125e892faa5964523de28c0349b573ed102547e12a1affc3fed2cac3b
+ }
-if {$subport != $name} {
use_zip yes
patchfiles-append patch-setup.py.diff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130705/7c1398e6/attachment.html>
More information about the macports-changes
mailing list