[87833] trunk/dports/python
adfernandes at macports.org
adfernandes at macports.org
Wed Dec 7 10:34:59 PST 2011
Revision: 87833
http://trac.macports.org/changeset/87833
Author: adfernandes at macports.org
Date: 2011-12-07 10:34:57 -0800 (Wed, 07 Dec 2011)
Log Message:
-----------
python/py-scientific: revbump to 2.9.1 and convert to subport system
Modified Paths:
--------------
trunk/dports/python/py-scientific/Portfile
Added Paths:
-----------
trunk/dports/python/py-scientific/
Removed Paths:
-------------
trunk/dports/python/py-scientific/
trunk/dports/python/py25-scientific/
trunk/dports/python/py26-scientific/
trunk/dports/python/py27-scientific/
Modified: trunk/dports/python/py-scientific/Portfile
===================================================================
--- trunk/dports/python/py27-scientific/Portfile 2011-12-07 15:20:29 UTC (rev 87829)
+++ trunk/dports/python/py-scientific/Portfile 2011-12-07 18:34:57 UTC (rev 87833)
@@ -2,36 +2,39 @@
# $Id$
PortSystem 1.0
-PortGroup python27 1.0
+PortGroup python 1.0
-name py27-scientific
-version 2.8
-revision 2
+name py-scientific
+version 2.9.1
categories python science
license CeCILL-C
platforms darwin
maintainers adfernandes openmaintainer
description Scientific Python
+python.versions 25 26 27
+python.default_version 27
+
long_description \
ScientificPython is a collection of Python modules that \
are useful for scientific computing.
homepage http://dirac.cnrs-orleans.fr/ScientificPython/
-master_sites http://sourcesup.cru.fr/frs/download.php/2309/
+master_sites https://sourcesup.cru.fr/frs/download.php/3420/
distname ScientificPython-${version}
-checksums md5 82d8592635d6ae8608b3073dacf9e694 \
- sha1 c0847eac6359d70b0e4687c5c65af49b3986e55b \
- rmd160 0501829586253fe3986458529c436b6d93e6667f
+checksums md5 f27bfb3abda022b73a93cd6ada06338f \
+ sha1 595f62133d6a013e4298e7c4e80e755ad971fe89 \
+ rmd160 d2c1822cd4ec0b42588f90fa2551d109f462f43b
-depends_lib port:netcdf \
- port:py27-numpy
+if {$subport != $name} {
+ depends_lib port:netcdf \
+ port:py${python.version}-numpy
+ build.env CPPFLAGS="-I${python.include} \
+ -I${worksrcpath}/Include" \
+ NETCDF_PREFIX=${prefix}
+}
-build.env CPPFLAGS="-I${python.include} \
- -I${worksrcpath}/Include" \
- NETCDF_PREFIX=${prefix}
-
platform macosx {
post-extract {
copy -force ${filespath}/customize.py-macosx ${worksrcpath}/customize.py
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111207/c673bb9e/attachment.html>
More information about the macports-changes
mailing list