Modified: trunk/dports/python/py-cherrypy3/Portfile (96082 => 96083)
--- 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.]+)/}