[125406] trunk/dports/python

jmr at macports.org jmr at macports.org
Tue Sep 16 16:57:17 PDT 2014


Revision: 125406
          https://trac.macports.org/changeset/125406
Author:   jmr at macports.org
Date:     2014-09-16 16:57:17 -0700 (Tue, 16 Sep 2014)
Log Message:
-----------
py26-repoze.what: use unified python portgroup, mark noarch

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

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

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

Modified: trunk/dports/python/py-repoze.what/Portfile
===================================================================
--- trunk/dports/python/py26-repoze.what/Portfile	2014-09-15 12:59:18 UTC (rev 125376)
+++ trunk/dports/python/py-repoze.what/Portfile	2014-09-16 23:57:17 UTC (rev 125406)
@@ -1,31 +1,37 @@
 # $Id$
 
 PortSystem              1.0
-PortGroup               python26 1.0
+PortGroup               python 1.0
 
-name                    py26-repoze.what
+name                    py-repoze.what
 version                 1.0.9
 maintainers             nomaintainer
 platforms               darwin
+supported_archs         noarch
 
 description             repoze.what is an authorization framework for WSGI \
                         applications, based on repoze.who (which deals with \
                         authentication and identification).
 long_description        ${description}
 license                 BSD
-homepage                http://pypi.python.org/pypi/repoze.what/
+homepage                https://pypi.python.org/pypi/repoze.what/
 
-livecheck.regex         {repoze\.what\/(.+)">}
-livecheck.type          regex
-livecheck.url           ${homepage}
+distname                repoze.what-${version}
+master_sites            https://pypi.python.org/packages/source/r/repoze.what/
 
-depends_build-append    port:py26-setuptools
-depends_lib-append \
-    port:py26-paste \
-    port:py26-repoze.who \
-    port:py26-repoze.who-testutil
+checksums               rmd160 7e3a7b8e167fb4083c476f9c0fa73f8701206a3e
 
-distname                repoze.what-${version}
-master_sites            http://pypi.python.org/packages/source/r/repoze.what/
+python.versions         26
 
-checksums               rmd160 7e3a7b8e167fb4083c476f9c0fa73f8701206a3e
+if {$subport ne $name} {
+    depends_build-append    port:py${python.version}-setuptools
+    depends_lib-append \
+        port:py${python.version}-paste \
+        port:py${python.version}-repoze.who \
+        port:py${python.version}-repoze.who-testutil
+    livecheck.type          none
+} else {
+    livecheck.regex         {repoze\.what\/(.+)">}
+    livecheck.type          regex
+    livecheck.url           ${homepage}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140916/c1724257/attachment.html>


More information about the macports-changes mailing list