[106887] trunk/dports/python
jmr at macports.org
jmr at macports.org
Mon Jun 10 03:07:32 PDT 2013
Revision: 106887
https://trac.macports.org/changeset/106887
Author: jmr at macports.org
Date: 2013-06-10 03:07:32 -0700 (Mon, 10 Jun 2013)
Log Message:
-----------
py*-mpmath: unify
Modified Paths:
--------------
trunk/dports/python/py-mpmath/Portfile
Added Paths:
-----------
trunk/dports/python/py-mpmath/
Removed Paths:
-------------
trunk/dports/python/py25-mpmath/
trunk/dports/python/py26-mpmath/
trunk/dports/python/py27-mpmath/
Modified: trunk/dports/python/py-mpmath/Portfile
===================================================================
--- trunk/dports/python/py27-mpmath/Portfile 2013-06-10 02:01:43 UTC (rev 106886)
+++ trunk/dports/python/py-mpmath/Portfile 2013-06-10 10:07:32 UTC (rev 106887)
@@ -1,8 +1,9 @@
# $Id$
PortSystem 1.0
-PortGroup python27 1.0
-name py27-mpmath
+PortGroup python 1.0
+
+name py-mpmath
version 0.17
revision 1
categories-append math
@@ -24,8 +25,12 @@
sha1 c5bd806308c96d1d93a6b437995a09e5ab0e9331 \
rmd160 bfdbab090820cc7e28a9f3cff9ed8dcd24eacaff
-post-destroot {
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath} CHANGES LICENSE README \
- ${destroot}${prefix}/share/doc/${name}
+python.versions 25 26 27
+
+if {$subport != $name} {
+ post-destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
+ xinstall -m 644 -W ${worksrcpath} CHANGES LICENSE README \
+ ${destroot}${prefix}/share/doc/${subport}
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130610/0aa2e446/attachment.html>
More information about the macports-changes
mailing list