aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2021-01-02 00:20:15 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-09 14:30:47 +0700
commit128be70ecd79d430f8b65a9566980036bf5bef91 (patch)
tree6c225341b72b822d201dd09d8d5c0743f9f19f77
parent223db7888cfe01c475f96c0531b5b954d6333ebf (diff)
python/pyusb: Updated for version 1.1.0.
Signed-off-by: Kyle Guinn <elyk03@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/pyusb/pyusb.SlackBuild8
-rw-r--r--python/pyusb/pyusb.info6
2 files changed, 8 insertions, 6 deletions
diff --git a/python/pyusb/pyusb.SlackBuild b/python/pyusb/pyusb.SlackBuild
index e8a591e57102..439dab172bfb 100644
--- a/python/pyusb/pyusb.SlackBuild
+++ b/python/pyusb/pyusb.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for PyUSB
-# Copyright 2014-2019 Kyle Guinn <elyk03@gmail.com>
+# Copyright 2014-2021 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pyusb
-VERSION=${VERSION:-1.0.2}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.1.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -53,6 +53,8 @@ cd $PRGNAM-$VERSION
chown -R root:root .
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.
python2 ./setup.py install --root=$PKG
if python3 -c 'import sys' 2>/dev/null; then
rm -rf build
diff --git a/python/pyusb/pyusb.info b/python/pyusb/pyusb.info
index 05347079fd7a..089ece631585 100644
--- a/python/pyusb/pyusb.info
+++ b/python/pyusb/pyusb.info
@@ -1,8 +1,8 @@
PRGNAM="pyusb"
-VERSION="1.0.2"
+VERSION="1.1.0"
HOMEPAGE="https://pyusb.github.io/pyusb/"
-DOWNLOAD="https://github.com/pyusb/pyusb/archive/v1.0.2/pyusb-1.0.2.tar.gz"
-MD5SUM="95bf0adc0f25bfb70daf86605cff2b3f"
+DOWNLOAD="https://github.com/pyusb/pyusb/releases/download/v1.1.0/pyusb-1.1.0.tar.gz"
+MD5SUM="3b2e38e9f697d2f90d86376bd10a9505"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""