[125522] trunk/dports/python

mf2k at macports.org mf2k at macports.org
Fri Sep 19 13:11:06 PDT 2014


Revision: 125522
          https://trac.macports.org/changeset/125522
Author:   mf2k at macports.org
Date:     2014-09-19 13:11:06 -0700 (Fri, 19 Sep 2014)
Log Message:
-----------
py-tre: Unify py26 and py27-tre.

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

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

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

Modified: trunk/dports/python/py-tre/Portfile
===================================================================
--- trunk/dports/python/py27-tre/Portfile	2014-09-19 19:42:32 UTC (rev 125521)
+++ trunk/dports/python/py-tre/Portfile	2014-09-19 20:11:06 UTC (rev 125522)
@@ -1,17 +1,19 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python27 1.0
+PortGroup           python 1.0
 
-name                py27-tre
+name                py-tre
 version             0.8.0
-categories          python devel
+categories-append   devel
 platforms           darwin
 maintainers         nomaintainer
+
 description         Python bindings for libtre
 long_description    Python bindings for libtre, a lightweight, \
                     POSIX-compliant regular expressions library that supports \
                     approximate text matches.
+
 homepage            http://laurikari.net/tre/
 master_sites        ${homepage}
 distname            tre-${version}
@@ -19,11 +21,19 @@
 worksrcdir          ${distname}/python
 patchfiles          patch-setup.py.diff
 use_bzip2           yes
+
 checksums           md5     b4d3232593dadf6746f4727bdda20b41 \
                     sha1    a41692e64b40ebae3cffe83931ddbf8420a10ae3 \
                     rmd160  8031cc0c421dd0f473b4c98f49aef9805fa65b64
-depends_lib-append  port:tre
 
-post-patch {
-    reinplace "s|@@MP_INCLUDE_DIR@@|${prefix}/include|g" ${worksrcpath}/setup.py
+python.versions     26 27
+
+if {${name} ne ${subport}} {
+    depends_lib-append  port:tre
+    
+    livecheck.type      none
+
+    post-patch {
+        reinplace "s|@@MP_INCLUDE_DIR@@|${prefix}/include|g" ${worksrcpath}/setup.py
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140919/8fb017dd/attachment.html>


More information about the macports-changes mailing list