[98326] trunk/dports/python/py-fpconst/Portfile
blair at macports.org
blair at macports.org
Tue Oct 2 18:16:55 PDT 2012
Revision: 98326
http://trac.macports.org//changeset/98326
Author: blair at macports.org
Date: 2012-10-02 18:16:55 -0700 (Tue, 02 Oct 2012)
Log Message:
-----------
py-fpconst: move from a Python 2.4 only to a Python 2.x port.
Modified Paths:
--------------
trunk/dports/python/py-fpconst/Portfile
Modified: trunk/dports/python/py-fpconst/Portfile
===================================================================
--- trunk/dports/python/py-fpconst/Portfile 2012-10-03 01:10:07 UTC (rev 98325)
+++ trunk/dports/python/py-fpconst/Portfile 2012-10-03 01:16:55 UTC (rev 98326)
@@ -1,11 +1,11 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-fpconst
version 0.7.2
-revision 1
+revision 2
license Apache-2
platforms darwin freebsd
supported_archs noarch
@@ -25,11 +25,15 @@
dist_subdir ${name}/${version}
checksums md5 10ba9e04129af23108d24c22c3a698b1
-post-destroot {
- xinstall -m 644 -W ${worksrcpath} README \
- ${destroot}${prefix}/share/doc/${name}
+python.versions 24 25 26 27
+
+if {$subport != $name} {
+ post-destroot {
+ xinstall -m 644 -W ${worksrcpath} README \
+ ${destroot}${prefix}/share/doc/${subport}
+ }
+} else {
+ livecheck.type regex
+ livecheck.url http://cheeseshop.python.org/pypi/fpconst/
+ livecheck.regex fpconst-(\[0-9\.\]+).tar.gz
}
-
-livecheck.type regex
-livecheck.url http://cheeseshop.python.org/pypi/fpconst/
-livecheck.regex fpconst-(\[0-9\.\]+).tar.gz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121002/7a5f6727/attachment.html>
More information about the macports-changes
mailing list