[58236] trunk/dports/python

ryandesign at macports.org ryandesign at macports.org
Thu Sep 24 11:19:50 PDT 2009


Revision: 58236
          http://trac.macports.org/changeset/58236
Author:   ryandesign at macports.org
Date:     2009-09-24 11:19:49 -0700 (Thu, 24 Sep 2009)
Log Message:
-----------
py26-tre: new port, version 0.8.0; see #21563

Added Paths:
-----------
    trunk/dports/python/py26-tre/
    trunk/dports/python/py26-tre/Portfile
    trunk/dports/python/py26-tre/files/
    trunk/dports/python/py26-tre/files/patch-setup.py.diff

Added: trunk/dports/python/py26-tre/Portfile
===================================================================
--- trunk/dports/python/py26-tre/Portfile	                        (rev 0)
+++ trunk/dports/python/py26-tre/Portfile	2009-09-24 18:19:49 UTC (rev 58236)
@@ -0,0 +1,29 @@
+# $Id$
+
+PortSystem          1.0
+PortGroup           python26 1.0
+
+name                py26-tre
+version             0.8.0
+categories          python devel
+platforms           darwin
+maintainers         gmail.com:mdippery
+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}
+dist_subdir         tre
+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
+}


Property changes on: trunk/dports/python/py26-tre/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/python/py26-tre/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py26-tre/files/patch-setup.py.diff	                        (rev 0)
+++ trunk/dports/python/py26-tre/files/patch-setup.py.diff	2009-09-24 18:19:49 UTC (rev 58236)
@@ -0,0 +1,11 @@
+--- setup.py.orig	2009-09-23 00:34:37.000000000 -0400
++++ setup.py	2009-09-23 00:38:57.000000000 -0400
+@@ -10,7 +10,7 @@
+ 
+ version = "0.8.0"
+ data_files = []
+-include_dirs = ["../lib"]
++include_dirs = ["../lib", "@@MP_INCLUDE_DIR@@"]
+ libraries = ["tre"]
+ 
+ if sys.platform == "win32":
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090924/e8d4d804/attachment.html>


More information about the macports-changes mailing list