[125672] trunk/dports/python

jmr at macports.org jmr at macports.org
Tue Sep 23 18:43:12 PDT 2014


Revision: 125672
          https://trac.macports.org/changeset/125672
Author:   jmr at macports.org
Date:     2014-09-23 18:43:12 -0700 (Tue, 23 Sep 2014)
Log Message:
-----------
py26-repoze.who-friendlyform: use unified python portgroup, mark noarch

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

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

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

Modified: trunk/dports/python/py-repoze.who-friendlyform/Portfile
===================================================================
--- trunk/dports/python/py26-repoze.who-friendlyform/Portfile	2014-09-23 22:00:26 UTC (rev 125669)
+++ trunk/dports/python/py-repoze.who-friendlyform/Portfile	2014-09-24 01:43:12 UTC (rev 125672)
@@ -1,12 +1,13 @@
 # $Id$
 
 PortSystem              1.0
-PortGroup               python26 1.0
+PortGroup               python 1.0
 
-name                    py26-repoze.who-friendlyform
+name                    py-repoze.who-friendlyform
 version                 1.0.8
 maintainers             nomaintainer
 platforms               darwin
+supported_archs         noarch
 
 description             repoze.who-friendlyform is a repoze.who plugin which \
                         provides a collection of developer-friendly form \
@@ -14,19 +15,24 @@
                         collection has only one item.
 long_description        ${description}
 license                 BSD
-homepage                http://pypi.python.org/pypi/repoze.who-friendlyform/
+homepage                https://pypi.python.org/pypi/repoze.who-friendlyform/
 
-livecheck.regex         {>repoze\.who-friendlyform (.+) :}
-livecheck.type          regex
-livecheck.url           ${homepage}
+distname                repoze.who-friendlyform-${version}
+master_sites            https://pypi.python.org/packages/source/r/repoze.who-friendlyform/
 
-depends_build-append    port:py26-setuptools
-depends_lib-append \
-    port:py26-repoze.who \
-    port:py26-webob \
-    port:py26-zopeinterface
+checksums               rmd160 e0f4ac870271d306f66a3a870c484b2c5c3fcb4a
 
-distname                repoze.who-friendlyform-${version}
-master_sites            http://pypi.python.org/packages/source/r/repoze.who-friendlyform/
+python.versions         26
 
-checksums               rmd160 e0f4ac870271d306f66a3a870c484b2c5c3fcb4a
+if {$subport ne $name} {
+    depends_build-append    port:py${python.version}-setuptools
+    depends_lib-append \
+        port:py${python.version}-repoze.who \
+        port:py${python.version}-webob \
+        port:py${python.version}-zopeinterface
+    livecheck.type          none
+} else {
+    livecheck.regex         {>repoze\.who-friendlyform (.+) :}
+    livecheck.type          regex
+    livecheck.url           ${homepage}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140923/49c5e435/attachment-0001.html>


More information about the macports-changes mailing list