[101751] trunk/dports/python
macsforever2000 at macports.org
macsforever2000 at macports.org
Fri Jan 18 09:38:17 PST 2013
Revision: 101751
https://trac.macports.org/changeset/101751
Author: macsforever2000 at macports.org
Date: 2013-01-18 09:38:17 -0800 (Fri, 18 Jan 2013)
Log Message:
-----------
py-fipy: Use unified python portgroup. Add python 2.7 version. Update to version 3.0.
Modified Paths:
--------------
trunk/dports/python/py-fipy/Portfile
Added Paths:
-----------
trunk/dports/python/py-fipy/
Removed Paths:
-------------
trunk/dports/python/py25-fipy/
trunk/dports/python/py26-fipy/
Modified: trunk/dports/python/py-fipy/Portfile
===================================================================
--- trunk/dports/python/py26-fipy/Portfile 2013-01-17 21:38:40 UTC (rev 101708)
+++ trunk/dports/python/py-fipy/Portfile 2013-01-18 17:38:17 UTC (rev 101751)
@@ -2,15 +2,14 @@
# $Id$
PortSystem 1.0
-PortGroup python26 1.0
+PortGroup python 1.0
-name py26-fipy
-version 2.1.2
-set release 17
-set file 53
+name py-fipy
+version 3.0
categories-append math
platforms darwin
maintainers vcn.com:jjstickel openmaintainer
+license public-domain
description FiPy: A Finite Volume PDE Solver Using Python
long_description FiPy is an object oriented, partial differential \
@@ -19,19 +18,29 @@
for viewing.
homepage http://www.ctcms.nist.gov/fipy/
-master_sites http://matforge.org/fipy/downloader/download/release/${release}/file/${file}
+master_sites http://www.ctcms.nist.gov/fipy/download/
distname FiPy-${version}
-checksums md5 d01b97bdd124d6ece2d68e439c303a29 \
- sha1 0f1b33aade066c6b53fd5840ca642b95ecb0cd25 \
- rmd160 86a921340583f9abfab93e8e83f6357ef6d4ef34
+checksums rmd160 2de773de3b7118767f8da5bb340bee0ad8f60f5a \
+ sha256 163a22e3f32300ab0823e9b612b6b6861b2d8aca0db61f74b39f2e8fb2e3b62f
-depends_lib port:py26-numpy \
- port:py26-matplotlib \
- port:py26-pysparse \
- port:py26-scipy \
- port:py26-ipython \
- port:gmsh
+python.versions 25 26 27
-# py26-scipy is not universal
-universal_variant no
+if {$subport != $name} {
+ depends_lib-append port:py${python.version}-numpy \
+ port:py${python.version}-matplotlib \
+ port:py${python.version}-pysparse \
+ port:py${python.version}-scipy \
+ port:py${python.version}-ipython \
+ port:gmsh
+
+ # py-scipy is not universal
+ universal_variant no
+
+ post-destroot {
+ # Fix permissions problems on these files
+ xinstall -m 0644 -W ${worksrcpath}/FiPy.egg-info PKG-INFO SOURCES.txt dependency_links.txt entry_points.txt top_level.txt \
+ ${destroot}${python.pkgd}/FiPy-${version}-py${python.branch}.egg-info
+ }
+
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130118/3ba114cc/attachment.html>
More information about the macports-changes
mailing list