Revision: 100778 https://trac.macports.org/changeset/100778 Author: jmr@macports.org Date: 2012-12-23 23:25:21 -0800 (Sun, 23 Dec 2012) Log Message: ----------- py-turbogears: unify, license, noarch Modified Paths: -------------- trunk/dports/python/py-turbogears/Portfile Removed Paths: ------------- trunk/dports/python/py25-turbogears/ Modified: trunk/dports/python/py-turbogears/Portfile =================================================================== --- trunk/dports/python/py-turbogears/Portfile 2012-12-24 07:11:36 UTC (rev 100777) +++ trunk/dports/python/py-turbogears/Portfile 2012-12-24 07:25:21 UTC (rev 100778) @@ -2,10 +2,11 @@ # $Id$ PortSystem 1.0 -PortGroup python24 1.0 +PortGroup python 1.0 name py-turbogears version 1.0.4.4 +license MIT maintainers akitada openmaintainer description front-to-back rapid web development long_description TurboGears brings together four major pieces to \ @@ -31,25 +32,31 @@ hesitate to send your questions there, we will try \ to help you find out a solution to your problem. platforms darwin +supported_archs noarch homepage http://www.turbogears.org/ master_sites http://pypi.python.org/packages/source/T/TurboGears/ distname TurboGears-${version} checksums md5 a03a66fcf7d687fd7bd4205a01fd21dd \ sha1 7788fb655e3c276cfdd70bd0111989f4d4d140fa \ rmd160 ae54857e82961345a69c5eda8fe23543a2639e41 -depends_lib port:py24-cherrypy \ - port:py-configobj \ - port:py24-decoratortools \ - port:py24-formencode \ - port:py24-pastescript \ - port:py24-ruledispatch \ - port:py24-distribute \ - port:py24-simplejson \ - port:py-turbocheetah \ - port:py-turbojson \ - port:py-turbokid -post-destroot { - xinstall -m 644 -W ${worksrcpath} \ - CHANGELOG.txt CONTRIBUTORS.txt LICENSE.txt README.txt \ - ${destroot}${prefix}/share/doc/${name} + +python.versions 24 25 + +if {$subport != $name} { + depends_lib port:py${python.version}-cherrypy \ + port:py${python.version}-configobj \ + port:py${python.version}-decoratortools \ + port:py${python.version}-formencode \ + port:py${python.version}-pastescript \ + port:py${python.version}-ruledispatch \ + port:py${python.version}-distribute \ + port:py${python.version}-simplejson \ + port:py${python.version}-turbocheetah \ + port:py${python.version}-turbojson \ + port:py${python.version}-turbokid + post-destroot { + xinstall -m 644 -W ${worksrcpath} \ + CHANGELOG.txt CONTRIBUTORS.txt LICENSE.txt README.txt \ + ${destroot}${prefix}/share/doc/${subport} + } }
participants (1)
-
jmr@macports.org