Skip to content

Commit

Permalink
python/python3-tekore: Updated to 5.4.0.
Browse files Browse the repository at this point in the history
Signed-off-by: Pouria Rezaei <[email protected]>
  • Loading branch information
RSKYS committed Jun 21, 2024
1 parent ee8422d commit 15aaf28
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
11 changes: 5 additions & 6 deletions python/python3-tekore/python3-tekore.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Slackware build script for python3-tekore

# Copyright 2019-2022 Pouria Rezaei <[email protected]>
# Copyright 2019-2024 Pouria Rezaei <[email protected]>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
Expand All @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)

PRGNAM=python3-tekore
SRCNAM=tekore
VERSION=${VERSION:-4.3.0}
VERSION=${VERSION:-5.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
Expand Down Expand Up @@ -79,11 +79,10 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;

sed -i -e "s~.*scripts=glob.glob(\"Scripts/\*.py\"),~~" setup.py

python3 setup.py install --root=$PKG
python3 -m build --wheel --no-isolation
python3 -m installer --destdir="$PKG" dist/*.whl

find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" \
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
Expand Down
6 changes: 3 additions & 3 deletions python/python3-tekore/python3-tekore.info
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
PRGNAM="python3-tekore"
VERSION="4.3.0"
VERSION="5.4.0"
HOMEPAGE="https://pypi.org/project/tekore/"
DOWNLOAD="https://files.pythonhosted.org/packages/60/35/faea7eb3e936eeb30edb196245ce280512139c084afd5245a6fe3cbaa477/tekore-4.3.0.tar.gz"
MD5SUM="d58ba00cd9271d97c926b52b257a158e"
DOWNLOAD="https://files.pythonhosted.org/packages/18/f4/c4e4bcd154c122a5cabb6f64490cfa036685c8c76495ff465a876bf3f04e/tekore-5.4.0.tar.gz"
MD5SUM="93287215d4af5d9b40cd29db0b345be1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
Expand Down

0 comments on commit 15aaf28

Please sign in to comment.