Revision: 96082 https://trac.macports.org/changeset/96082 Author: jmr@macports.org Date: 2012-07-31 05:04:15 -0700 (Tue, 31 Jul 2012) Log Message: ----------- py*-cherrypy: unify, add py27 Modified Paths: -------------- trunk/dports/python/py-cherrypy/Portfile Removed Paths: ------------- trunk/dports/python/py25-cherrypy/ trunk/dports/python/py26-cherrypy/ Modified: trunk/dports/python/py-cherrypy/Portfile =================================================================== --- trunk/dports/python/py-cherrypy/Portfile 2012-07-31 11:42:27 UTC (rev 96081) +++ trunk/dports/python/py-cherrypy/Portfile 2012-07-31 12:04:15 UTC (rev 96082) @@ -2,14 +2,13 @@ # $Id$ PortSystem 1.0 -PortGroup python24 1.0 +PortGroup python 1.0 name py-cherrypy -conflicts py-cherrypy3 version 2.3.0 revision 1 categories python www -maintainers akitada openmaintainer +maintainers akitada gmail.com:freespace openmaintainer supported_archs noarch description Object-Oriented HTTP framework @@ -26,10 +25,16 @@ checksums md5 80ce0f666f2899d4e681432e4061db16 \ sha1 067121c5f31442519ac07138ffe8af6f7c7465d2 \ rmd160 4c95735b17d58c431f1dbf685500d2a1ca8e38d8 -post-destroot { - xinstall -m 644 -W ${worksrcpath} \ - CHANGELOG.txt CHERRYPYTEAM.txt README.txt \ - ${destroot}${prefix}/share/doc/${name} - move ${destroot}${python.pkgd}/cherrypy/tutorial \ - ${destroot}${prefix}/share/doc/${name} + +python.versions 24 25 26 27 + +if {$subport != $name} { + conflicts py${python.version}-cherrypy3 + post-destroot { + xinstall -m 644 -W ${worksrcpath} \ + CHANGELOG.txt CHERRYPYTEAM.txt README.txt \ + ${destroot}${prefix}/share/doc/${subport} + move ${destroot}${python.pkgd}/cherrypy/tutorial \ + ${destroot}${prefix}/share/doc/${subport} + } }