[125671] trunk/dports/python

jmr at macports.org jmr at macports.org
Tue Sep 23 18:38:08 PDT 2014


Revision: 125671
          https://trac.macports.org/changeset/125671
Author:   jmr at macports.org
Date:     2014-09-23 18:38:08 -0700 (Tue, 23 Sep 2014)
Log Message:
-----------
py26-repoze.what.plugins.sql: use unified python portgroup, mark noarch

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

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

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

Modified: trunk/dports/python/py-repoze.what.plugins.sql/Portfile
===================================================================
--- trunk/dports/python/py26-repoze.what.plugins.sql/Portfile	2014-09-23 22:00:26 UTC (rev 125669)
+++ trunk/dports/python/py-repoze.what.plugins.sql/Portfile	2014-09-24 01:38:08 UTC (rev 125671)
@@ -1,12 +1,13 @@
 # $Id$
 
 PortSystem              1.0
-PortGroup               python26 1.0
+PortGroup               python 1.0
 
-name                    py26-repoze.what.plugins.sql
+name                    py-repoze.what.plugins.sql
 version                 1.0.1
 maintainers             nomaintainer
 platforms               darwin
+supported_archs         noarch
 
 description             The SQL plugin makes repoze.what support sources \
                         defined in SQLAlchemy-managed databases by providing \
@@ -14,16 +15,21 @@
                         utility to configure both in one go.
 long_description        ${description}
 license                 BSD
-homepage                http://pypi.python.org/pypi/repoze.what.plugins.sql/
+homepage                https://pypi.python.org/pypi/repoze.what.plugins.sql/
 
-livecheck.regex         {>repoze\.what\.plugins\.sql (.+) :}
-livecheck.type          regex
-livecheck.url           ${homepage}
+distname                repoze.what.plugins.sql-${version}
+master_sites            https://pypi.python.org/packages/source/r/repoze.what.plugins.sql/
 
-depends_build-append    port:py26-setuptools
-depends_lib-append      port:py26-repoze.what port:py26-sqlalchemy
+checksums               rmd160 116b89a81e014df99928e3432e1b842bc92b5c15
 
-distname                repoze.what.plugins.sql-${version}
-master_sites            http://pypi.python.org/packages/source/r/repoze.what.plugins.sql/
+python.versions         26
 
-checksums               rmd160 116b89a81e014df99928e3432e1b842bc92b5c15
+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}-sqlalchemy
+    livecheck.type          none
+} else {
+    livecheck.regex         {>repoze\.what\.plugins\.sql (.+) :}
+    livecheck.type          regex
+    livecheck.url           ${homepage}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140923/e5196257/attachment.html>


More information about the macports-changes mailing list