[99249] trunk/dports/python/py-imread
stromnov at macports.org
stromnov at macports.org
Tue Oct 30 04:09:46 PDT 2012
Revision: 99249
http://trac.macports.org//changeset/99249
Author: stromnov at macports.org
Date: 2012-10-30 04:09:46 -0700 (Tue, 30 Oct 2012)
Log Message:
-----------
py-imread: update to version 0.2.5
Modified Paths:
--------------
trunk/dports/python/py-imread/Portfile
Added Paths:
-----------
trunk/dports/python/py-imread/files/
trunk/dports/python/py-imread/files/patch-setup.py.diff
Modified: trunk/dports/python/py-imread/Portfile
===================================================================
--- trunk/dports/python/py-imread/Portfile 2012-10-30 10:50:20 UTC (rev 99248)
+++ trunk/dports/python/py-imread/Portfile 2012-10-30 11:09:46 UTC (rev 99249)
@@ -5,8 +5,8 @@
PortGroup python 1.0
name py-imread
-version 0.2.4
-revision 2
+version 0.2.5
+revision 0
categories-append graphics
license MIT
platforms darwin
@@ -21,12 +21,14 @@
distname imread-${version}
-checksums rmd160 bffe083292159b9aacfe38a428961a20ee5f4f1a \
- sha256 d33952eb44843e7dce367ec4ae6ec0530d69769297e6115c3223ee78417cb8c9
+checksums rmd160 6a054437bd950bafc12bc306d690093ee6153dd1 \
+ sha256 8484525fcdfb4ee0fda18d47b174432038acc8b62297f2400c9ed7551cdc1f27
python.default_version 27
python.versions 26 27
+patchfiles patch-setup.py.diff
+
if {$subport != $name} {
depends_build-append port:py${python.version}-distribute
depends_lib-append port:py${python.version}-numpy \
Added: trunk/dports/python/py-imread/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py-imread/files/patch-setup.py.diff (rev 0)
+++ trunk/dports/python/py-imread/files/patch-setup.py.diff 2012-10-30 11:09:46 UTC (rev 99249)
@@ -0,0 +1,26 @@
+--- setup.py.orig 2012-10-26 16:44:56.000000000 +0400
++++ setup.py 2012-10-30 15:04:15.000000000 +0400
+@@ -33,14 +33,6 @@
+ include_dirs = []
+ library_dirs = []
+
+-for pth in ('/usr/local/include', '/usr/X11/include'):
+- if os.path.isdir(pth):
+- include_dirs.append(pth)
+-
+-for pth in ('/usr/local/lib', '/usr/X11/lib'):
+- if os.path.isdir(pth):
+- library_dirs.append(pth)
+-
+ extensions = {
+ 'imread._imread': [
+ 'imread/_imread.cpp',
+@@ -56,8 +48,6 @@
+ }
+
+ libraries = ['png', 'jpeg', 'tiff', 'webp']
+-if 'linux' not in sys.platform:
+- libraries.append('zlib')
+
+ ext_modules = [
+ numpyutils.Extension(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121030/0d9aafd8/attachment.html>
More information about the macports-changes
mailing list