aboutsummaryrefslogtreecommitdiff
path: root/python/PyAudio
diff options
context:
space:
mode:
authorGiuseppe Scalzi <giuseppe@osgate.org>2020-05-22 10:22:17 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-05-23 09:31:56 +0700
commit274fdfc959bb40c5ccc740ecba1c6be39d4cac2e (patch)
tree57cb1ed307cd516117a1b7f6bd1effdbd216caaf /python/PyAudio
parent8f02d38e5a9a8bcab66d0a6f9c49c80f2a585d93 (diff)
python/PyAudio: Updated for version 0.2.11.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/PyAudio')
-rw-r--r--python/PyAudio/PyAudio.SlackBuild7
-rw-r--r--python/PyAudio/PyAudio.info8
2 files changed, 9 insertions, 6 deletions
diff --git a/python/PyAudio/PyAudio.SlackBuild b/python/PyAudio/PyAudio.SlackBuild
index d7452373a4ab..e99a32eae498 100644
--- a/python/PyAudio/PyAudio.SlackBuild
+++ b/python/PyAudio/PyAudio.SlackBuild
@@ -5,7 +5,7 @@
# Written by Giuseppe Scalzi <giuseppe[at]osgate[dot]org>
PRGNAM=PyAudio
-VERSION=${VERSION:-0.2.4}
+VERSION=${VERSION:-0.2.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,7 +42,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/`echo $PRGNAM-$VERSION | tr "[:upper:]" "[:lower:]"`.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+#tar xvf $CWD/`echo $PRGNAM-$VERSION | tr "[:upper:]" "[:lower:]"`.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -53,6 +54,8 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
python setup.py install --root=$PKG
+#add python3 support
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/python/PyAudio/PyAudio.info b/python/PyAudio/PyAudio.info
index 58adbcc1e5ee..f39ab2e82032 100644
--- a/python/PyAudio/PyAudio.info
+++ b/python/PyAudio/PyAudio.info
@@ -1,10 +1,10 @@
PRGNAM="PyAudio"
-VERSION="0.2.4"
+VERSION="0.2.11"
HOMEPAGE="http://people.csail.mit.edu/hubert/pyaudio/"
-DOWNLOAD="http://people.csail.mit.edu/hubert/pyaudio/packages/pyaudio-0.2.4.tar.gz"
-MD5SUM="623809778f3d70254a25492bae63b575"
+DOWNLOAD="https://files.pythonhosted.org/packages/ab/42/b4f04721c5c5bfc196ce156b3c768998ef8c0ae3654ed29ea5020c749a6b/PyAudio-0.2.11.tar.gz"
+MD5SUM="7e4c88139284033f67b4336c74eda3b8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="portaudio"
+REQUIRES="portaudio python3"
MAINTAINER="Giuseppe Scalzi"
EMAIL="giuseppe@osgate.org"