[96083] trunk/dports/python
jmr at macports.org
jmr at macports.org
Tue Jul 31 05:11:49 PDT 2012
Revision: 96083
https://trac.macports.org/changeset/96083
Author: jmr at macports.org
Date: 2012-07-31 05:11:47 -0700 (Tue, 31 Jul 2012)
Log Message:
-----------
py*-cherrypy3: unify, add py27 (#33427)
Modified Paths:
--------------
trunk/dports/python/py-cherrypy3/Portfile
Removed Paths:
-------------
trunk/dports/python/py25-cherrypy3/
trunk/dports/python/py26-cherrypy3/
Modified: trunk/dports/python/py-cherrypy3/Portfile
===================================================================
--- trunk/dports/python/py-cherrypy3/Portfile 2012-07-31 12:04:15 UTC (rev 96082)
+++ trunk/dports/python/py-cherrypy3/Portfile 2012-07-31 12:11:47 UTC (rev 96083)
@@ -2,10 +2,9 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-cherrypy3
-conflicts py-cherrypy
version 3.2.0
categories python www
maintainers akitada openmaintainer
@@ -27,10 +26,18 @@
checksums sha1 fd05b4f975f848dc5f5116b8f504b9bd31e93969 \
rmd160 8cb2fda2acfc2a9ae84025f541a8d2d8776474cd
-post-destroot {
- move ${destroot}${prefix}/bin/cherryd ${destroot}${prefix}/bin/cherryd-${python.branch}
+python.versions 24 25 26 27
+
+if {$subport != $name} {
+ conflicts py${python.version}-cherrypy
+ if {${python.version} <= 25} {
+ post-destroot {
+ move ${destroot}${prefix}/bin/cherryd ${destroot}${prefix}/bin/cherryd-${python.branch}
+ }
+ }
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.url ${homepage}wiki/CherryPyDownload
+ livecheck.regex {cherrypy/([0-9.]+)/}
}
-
-livecheck.type regex
-livecheck.url ${homepage}wiki/CherryPyDownload
-livecheck.regex {cherrypy/([0-9.]+)/}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120731/23a2e701/attachment.html>
More information about the macports-changes
mailing list