[107114] trunk/dports/python

jmr at macports.org jmr at macports.org
Tue Jun 18 12:09:02 PDT 2013


Revision: 107114
          https://trac.macports.org/changeset/107114
Author:   jmr at macports.org
Date:     2013-06-18 12:09:01 -0700 (Tue, 18 Jun 2013)
Log Message:
-----------
py26-repoze.who: use unified portgroup, mark noarch

Modified Paths:
--------------
    trunk/dports/python/py-repoze.who/Portfile

Added Paths:
-----------
    trunk/dports/python/py-repoze.who/

Removed Paths:
-------------
    trunk/dports/python/py26-repoze.who/

Modified: trunk/dports/python/py-repoze.who/Portfile
===================================================================
--- trunk/dports/python/py26-repoze.who/Portfile	2013-06-18 18:05:54 UTC (rev 107107)
+++ trunk/dports/python/py-repoze.who/Portfile	2013-06-18 19:09:01 UTC (rev 107114)
@@ -1,13 +1,14 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
+PortGroup           python 1.0
 
-name                py26-repoze.who
+name                py-repoze.who
 version             1.0.18
 epoch               1
 maintainers         perry openmaintainer
 platforms           darwin
+supported_archs     noarch
 
 description         repoze.who is an identification and authentication \
                     framework for WSGI.
@@ -15,16 +16,21 @@
 license             BSD
 homepage            http://pypi.python.org/pypi/repoze.who/
 
-livecheck.regex     {repoze.who/(.+)"}
-livecheck.type      regex
-livecheck.url       ${homepage}
-
-depends_lib-append \
-    port:py26-setuptools \
-    port:py26-paste \
-    port:py26-zopeinterface
-
 distname            repoze.who-${version}
 master_sites        http://pypi.python.org/packages/source/r/repoze.who/
 
 checksums           rmd160 cbf710cbe264b8380f6d4ff06b95d7dc1539831c
+
+python.versions     26
+
+if {$subport != $name} {
+    depends_lib-append \
+        port:py${python.version}-setuptools \
+        port:py${python.version}-paste \
+        port:py${python.version}-zopeinterface
+    livecheck.type      none
+} else {
+    livecheck.regex     {repoze.who/(.+)"}
+    livecheck.type      regex
+    livecheck.url       ${homepage}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130618/b4db37ef/attachment.html>


More information about the macports-changes mailing list