[112256] trunk/dports/python/py-scipy/Portfile
sean at macports.org
sean at macports.org
Tue Oct 15 20:56:34 PDT 2013
Revision: 112256
https://trac.macports.org/changeset/112256
Author: sean at macports.org
Date: 2013-10-15 20:56:34 -0700 (Tue, 15 Oct 2013)
Log Message:
-----------
py2{4,5}-scipy: consolidate subport logic
Modified Paths:
--------------
trunk/dports/python/py-scipy/Portfile
Modified: trunk/dports/python/py-scipy/Portfile
===================================================================
--- trunk/dports/python/py-scipy/Portfile 2013-10-16 03:56:26 UTC (rev 112255)
+++ trunk/dports/python/py-scipy/Portfile 2013-10-16 03:56:34 UTC (rev 112256)
@@ -30,27 +30,18 @@
python.add_archflags no
universal_variant no
-subport py24-scipy {
- # scipy dropped support for Python 2.4 at version 0.12.0
- version 0.11.0
- revision 2
- master_sites sourceforge:project/scipy/scipy/${version}/
- distname scipy-${version}
- checksums rmd160 68c0d13088d898e96c3a7ea4e77f8fc9b49e6c78 \
- sha256 b2b74d56a2d58a4f032f91e8b91b1c2272d5eb0b5010082dd1e492e452f862ee
-}
+if {$subport ne $name} {
-subport py25-scipy {
- # scipy dropped support for Python 2.5 at version 0.12.0
- version 0.11.0
- revision 2
- master_sites sourceforge:project/scipy/scipy/${version}/
- distname scipy-${version}
- checksums rmd160 68c0d13088d898e96c3a7ea4e77f8fc9b49e6c78 \
- sha256 b2b74d56a2d58a4f032f91e8b91b1c2272d5eb0b5010082dd1e492e452f862ee
-}
+ if {${python.version} < 26} {
+ # scipy dropped support for Python 2.4 and 2.5 at version 0.12.0
+ version 0.11.0
+ revision 2
+ master_sites sourceforge:project/scipy/scipy/${version}/
+ distname scipy-${version}
+ checksums rmd160 68c0d13088d898e96c3a7ea4e77f8fc9b49e6c78 \
+ sha256 b2b74d56a2d58a4f032f91e8b91b1c2272d5eb0b5010082dd1e492e452f862ee
+ }
-if {$subport != $name} {
depends_lib-append port:py${python.version}-numpy \
port:py${python.version}-nose \
port:SuiteSparse \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131015/1ca640f2/attachment.html>
More information about the macports-changes
mailing list