[126373] trunk/dports/python

jmr at macports.org jmr at macports.org
Wed Oct 8 21:22:00 PDT 2014


Revision: 126373
          https://trac.macports.org/changeset/126373
Author:   jmr at macports.org
Date:     2014-10-08 21:21:59 -0700 (Wed, 08 Oct 2014)
Log Message:
-----------
py27-brownie: use unified python portgroup

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

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

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

Modified: trunk/dports/python/py-brownie/Portfile
===================================================================
--- trunk/dports/python/py27-brownie/Portfile	2014-10-09 03:58:40 UTC (rev 126372)
+++ trunk/dports/python/py-brownie/Portfile	2014-10-09 04:21:59 UTC (rev 126373)
@@ -1,9 +1,9 @@
 # $Id$
 
 PortSystem      1.0
-PortGroup       python27 1.0
+PortGroup       python 1.0
 
-name            py27-brownie
+name            py-brownie
 set real_name   Brownie
 version         0.5.1
 maintainers     nomaintainer
@@ -16,11 +16,15 @@
     ${description}
 
 homepage            http://github.com/DasIch/brownie/
-master_sites        http://pypi.python.org/packages/source/B/${real_name}
+master_sites        https://pypi.python.org/packages/source/B/${real_name}
 distname            ${real_name}-${version}
 
 checksums           md5     c79089d747777f4754656b41998e5685 \
                     sha1    6f7bd0dcaf9fe0e7a6a238f78d50b77ea71d67a6 \
                     rmd160  3a8e0c06490d6419cdc1f88d4df604e609f50660
 
-depends_build       port:py27-setuptools
+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/20141008/b210b4ab/attachment.html>


More information about the macports-changes mailing list