[126498] trunk/dports/python

jmr at macports.org jmr at macports.org
Fri Oct 10 21:14:47 PDT 2014


Revision: 126498
          https://trac.macports.org/changeset/126498
Author:   jmr at macports.org
Date:     2014-10-10 21:14:47 -0700 (Fri, 10 Oct 2014)
Log Message:
-----------
py27-termcolor: use unified python portgroup

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

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

Removed Paths:
-------------
    trunk/dports/python/py27-termcolor/

Modified: trunk/dports/python/py-termcolor/Portfile
===================================================================
--- trunk/dports/python/py27-termcolor/Portfile	2014-10-11 02:24:11 UTC (rev 126482)
+++ trunk/dports/python/py-termcolor/Portfile	2014-10-11 04:14:47 UTC (rev 126498)
@@ -2,11 +2,10 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python27 1.0
+PortGroup           python 1.0
 
-name                py27-termcolor
+name                py-termcolor
 version             1.1.0
-categories          python
 platforms           darwin
 maintainers         nomaintainer
 license             MIT
@@ -15,12 +14,18 @@
 description         ANSII Color formatting for output in terminal.
 long_description    termcolor is a Python module to format colored output in terminal.
 
-homepage            http://pypi.python.org/pypi/termcolor
-master_sites        http://pypi.python.org/packages/source/t/termcolor/
+homepage            https://pypi.python.org/pypi/termcolor
+master_sites        https://pypi.python.org/packages/source/t/termcolor/
 distname            termcolor-${version}
 
 checksums           sha1    52045880a05c0fbd192343d9c9aad46a73d20e8c \
                     rmd160  1555f55ff04abff3929dd86215dcd679c3c4813f
 
-livecheck.type      regex
-livecheck.regex     termcolor (\\d(\\.\\d+)*)
+python.versions     27
+
+if {$subport ne $name} {
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.regex     termcolor (\\d(\\.\\d+)*)
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141010/e0de372e/attachment.html>


More information about the macports-changes mailing list