[106955] trunk/dports/python

jmr at macports.org jmr at macports.org
Wed Jun 12 08:05:56 PDT 2013


Revision: 106955
          https://trac.macports.org/changeset/106955
Author:   jmr at macports.org
Date:     2013-06-12 08:05:56 -0700 (Wed, 12 Jun 2013)
Log Message:
-----------
py25-stomper: use unified portgroup, mark noarch, fix setuptools dep type

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

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

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

Modified: trunk/dports/python/py-stomper/Portfile
===================================================================
--- trunk/dports/python/py25-stomper/Portfile	2013-06-12 06:37:10 UTC (rev 106937)
+++ trunk/dports/python/py-stomper/Portfile	2013-06-12 15:05:56 UTC (rev 106955)
@@ -1,11 +1,12 @@
 # $Id$
 
 PortSystem        1.0
-PortGroup         python25 1.0
+PortGroup         python 1.0
 
-name              py25-stomper
+name              py-stomper
 version           0.2.2
 platforms         darwin
+supported_archs   noarch
 license           Apache-2
 maintainers       nomaintainer
 
@@ -20,13 +21,17 @@
 homepage          http://code.google.com/p/stomper/
 master_sites      http://pypi.python.org/packages/source/s/stomper/
 distname          stomper-${version}
-
-depends_lib-append port:py25-setuptools
-
 checksums         md5     193ba3eaa405aa5b590e2d571b65167d \
                   sha1    b3acfe30ce6b6842886b1668cde3203e4e3ab7a3 \
                   rmd160  7f30b3fab55dbcdd870b9b72b5860648667deac9
 
-livecheck.type    regex
-livecheck.url     http://pypi.python.org/pypi/stomper/
-livecheck.regex   {stomper (\d+(?:\.\d+)*)}
+python.versions   25
+
+if {$subport != $name} {
+    depends_build     port:py${python.version}-setuptools
+    livecheck.type    none
+} else {
+    livecheck.type    regex
+    livecheck.url     http://pypi.python.org/pypi/stomper/
+    livecheck.regex   {stomper (\d+(?:\.\d+)*)}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130612/19a400ce/attachment.html>


More information about the macports-changes mailing list