[126483] trunk/dports/python

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


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

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

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

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

Modified: trunk/dports/python/py-prettytable/Portfile
===================================================================
--- trunk/dports/python/py27-prettytable/Portfile	2014-10-11 02:24:11 UTC (rev 126482)
+++ trunk/dports/python/py-prettytable/Portfile	2014-10-11 04:10:17 UTC (rev 126483)
@@ -2,9 +2,9 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python27 1.0
+PortGroup           python 1.0
 
-name                py27-prettytable
+name                py-prettytable
 version             0.6.1
 maintainers         nomaintainer
 platforms           darwin
@@ -23,12 +23,15 @@
                     row range.
 categories-append   textproc
 
-homepage            http://pypi.python.org/pypi/PrettyTable
-master_sites        http://pypi.python.org/packages/source/P/PrettyTable
+homepage            https://pypi.python.org/pypi/PrettyTable
+master_sites        https://pypi.python.org/packages/source/P/PrettyTable
 distname            prettytable-${version}
 
-depends_build       port:py27-setuptools
-
 checksums           rmd160  bd1ba3653d6665dec40f0954bc371aab19dc4353 \
                     sha256  4085e520da758d6e22e115377ca5d3723f04fb186303879ab98277070444a9cb
 
+python.versions     27
+
+if {$subport ne $name} {
+    depends_build       port:py${python.version}-setuptools
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141010/2fea59a7/attachment-0001.html>


More information about the macports-changes mailing list