Modified: trunk/dports/python/py-couchdbkit/Portfile (107430 => 107434)
--- trunk/dports/python/py26-couchdbkit/Portfile 2013-06-28 22:38:07 UTC (rev 107430)
+++ trunk/dports/python/py-couchdbkit/Portfile 2013-06-29 08:06:06 UTC (rev 107434)
@@ -1,9 +1,9 @@
# $Id$
PortSystem 1.0
-PortGroup python26 1.0
+PortGroup python 1.0
-name py26-couchdbkit
+name py-couchdbkit
version 0.2.1
categories python www
platforms darwin
@@ -17,19 +17,24 @@
convenience. Server and databases objects could be used \
for example as easy as using a dict.
-master_sites http://pypi.python.org/packages/source/c/couchdbkit
+master_sites https://pypi.python.org/packages/source/c/couchdbkit
distname couchdbkit-${version}
checksums md5 76f5a90bfc7b91f65079e76edcd54c5b \
sha1 df1ef7a0836d4f4988e36bd268bb32c6acd38c0e \
rmd160 bc80ddb3eb02c16b9b9cc5c8b810d61616f4d382
-depends_build port:py26-setuptools
-depends_lib-append port:py26-anyjson
+python.versions 25 26
-post-destroot {
- delete ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/tests
+if {$subport ne $name} {
+ depends_build port:py${python.version}-setuptools
+ depends_lib-append port:py${python.version}-anyjson
+
+ post-destroot {
+ delete ${destroot}${python.pkgd}/tests
+ }
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.url https://pypi.python.org/pypi/couchdbkit
+ livecheck.regex {couchdbkit ([0-9]+\.[0-9]+(?:\.[0-9]+)?)}
}
-
-livecheck.type regex
-livecheck.url http://pypi.python.org/pypi/couchdbkit
-livecheck.regex {couchdbkit ([0-9]+\.[0-9]+(?:\.[0-9]+)?)}