Ticket #54894: Portfile-py-pyaudio.5.diff
File Portfile-py-pyaudio.5.diff, 2.1 KB (added by Jakker (Jaap Akkerhuis), 7 years ago) |
---|
-
Portfile
old new 5 5 6 6 name py-pyaudio 7 7 set my_name PyAudio 8 version 0.2. 98 version 0.2.11 9 9 categories-append audio 10 10 platforms darwin 11 11 maintainers NLnetLabs.nl:jaap … … 20 20 homepage http://people.csail.mit.edu/hubert/pyaudio/ 21 21 22 22 master_sites pypi:P/PyAudio/ 23 distname ${my_name}-${version}24 23 25 checksums rmd160 161e7b17b025ccf5b0925a34aa0f081ccd3651e9 \ 26 sha256 bfd694272b3d1efc51726d0c27650b3c3ba1345f7f8fdada7e86c9751ce0f2a1 24 distname ${my_name}-${version} 25 checksums md5 7e4c88139284033f67b4336c74eda3b8 \ 26 rmd160 7a6bb88f56622555e77eb799e4ee74ff970b6e92 \ 27 sha256 93bfde30e0b64e63a46f2fd77e85c41fd51182a4a3413d9edfaf9ffaa26efb74 27 28 28 29 worksrcdir PyAudio-${version} 29 30 30 python.versions 27 34 35 31 python.versions 27 34 35 36 31 32 32 33 if {${name} ne ${subport}} { 33 34 depends_build port:py${python.version}-setuptools 35 depends_build-append \ 36 port:py${python.version}-sphinx 37 34 38 depends_lib-append port:portaudio 35 39 36 40 patchfiles patch-setup.py.diff … … 40 44 41 45 python.link_binaries no 42 46 47 post-destroot { 48 xinstall -d ${destroot}${prefix}/share/doc/py${python.version}-pyaudio 49 xinstall -m 640 {*}[glob ${worksrcpath}/examples/*] \ 50 ${destroot}${prefix}/share/doc/py${python.version}-pyaudio 51 xinstall -d ${destroot}${prefix}/share/examples/py-pyaudio 52 xinstall -m 640 {*}[glob ${worksrcpath}/examples/*] \ 53 ${destroot}${prefix}/share/examples/py-pyaudio 54 } 55 43 56 livecheck.type none 44 57 } else { 45 58 livecheck.type pypi 46 livecheck.name ${my_name} 59 livecheck.url [lindex ${master_sites} 0] 60 livecheck.regex pyaudio-(\[0-9.\]+)${extract.suffix} 47 61 }