diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2021-05-21 21:32:07 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-06-02 01:02:21 +0700 |
commit | 608a6cd6b24bc1a861175b00944e29edd51009f1 (patch) | |
tree | 6bc9ea3dcfadd59476e4c28c7d2ff862c1a84318 /python/PyAudio | |
parent | 47d6ee54eb4e0ffe1f66448fbe9948ec446214db (diff) |
python/PyAudio: Convert python to python2.
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.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/python/PyAudio/PyAudio.SlackBuild b/python/PyAudio/PyAudio.SlackBuild index e99a32eae498..6fe033deafbd 100644 --- a/python/PyAudio/PyAudio.SlackBuild +++ b/python/PyAudio/PyAudio.SlackBuild @@ -11,7 +11,7 @@ TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -22,8 +22,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -53,7 +53,7 @@ find -L . \ -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ -python setup.py install --root=$PKG +python2 setup.py install --root=$PKG #add python3 support python3 setup.py install --root=$PKG |