[82500] trunk/dports/python

blb at macports.org blb at macports.org
Sun Aug 14 19:31:24 PDT 2011


Revision: 82500
          http://trac.macports.org/changeset/82500
Author:   blb at macports.org
Date:     2011-08-14 19:31:21 -0700 (Sun, 14 Aug 2011)
Log Message:
-----------
py2*-keyczar: unify and add one for python 2.7

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

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

Removed Paths:
-------------
    trunk/dports/python/py25-keyczar/
    trunk/dports/python/py26-keyczar/

Modified: trunk/dports/python/py-keyczar/Portfile
===================================================================
--- trunk/dports/python/py26-keyczar/Portfile	2011-08-14 21:26:23 UTC (rev 82496)
+++ trunk/dports/python/py-keyczar/Portfile	2011-08-15 02:31:21 UTC (rev 82500)
@@ -1,9 +1,9 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
+PortGroup           python 1.0
 
-name                py26-keyczar
+name                py-keyczar
 version             0.6b
 revision            2
 categories-append   devel crypto
@@ -28,10 +28,17 @@
                     sha1    1cec05d46fc46f54c765d292a760d35ac0969484 \
                     rmd160  9180e43449f7be2f2fd5e48aa91b2f0d60d811c9
 
-depends_lib-append  port:py26-crypto port:py26-asn1 port:py26-simplejson
-
 patchfiles          patch-setup.py.diff
 
+python.default_version   27
+python.versions          25 26 27
+
+if {${name} != ${subport}} {
+   depends_lib         port:py${python.version}-crypto \
+                       port:py${python.version}-asn1 \
+                       port:py${python.version}-simplejson
+}
+
 livecheck.type      regex
 livecheck.url       http://code.google.com/p/keyczar/downloads/list
 livecheck.regex     {Keyczar ([a-z0-9.]+) Python}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110814/c247cae6/attachment-0001.html>


More information about the macports-changes mailing list