[107434] trunk/dports/python
jmr at macports.org
jmr at macports.org
Sat Jun 29 01:06:06 PDT 2013
Revision: 107434
https://trac.macports.org/changeset/107434
Author: jmr at macports.org
Date: 2013-06-29 01:06:06 -0700 (Sat, 29 Jun 2013)
Log Message:
-----------
py*-couchdbkit: unify (partly resolves #38898)
Modified Paths:
--------------
trunk/dports/python/py-couchdbkit/Portfile
Added Paths:
-----------
trunk/dports/python/py-couchdbkit/
Removed Paths:
-------------
trunk/dports/python/py25-couchdbkit/
trunk/dports/python/py26-couchdbkit/
Modified: trunk/dports/python/py-couchdbkit/Portfile
===================================================================
--- 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]+)?)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130629/0570199d/attachment.html>
More information about the macports-changes
mailing list