[106574] trunk/dports/python

jmr at macports.org jmr at macports.org
Thu May 30 22:01:14 PDT 2013


Revision: 106574
          https://trac.macports.org/changeset/106574
Author:   jmr at macports.org
Date:     2013-05-30 22:01:13 -0700 (Thu, 30 May 2013)
Log Message:
-----------
py25-orbited: use unified portgroup, license, noarch

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

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

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

Modified: trunk/dports/python/py-orbited/Portfile
===================================================================
--- trunk/dports/python/py25-orbited/Portfile	2013-05-31 00:41:23 UTC (rev 106560)
+++ trunk/dports/python/py-orbited/Portfile	2013-05-31 05:01:13 UTC (rev 106574)
@@ -1,11 +1,13 @@
 # $Id$
 
 PortSystem        1.0
-PortGroup         python25 1.0
+PortGroup         python 1.0
 
-name              py25-orbited
+name              py-orbited
 version           0.7.10
+license           MIT
 platforms         darwin
+supported_archs   noarch
 maintainers       nomaintainer
 
 description       Orbited provides a pure JavaScript/HTML socket in the browser.
@@ -19,14 +21,19 @@
 master_sites      http://pypi.python.org/packages/source/o/orbited/
 distname          orbited-${version}
 
-depends_lib-append port:py25-distribute \
-                   port:py25-morbid \
-                   port:py25-demjson
-
 checksums         md5     4f4e85d197466c141b1af466782445c1 \
                   sha1    822b91fe9a3332ae30d2e7f572e4b63df28d98c5 \
                   rmd160  b3b7f4e521d6035036e70c193322eaaa03007b07
 
-livecheck.type    regex
-livecheck.url     http://pypi.python.org/pypi/orbited/
-livecheck.regex   {orbited (\d+(?:\.\d+)*)}
+python.versions   25
+
+if {$subport != $name} {
+    depends_lib-append port:py${python.version}-distribute \
+                       port:py${python.version}-morbid \
+                       port:py${python.version}-demjson
+    livecheck.type    none
+} else {
+    livecheck.type    regex
+    livecheck.url     http://pypi.python.org/pypi/orbited/
+    livecheck.regex   {orbited (\d+(?:\.\d+)*)}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130530/d1d64fb6/attachment.html>


More information about the macports-changes mailing list