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>
This commit is contained in:
Kyle Guinn 2021-01-02 00:20:15 -06:00 committed by Willy Sudiarto Raharjo
parent 223db7888c
commit 128be70ecd
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 8 additions and 6 deletions

View file

@ -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

View file

@ -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=""