[125407] trunk/dports/python

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


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

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

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

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

Modified: trunk/dports/python/py-repoze.what-pylons/Portfile
===================================================================
--- trunk/dports/python/py26-repoze.what-pylons/Portfile	2014-09-15 12:59:18 UTC (rev 125376)
+++ trunk/dports/python/py-repoze.what-pylons/Portfile	2014-09-17 00:03:31 UTC (rev 125407)
@@ -1,31 +1,37 @@
 # $Id$
 
 PortSystem              1.0
-PortGroup               python26 1.0
+PortGroup               python 1.0
 
-name                    py26-repoze.what-pylons
+name                    py-repoze.what-pylons
 version                 1.0
 maintainers             nomaintainer
 platforms               darwin
+supported_archs         noarch
 
 description             This is an extras plugin for repoze.what which \
                         provides optional and handy utilities for Pylons \
                         applications using this authorization framework.
 long_description        ${description}
 license                 BSD
-homepage                http://pypi.python.org/pypi/repoze.what-pylons/
+homepage                https://pypi.python.org/pypi/repoze.what-pylons/
 
-livecheck.regex         {>repoze\.what-pylons (.+) :}
-livecheck.type          regex
-livecheck.url           ${homepage}
+distname                repoze.what-pylons-${version}
+master_sites            https://pypi.python.org/packages/source/r/repoze.what-pylons/
 
-depends_build-append    port:py26-setuptools
-depends_lib-append \
-    port:py26-decorator \
-    port:py26-pylons \
-    port:py26-repoze.what
+checksums               rmd160 33ccbb4b9208b543d28de40ebc0f0cd0533208ed
 
-distname                repoze.what-pylons-${version}
-master_sites            http://pypi.python.org/packages/source/r/repoze.what-pylons/
+python.versions         26
 
-checksums               rmd160 33ccbb4b9208b543d28de40ebc0f0cd0533208ed
+if {$subport ne $name} {
+    depends_build-append    port:py${python.version}-setuptools
+    depends_lib-append \
+        port:py${python.version}-decorator \
+        port:py${python.version}-pylons \
+        port:py${python.version}-repoze.what
+    livecheck.type          none
+} else {
+    livecheck.regex         {>repoze\.what-pylons (.+) :}
+    livecheck.type          regex
+    livecheck.url           ${homepage}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140916/89f7a493/attachment.html>


More information about the macports-changes mailing list