[106954] trunk/dports/python

jmr at macports.org jmr at macports.org
Wed Jun 12 07:48:47 PDT 2013


Revision: 106954
          https://trac.macports.org/changeset/106954
Author:   jmr at macports.org
Date:     2013-06-12 07:48:47 -0700 (Wed, 12 Jun 2013)
Log Message:
-----------
py25-morbid: use unified portgroup, mark noarch, fix setuptools dep type

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

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

Removed Paths:
-------------
    trunk/dports/python/py25-morbid/

Modified: trunk/dports/python/py-morbid/Portfile
===================================================================
--- trunk/dports/python/py25-morbid/Portfile	2013-06-12 06:37:10 UTC (rev 106937)
+++ trunk/dports/python/py-morbid/Portfile	2013-06-12 14:48:47 UTC (rev 106954)
@@ -1,12 +1,13 @@
 # $Id$
 
 PortSystem        1.0
-PortGroup         python25 1.0
+PortGroup         python 1.0
 
-name              py25-morbid
+name              py-morbid
 version           0.8.7.3
 license           MIT
 platforms         darwin
+supported_archs   noarch
 maintainers       nomaintainer
 
 description       A Twisted-based publish/subscribe messaging server that uses the STOMP protocol
@@ -18,14 +19,19 @@
 master_sites      http://pypi.python.org/packages/source/m/morbid/
 distname          morbid-${version}
 
-depends_lib-append port:py25-setuptools \
-                   port:py25-twisted \
-                   port:py25-stomper
+checksums         md5     5a2458def7e583a10c46c046dbab9c4a \
+                  sha1    36cf50606c1cd97c0bce310ced35d48d7eda7d3d \
+                  rmd160  c70a5cddd15071074407243d670fe4e0d3b9be16
 
-checksums           md5     5a2458def7e583a10c46c046dbab9c4a \
-                    sha1    36cf50606c1cd97c0bce310ced35d48d7eda7d3d \
-                    rmd160  c70a5cddd15071074407243d670fe4e0d3b9be16
+python.versions   25
 
-livecheck.type    regex
-livecheck.url     http://pypi.python.org/pypi/morbid/
-livecheck.regex   {morbid (\d+(?:\.\d+)*)}
+if {$subport != $name} {
+    depends_build      port:py${python.version}-setuptools
+    depends_lib-append port:py${python.version}-twisted \
+                       port:py${python.version}-stomper
+    livecheck.type    none
+} else {
+    livecheck.type    regex
+    livecheck.url     http://pypi.python.org/pypi/morbid/
+    livecheck.regex   {morbid (\d+(?:\.\d+)*)}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130612/68231849/attachment.html>


More information about the macports-changes mailing list