[54163] trunk/dports/python

blb at macports.org blb at macports.org
Tue Jul 21 23:26:56 PDT 2009


Revision: 54163
          http://trac.macports.org/changeset/54163
Author:   blb at macports.org
Date:     2009-07-21 23:26:56 -0700 (Tue, 21 Jul 2009)
Log Message:
-----------
New ports - python/py2[56]-pyicu, Python extension wrapping IBM's International Components for Unicode C++ library (ICU); ticket #20299

Added Paths:
-----------
    trunk/dports/python/py25-pyicu/
    trunk/dports/python/py25-pyicu/Portfile
    trunk/dports/python/py25-pyicu/files/
    trunk/dports/python/py25-pyicu/files/patch-setup.py
    trunk/dports/python/py26-pyicu/
    trunk/dports/python/py26-pyicu/Portfile
    trunk/dports/python/py26-pyicu/files/
    trunk/dports/python/py26-pyicu/files/patch-setup.py

Added: trunk/dports/python/py25-pyicu/Portfile
===================================================================
--- trunk/dports/python/py25-pyicu/Portfile	                        (rev 0)
+++ trunk/dports/python/py25-pyicu/Portfile	2009-07-22 06:26:56 UTC (rev 54163)
@@ -0,0 +1,32 @@
+# $Id$
+
+PortSystem      1.0
+PortGroup       python25 1.0
+
+name            py25-pyicu
+version         0.8.1
+categories-append   textproc
+platforms       darwin
+maintainers     nomaintainer
+
+description     Python extension wrapping IBM's International \
+                Components for Unicode C++ library (ICU)
+
+long_description \
+                ${description}
+
+homepage        http://pyicu.osafoundation.org/
+master_sites    http://pypi.python.org/packages/source/P/PyICU/
+distname        PyICU-${version}
+
+depends_lib-append   port:icu
+
+checksums       md5     789092993f84ccd6ba21d7346d6e093d \
+                sha1    f8f3c8821cb90442ba6637530592e91929efdf6d \
+                rmd160  af38047ab04824fab52f529454528cf7dd71d520
+
+patchfiles      patch-setup.py
+
+post-patch {
+        reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/setup.py
+}


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

Added: trunk/dports/python/py25-pyicu/files/patch-setup.py
===================================================================
--- trunk/dports/python/py25-pyicu/files/patch-setup.py	                        (rev 0)
+++ trunk/dports/python/py25-pyicu/files/patch-setup.py	2009-07-22 06:26:56 UTC (rev 54163)
@@ -0,0 +1,20 @@
+--- setup.py.orig	2009-07-14 15:18:20.000000000 +0400
++++ setup.py	2009-07-14 15:21:18.000000000 +0400
+@@ -11,7 +11,7 @@
+ ICU_VERSION = '3.8'   # version 3.6 is also supported
+ 
+ INCLUDES = {
+-    'darwin': ['/usr/local/icu-%s/include' %(ICU_VERSION)],
++    'darwin': ['@PREFIX@/include'],
+     'linux2': [],
+     'win32': [],
+ }
+@@ -23,7 +23,7 @@
+ }
+ 
+ LFLAGS = {
+-    'darwin': ['-L/usr/local/icu-%s/lib' %(ICU_VERSION)],
++    'darwin': ['-L at PREFIX@/lib'],
+     'linux2': [],
+     'win32': [],
+ }

Added: trunk/dports/python/py26-pyicu/Portfile
===================================================================
--- trunk/dports/python/py26-pyicu/Portfile	                        (rev 0)
+++ trunk/dports/python/py26-pyicu/Portfile	2009-07-22 06:26:56 UTC (rev 54163)
@@ -0,0 +1,32 @@
+# $Id$
+
+PortSystem      1.0
+PortGroup       python26 1.0
+
+name            py26-pyicu
+version         0.8.1
+categories-append   textproc
+platforms       darwin
+maintainers     nomaintainer
+
+description     Python extension wrapping IBM's International \
+                Components for Unicode C++ library (ICU)
+
+long_description \
+                ${description}
+
+homepage        http://pyicu.osafoundation.org/
+master_sites    http://pypi.python.org/packages/source/P/PyICU/
+distname        PyICU-${version}
+
+depends_lib-append   port:icu
+
+checksums       md5     789092993f84ccd6ba21d7346d6e093d \
+                sha1    f8f3c8821cb90442ba6637530592e91929efdf6d \
+                rmd160  af38047ab04824fab52f529454528cf7dd71d520
+
+patchfiles      patch-setup.py
+
+post-patch {
+        reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/setup.py
+}


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

Added: trunk/dports/python/py26-pyicu/files/patch-setup.py
===================================================================
--- trunk/dports/python/py26-pyicu/files/patch-setup.py	                        (rev 0)
+++ trunk/dports/python/py26-pyicu/files/patch-setup.py	2009-07-22 06:26:56 UTC (rev 54163)
@@ -0,0 +1,20 @@
+--- setup.py.orig	2009-07-14 15:18:20.000000000 +0400
++++ setup.py	2009-07-14 15:21:18.000000000 +0400
+@@ -11,7 +11,7 @@
+ ICU_VERSION = '3.8'   # version 3.6 is also supported
+ 
+ INCLUDES = {
+-    'darwin': ['/usr/local/icu-%s/include' %(ICU_VERSION)],
++    'darwin': ['@PREFIX@/include'],
+     'linux2': [],
+     'win32': [],
+ }
+@@ -23,7 +23,7 @@
+ }
+ 
+ LFLAGS = {
+-    'darwin': ['-L/usr/local/icu-%s/lib' %(ICU_VERSION)],
++    'darwin': ['-L at PREFIX@/lib'],
+     'linux2': [],
+     'win32': [],
+ }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090721/243b1895/attachment.html>


More information about the macports-changes mailing list