wok-next rev 20930
pyaudio -> python-pyaudio
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Aug 23 07:07:52 2018 +0300 (2018-08-23) |
parents | 306a4f258013 |
children | de355b69ea82 |
files | pyaudio/receipt python-pyaudio/receipt |
line diff
1.1 --- a/pyaudio/receipt Thu Aug 23 06:46:33 2018 +0300 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,30 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="pyaudio" 1.7 -VERSION="0.2.9" 1.8 -CATEGORY="development" 1.9 -SHORT_DESC="PyAudio provides Python bindings for PortAudio." 1.10 -MAINTAINER="paul@slitaz.org" 1.11 -LICENSE="unknown" 1.12 -WEB_SITE="http://people.csail.mit.edu/hubert/pyaudio/" 1.13 -REPOLOGY="python:pyaudio" 1.14 - 1.15 -SOURCE="PyAudio" 1.16 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.17 -WGET_URL="http://people.csail.mit.edu/hubert/pyaudio/packages/$TARBALL" 1.18 - 1.19 -DEPENDS="python portaudio" 1.20 -BUILD_DEPENDS="python-dev portaudio-dev" 1.21 - 1.22 -# Rules to configure and make the package. 1.23 -compile_rules() 1.24 -{ 1.25 - python setup.py build 1.26 - python setup.py install --root=$DESTDIR 1.27 -} 1.28 - 1.29 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 -genpkg_rules() 1.31 -{ 1.32 - cp -a $install/usr $fs 1.33 -}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/python-pyaudio/receipt Thu Aug 23 07:07:52 2018 +0300 2.3 @@ -0,0 +1,22 @@ 2.4 +# SliTaz package receipt v2. 2.5 + 2.6 +PACKAGE="python-pyaudio" 2.7 +VERSION="latest" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="PyAudio provides Python bindings for PortAudio" 2.10 +MAINTAINER="paul@slitaz.org" 2.11 +LICENSE="unknown" 2.12 +WEB_SITE="https://pypi.org/project/PyAudio/" 2.13 +REPOLOGY="python:pyaudio" 2.14 + 2.15 +BUILD_DEPENDS="python-dev portaudio-dev" 2.16 + 2.17 +compile_rules() { 2.18 + pip install --no-compile --root=$DESTDIR PyAudio 2.19 +} 2.20 + 2.21 +genpkg_rules() { 2.22 + VERSION=$(sed -n '/^Successfully installed/ s|.*PyAudio-||p' $LOGS/$PACKAGE.log) 2.23 + copy @std 2.24 + DEPENDS="python portaudio" 2.25 +}