[125670] trunk/dports/python

jmr at macports.org jmr at macports.org
Tue Sep 23 18:33:04 PDT 2014


Revision: 125670
          https://trac.macports.org/changeset/125670
Author:   jmr at macports.org
Date:     2014-09-23 18:33:04 -0700 (Tue, 23 Sep 2014)
Log Message:
-----------
py26-repoze.what-quickstart: use unified python portgroup, mark noarch

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

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

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

Modified: trunk/dports/python/py-repoze.what-quickstart/Portfile
===================================================================
--- trunk/dports/python/py26-repoze.what-quickstart/Portfile	2014-09-23 22:00:26 UTC (rev 125669)
+++ trunk/dports/python/py-repoze.what-quickstart/Portfile	2014-09-24 01:33:04 UTC (rev 125670)
@@ -1,12 +1,13 @@
 # $Id$
 
 PortSystem              1.0
-PortGroup               python26 1.0
+PortGroup               python 1.0
 
-name                    py26-repoze.what-quickstart
+name                    py-repoze.what-quickstart
 version                 1.0.8
 maintainers             nomaintainer
 platforms               darwin
+supported_archs         noarch
 
 description             This plugin allows you to take advantage of a rather \
                         simple, and usual, authentication and authorization \
@@ -15,21 +16,26 @@
                         a SQLAlchemy or Elixir-managed database.
 long_description        ${description}
 license                 BSD
-homepage                http://pypi.python.org/pypi/repoze.what-quickstart/
+homepage                https://pypi.python.org/pypi/repoze.what-quickstart/
 
-livecheck.regex         {>repoze\.what-quickstart (.+) :}
-livecheck.type          regex
-livecheck.url           ${homepage}
+distname                repoze.what-quickstart-${version}
+master_sites            https://pypi.python.org/packages/source/r/repoze.what-quickstart/
 
-depends_build-append    port:py26-setuptools
-depends_lib-append \
-    port:py26-repoze.what \
-    port:py26-repoze.what.plugins.sql \
-    port:py26-repoze.who \
-    port:py26-repoze.who-friendlyform \
-    port:py26-repoze.who.plugins.sa
+checksums               rmd160 6dcca16f7abc26a59ca8f1e698ae7b2f46d392b6
 
-distname                repoze.what-quickstart-${version}
-master_sites            http://pypi.python.org/packages/source/r/repoze.what-quickstart/
+python.versions         26
 
-checksums               rmd160 6dcca16f7abc26a59ca8f1e698ae7b2f46d392b6
+if {$subport ne $name} {
+    depends_build-append    port:py${python.version}-setuptools
+    depends_lib-append \
+        port:py${python.version}-repoze.what \
+        port:py${python.version}-repoze.what.plugins.sql \
+        port:py${python.version}-repoze.who \
+        port:py${python.version}-repoze.who-friendlyform \
+        port:py${python.version}-repoze.who.plugins.sa
+    livecheck.type          none
+} else {
+    livecheck.regex         {>repoze\.what-quickstart (.+) :}
+    livecheck.type          regex
+    livecheck.url           ${homepage}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140923/0e3242ea/attachment.html>


More information about the macports-changes mailing list