[106192] trunk/dports/python

jmr at macports.org jmr at macports.org
Sat May 18 07:34:11 PDT 2013


Revision: 106192
          https://trac.macports.org/changeset/106192
Author:   jmr at macports.org
Date:     2013-05-18 07:34:11 -0700 (Sat, 18 May 2013)
Log Message:
-----------
py26-pymodels: use unified portgroup, license, noarch

Modified Paths:
--------------
    trunk/dports/python/py-pymodels/Portfile

Added Paths:
-----------
    trunk/dports/python/py-pymodels/

Removed Paths:
-------------
    trunk/dports/python/py26-pymodels/

Modified: trunk/dports/python/py-pymodels/Portfile
===================================================================
--- trunk/dports/python/py26-pymodels/Portfile	2013-05-18 12:32:25 UTC (rev 106187)
+++ trunk/dports/python/py-pymodels/Portfile	2013-05-18 14:34:11 UTC (rev 106192)
@@ -2,10 +2,11 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
+PortGroup           python 1.0
 
-name                py26-pymodels
+name                py-pymodels
 version             0.18.3
+license             LGPL-3+
 maintainers         stromnov openmaintainer
 
 description         Python models for schema-less databases.
@@ -18,6 +19,7 @@
         or document-oriented).
 
 platforms           darwin
+supported_archs     noarch
 
 homepage            http://pypi.python.org/pypi/pymodels/
 master_sites        http://pypi.python.org/packages/source/p/pymodels/
@@ -27,8 +29,13 @@
                     sha1    eb21a8665bb5bc661d7d79e14850c62e29fcf814 \
                     rmd160  f152f09c80aa60cff3750aa3b7a0a20e9875fe30
 
-depends_build       port:py26-distribute
+python.versions     26
 
-livecheck.type      regex
-livecheck.url       ${master_sites}
-livecheck.regex     "pymodels-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+if {$subport != $name} {
+    depends_build       port:py${python.version}-distribute
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${master_sites}
+    livecheck.regex     "pymodels-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130518/76fd3060/attachment.html>


More information about the macports-changes mailing list