mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-06 08:26:50 +01:00
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:
parent
223db7888c
commit
128be70ecd
2 changed files with 8 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue