Revision: 147497 https://trac.macports.org/changeset/147497 Author: khindenburg@macports.org Date: 2016-04-05 18:45:22 -0700 (Tue, 05 Apr 2016) Log Message: ----------- py-pyaudio: update to 0.2.9; move to pypi; remove python26; add python35; fix livecheck maintainer #51044 Modified Paths: -------------- trunk/dports/python/py-pyaudio/Portfile trunk/dports/python/py-pyaudio/files/patch-setup.py.diff Modified: trunk/dports/python/py-pyaudio/Portfile =================================================================== --- trunk/dports/python/py-pyaudio/Portfile 2016-04-06 00:43:24 UTC (rev 147496) +++ trunk/dports/python/py-pyaudio/Portfile 2016-04-06 01:45:22 UTC (rev 147497) @@ -5,7 +5,8 @@ PortGroup python 1.0 name py-pyaudio -version 0.2.8 +set my_name PyAudio +version 0.2.9 categories-append audio platforms darwin maintainers NLnetLabs.nl:jaap @@ -19,17 +20,18 @@ homepage http://people.csail.mit.edu/hubert/pyaudio/ -master_sites ${homepage}packages/ -distname pyaudio-${version} -checksums md5 5c93a193224cca0183ec434dc558cff5 \ - rmd160 4310bf3ab32968a4f32e085cb07caaebadffbb64 \ - sha256 4f85367cf79657616684487037957ac38582ecc5389b89420fe61d901b719551 +master_sites https://pypi.python.org/packages/source/P/PyAudio/ +distname ${my_name}-${version} +checksums rmd160 161e7b17b025ccf5b0925a34aa0f081ccd3651e9 \ + sha256 bfd694272b3d1efc51726d0c27650b3c3ba1345f7f8fdada7e86c9751ce0f2a1 + worksrcdir PyAudio-${version} -python.versions 26 27 34 +python.versions 27 34 35 if {${name} ne ${subport}} { + depends_build port:py${python.version}-setuptools depends_lib-append port:portaudio patchfiles patch-setup.py.diff @@ -41,7 +43,6 @@ livecheck.type none } else { - livecheck.type regex - livecheck.url [lindex ${master_sites} 0] - livecheck.regex pyaudio-(\[0-9.\]+)${extract.suffix} + livecheck.type pypi + livecheck.name ${my_name} } Modified: trunk/dports/python/py-pyaudio/files/patch-setup.py.diff =================================================================== --- trunk/dports/python/py-pyaudio/files/patch-setup.py.diff 2016-04-06 00:43:24 UTC (rev 147496) +++ trunk/dports/python/py-pyaudio/files/patch-setup.py.diff 2016-04-06 01:45:22 UTC (rev 147497) @@ -1,11 +1,11 @@ ---- setup.py.orig 2012-10-20 23:08:06.000000000 -0400 -+++ setup.py 2013-05-24 19:11:44.000000000 -0400 -@@ -57,7 +57,7 @@ +--- setup.py 2015-10-19 01:48:12.000000000 -0400 ++++ setup.py 2016-04-05 21:20:24.000000000 -0400 +@@ -56,7 +56,7 @@ + mac_sysroot_path = os.environ.get("SYSROOT_PATH", None) pyaudio_module_sources = ['src/_portaudiomodule.c'] - -include_dirs = [] +include_dirs = ['__PREFIX__/include'] external_libraries = [] - extra_compile_args = ['-fno-strict-aliasing'] + extra_compile_args = [] extra_link_args = []