[143705] trunk/dports/python/py-cffi
stromnov at macports.org
stromnov at macports.org
Fri Dec 18 05:56:54 PST 2015
Revision: 143705
https://trac.macports.org/changeset/143705
Author: stromnov at macports.org
Date: 2015-12-18 05:56:54 -0800 (Fri, 18 Dec 2015)
Log Message:
-----------
py-cffi: update to version 1.4.1
Modified Paths:
--------------
trunk/dports/python/py-cffi/Portfile
Added Paths:
-----------
trunk/dports/python/py-cffi/files/
trunk/dports/python/py-cffi/files/patch-setup.py.diff
Modified: trunk/dports/python/py-cffi/Portfile
===================================================================
--- trunk/dports/python/py-cffi/Portfile 2015-12-18 13:35:37 UTC (rev 143704)
+++ trunk/dports/python/py-cffi/Portfile 2015-12-18 13:56:54 UTC (rev 143705)
@@ -5,7 +5,7 @@
PortGroup python 1.0
name py-cffi
-version 1.3.1
+version 1.4.1
revision 0
categories-append devel
platforms darwin
@@ -26,10 +26,12 @@
distname cffi-${version}
-checksums rmd160 904b017de00d2990377f90b9869e2449fdea00a9 \
- sha256 d45dd39a770b4afb591c82555f6a8bbc1ac7eb019eda9b621eee1a0a72201220
+checksums rmd160 b23664984739a821f245e9c3cd2fd1f6ff2bc99a \
+ sha256 61fa9e32cc91744b92b3ec96f74c5910aa6c2f0a9fbba939fbad71dab558b974
if {${name} ne ${subport}} {
+ patchfiles-append patch-setup.py.diff
+
depends_build-append \
port:py${python.version}-setuptools
depends_lib-append port:libffi
Added: trunk/dports/python/py-cffi/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py-cffi/files/patch-setup.py.diff (rev 0)
+++ trunk/dports/python/py-cffi/files/patch-setup.py.diff 2015-12-18 13:56:54 UTC (rev 143705)
@@ -0,0 +1,12 @@
+--- setup.py.orig 2015-12-18 16:51:35.000000000 +0300
++++ setup.py 2015-12-18 16:52:01.000000000 +0300
+@@ -67,9 +67,6 @@
+ sys.stderr.write("The above error message can be safely ignored\n")
+
+ def use_pkg_config():
+- if sys.platform == 'darwin' and os.path.exists('/usr/local/bin/brew'):
+- use_homebrew_for_libffi()
+-
+ _ask_pkg_config(include_dirs, '--cflags-only-I', '-I', sysroot=True)
+ _ask_pkg_config(extra_compile_args, '--cflags-only-other')
+ _ask_pkg_config(library_dirs, '--libs-only-L', '-L', sysroot=True)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151218/04ecb070/attachment.html>
More information about the macports-changes
mailing list