wok-next diff python-pyaudio/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | eb69d8917c62 |
children |
line diff
1.1 --- a/python-pyaudio/receipt Thu Aug 23 07:07:52 2018 +0300 1.2 +++ b/python-pyaudio/receipt Sat Nov 03 15:42:26 2018 +0200 1.3 @@ -1,22 +1,26 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 +ORIGIN="PyAudio" 1.7 PACKAGE="python-pyaudio" 1.8 -VERSION="latest" 1.9 -CATEGORY="development" 1.10 -SHORT_DESC="PyAudio provides Python bindings for PortAudio" 1.11 +VERSION="0.2.11" 1.12 +CATEGORY="python" 1.13 +SHORT_DESC="Bindings for PortAudio v19, the cross-platform audio input/output \ 1.14 +stream library" 1.15 MAINTAINER="paul@slitaz.org" 1.16 LICENSE="unknown" 1.17 -WEB_SITE="https://pypi.org/project/PyAudio/" 1.18 +WEB_SITE="https://pypi.org/project/$ORIGIN/" 1.19 +#HOST_ARCH 1.20 REPOLOGY="python:pyaudio" 1.21 1.22 -BUILD_DEPENDS="python-dev portaudio-dev" 1.23 +BUILD_DEPENDS="python-dev python3-dev portaudio-dev" 1.24 +SPLIT="${PACKAGE/python/python3}:3" 1.25 1.26 compile_rules() { 1.27 - pip install --no-compile --root=$DESTDIR PyAudio 1.28 + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION 1.29 } 1.30 1.31 genpkg_rules() { 1.32 - VERSION=$(sed -n '/^Successfully installed/ s|.*PyAudio-||p' $LOGS/$PACKAGE.log) 1.33 copy @std 1.34 - DEPENDS="python portaudio" 1.35 + py=${PACKAGE%%-*} # python/python3 1.36 + DEPENDS="$py portaudio" 1.37 }