[88986] trunk/dports/python

stromnov at macports.org stromnov at macports.org
Mon Jan 16 01:31:32 PST 2012


Revision: 88986
          http://trac.macports.org/changeset/88986
Author:   stromnov at macports.org
Date:     2012-01-16 01:31:28 -0800 (Mon, 16 Jan 2012)
Log Message:
-----------
py2*-lepl: unify

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

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

Removed Paths:
-------------
    trunk/dports/python/py26-lepl/
    trunk/dports/python/py27-lepl/

Modified: trunk/dports/python/py-lepl/Portfile
===================================================================
--- trunk/dports/python/py27-lepl/Portfile	2012-01-16 07:54:27 UTC (rev 88985)
+++ trunk/dports/python/py-lepl/Portfile	2012-01-16 09:31:28 UTC (rev 88986)
@@ -2,10 +2,16 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python27 1.0
+PortGroup           python 1.0
 
-name                py27-lepl
+name                py-lepl
 version             5.0.0
+revision            1
+categories          python devel
+license             MPL
+platforms           darwin
+supported_archs     noarch
+
 maintainers         stromnov openmaintainer
 
 description         A Parser Library for Python 2.6+.
@@ -14,8 +20,6 @@
         LEPL is a recursive descent parser, written in Python, \
         which has a a friendly, easy-to-use syntax.
 
-platforms           darwin
-
 homepage            http://pypi.python.org/pypi/LEPL/
 master_sites        http://pypi.python.org/packages/source/L/LEPL/
 distname            LEPL-${version}
@@ -24,8 +28,13 @@
                     sha1    70a78e919181f0af0e3e64284552d82a9e01d7cf \
                     rmd160  c842ca68bfd9c5eb17290b58cec9e7c34ee36fbf
 
-depends_build       port:py27-distribute
+python.default_version  27
+python.versions     26 27
 
+if {$subport != $name} {
+    depends_build   port:py${python.version}-distribute
+}
+
 livecheck.type      regex
 livecheck.url       ${master_sites}
 livecheck.regex     "LEPL-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120116/7ff230d3/attachment.html>


More information about the macports-changes mailing list