From 128be70ecd79d430f8b65a9566980036bf5bef91 Mon Sep 17 00:00:00 2001 From: Kyle Guinn Date: Sat, 2 Jan 2021 00:20:15 -0600 Subject: [PATCH] python/pyusb: Updated for version 1.1.0. Signed-off-by: Kyle Guinn Signed-off-by: Willy Sudiarto Raharjo --- python/pyusb/pyusb.SlackBuild | 8 +++++--- python/pyusb/pyusb.info | 6 +++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/python/pyusb/pyusb.SlackBuild b/python/pyusb/pyusb.SlackBuild index e8a591e571..439dab172b 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 +# Copyright 2014-2021 Kyle Guinn # 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 05347079fd..089ece6315 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=""