summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Jeremy Hansen2023-09-08 22:35:52 +0200
committer Willy Sudiarto Raharjo2023-09-09 01:32:53 +0200
commite64b7495064f0321688d64aa3fadfe9c83b398e1 (patch)
tree3cb2c6c67f96989685f7ffacf164b9e08efb07aa
parent6cd914a4f210ed99f70c8944d202f20b536fbd96 (diff)
downloadslackbuilds-e64b7495064f0321688d64aa3fadfe9c83b398e1.tar.gz
python/send2trash: Version bump to 1.8.2
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/send2trash/send2trash.SlackBuild6
-rw-r--r--python/send2trash/send2trash.info8
2 files changed, 8 insertions, 6 deletions
diff --git a/python/send2trash/send2trash.SlackBuild b/python/send2trash/send2trash.SlackBuild
index db9314a817..20546854cc 100644
--- a/python/send2trash/send2trash.SlackBuild
+++ b/python/send2trash/send2trash.SlackBuild
@@ -4,6 +4,7 @@
# Copyright 2018-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# Copyright 2022 Isaac Yu <isaacyu@protonmail.com>
+# Copyright 2023 Jeremy Hansen <jebrhansen+SBo@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=send2trash
-VERSION=${VERSION:-1.8.0}
+VERSION=${VERSION:-1.8.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,7 +81,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-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
diff --git a/python/send2trash/send2trash.info b/python/send2trash/send2trash.info
index 27715811e2..35a6d02330 100644
--- a/python/send2trash/send2trash.info
+++ b/python/send2trash/send2trash.info
@@ -1,10 +1,10 @@
PRGNAM="send2trash"
-VERSION="1.8.0"
+VERSION="1.8.2"
HOMEPAGE="https://github.com/hsoft/send2trash"
-DOWNLOAD="https://github.com/hsoft/send2trash/archive/1.8.0/send2trash-1.8.0.tar.gz"
-MD5SUM="4bbf941d555bb95836ce273d777256d0"
+DOWNLOAD="https://github.com/hsoft/send2trash/archive/1.8.2/send2trash-1.8.2.tar.gz"
+MD5SUM="eb438133a06589d66fd0b9d401d4bbc5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="python3-build python3-wheel"
MAINTAINER="Jeremy Hansen"
EMAIL="jebrhansen+SBp@gmail.com"