[87994] trunk/dports/python

stromnov at macports.org stromnov at macports.org
Thu Dec 15 04:07:23 PST 2011


Revision: 87994
          http://trac.macports.org/changeset/87994
Author:   stromnov at macports.org
Date:     2011-12-15 04:07:23 -0800 (Thu, 15 Dec 2011)
Log Message:
-----------
py2*-kyotocabinet: unify

Modified Paths:
--------------
    trunk/dports/python/py-kyotocabinet/Portfile

Added Paths:
-----------
    trunk/dports/python/py-kyotocabinet/

Removed Paths:
-------------
    trunk/dports/python/py26-kyotocabinet/
    trunk/dports/python/py27-kyotocabinet/

Modified: trunk/dports/python/py-kyotocabinet/Portfile
===================================================================
--- trunk/dports/python/py27-kyotocabinet/Portfile	2011-12-15 11:09:35 UTC (rev 87990)
+++ trunk/dports/python/py-kyotocabinet/Portfile	2011-12-15 12:07:23 UTC (rev 87994)
@@ -2,15 +2,17 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python27 1.0
+PortGroup           python 1.0
 
-name                py27-kyotocabinet
+name                py-kyotocabinet
 version             1.16
-revision            0
+revision            1
 categories-append   databases
-maintainers         stromnov openmaintainer
+license             GPL
 platforms           darwin
 
+maintainers         stromnov openmaintainer
+
 description         Python 2.x Binding of Kyoto Cabinet
 long_description    ${description}
 
@@ -23,9 +25,14 @@
                     sha1    6c94f11fbe156fd8965cb31c1158dae5c2e36c37 \
                     rmd160  188cb69ecfdf98cd72b434c19a81031c1ac63fae
 
-depends_lib-append  port:kyotocabinet \
-                    port:zlib
+python.default_version  27
+python.versions     26 27
 
+if {$subport != $name} {
+    depends_lib-append  port:kyotocabinet \
+                        port:zlib
+}
+
 livecheck.type      regex
 livecheck.url       ${master_sites}
 livecheck.regex     "kyotocabinet-python-legacy-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111215/2ad862d1/attachment.html>


More information about the macports-changes mailing list