aboutsummaryrefslogtreecommitdiff
path: root/python/pyusb/pyusb.SlackBuild
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2021-09-04 02:10:24 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-09-06 08:50:28 +0700
commitf430e2dc24ba76998621c80f85c3ff4113f52b5d (patch)
treec33b4529c639c94a06c27d5dd80544b4a78f50e1 /python/pyusb/pyusb.SlackBuild
parent14a0253ec4941a4007ee2c61dd59ba0ac63714c3 (diff)
python/pyusb: Updated for version 1.2.1
Signed-off-by: Kyle Guinn <elyk03@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/pyusb/pyusb.SlackBuild')
-rw-r--r--python/pyusb/pyusb.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/pyusb/pyusb.SlackBuild b/python/pyusb/pyusb.SlackBuild
index e8b23b0894360..6a250bfd52ade 100644
--- a/python/pyusb/pyusb.SlackBuild
+++ b/python/pyusb/pyusb.SlackBuild
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pyusb
-VERSION=${VERSION:-1.1.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.2.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -65,7 +65,7 @@ chmod -R u+w,go-w,a+rX-st .
# Can't build the git snapshot. Upstream publishes a modified copy
# (with version metadata that setup.py needs), see setuptools-scm.
-python setup.py install --root=$PKG
+python2 setup.py install --root=$PKG
rm -rf build
python3 setup.py install --root=$PKG