[125357] trunk/dports/python
jmr at macports.org
jmr at macports.org
Sun Sep 14 10:42:25 PDT 2014
Revision: 125357
https://trac.macports.org/changeset/125357
Author: jmr at macports.org
Date: 2014-09-14 10:42:25 -0700 (Sun, 14 Sep 2014)
Log Message:
-----------
py26-pymca: use unified python portgroup
Modified Paths:
--------------
trunk/dports/python/py-pymca/Portfile
Added Paths:
-----------
trunk/dports/python/py-pymca/
Removed Paths:
-------------
trunk/dports/python/py26-pymca/
Modified: trunk/dports/python/py-pymca/Portfile
===================================================================
--- trunk/dports/python/py26-pymca/Portfile 2014-09-14 16:23:49 UTC (rev 125350)
+++ trunk/dports/python/py-pymca/Portfile 2014-09-14 17:42:25 UTC (rev 125357)
@@ -2,13 +2,12 @@
# $Id$
PortSystem 1.0
-PortGroup python26 1.0
+PortGroup python 1.0
-name py26-pymca
+name py-pymca
version 4.4.1p1
revision 0
platforms darwin
-categories python
maintainers me.com:Tom.Schoonjans
description Mapping and X-Ray Fluorescence Analysis
@@ -25,18 +24,22 @@
sha1 c0d08e0e2904c1db1bb23ba828c977c1b8b8b295 \
rmd160 9d24861f5c95b8721858ffa0e5bca107b9c3f97c
-build.cmd-delete --no-user-cfg
-build.env-append SPECFILE_USE_GNU_SOURCE=1
-build.cmd echo yes | ${python.bin} setup.py
-worksrcdir PyMca${version}
+python.versions 26
-destroot.cmd echo yes | ${python.bin} setup.py
-destroot.post_args --install-scripts ${destroot}${prefix}/bin
+if {$subport ne $name} {
+ build.cmd-delete --no-user-cfg
+ build.env-append SPECFILE_USE_GNU_SOURCE=1
+ build.cmd echo yes | ${python.bin} setup.py
+ worksrcdir PyMca${version}
-depends_lib-append port:py26-numpy port:py26-pyqwt port:py26-mdp-toolkit \
- port:py26-opengl port:py26-matplotlib port:py26-h5py
+ destroot.cmd echo yes | ${python.bin} setup.py
+ destroot.post_args --install-scripts ${destroot}${prefix}/bin
-post-destroot {
- system "chmod -R a+r ${destroot}${prefix}"
+ depends_lib-append port:py${python.version}-numpy port:py${python.version}-pyqwt port:py${python.version}-mdp-toolkit \
+ port:py${python.version}-opengl port:py${python.version}-matplotlib port:py${python.version}-h5py
+
+ post-destroot {
+ system "chmod -R a+r ${destroot}${prefix}"
+ }
+ universal_variant no
}
-universal_variant no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140914/a4d4e0a4/attachment.html>
More information about the macports-changes
mailing list