summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2019-02-15 20:44:41 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-02-17 21:56:36 +0700
commite41084eb60be64574dca5a993bb9ca3ceef6a1ea (patch)
treeb3ec870f1f53f529e6351e0b23390e2e0596436e
parentf0458f1401ef2779f519f63c84bc29bd469aaa32 (diff)
downloadslackbuilds-e41084eb60be64574dca5a993bb9ca3ceef6a1ea.tar.gz
python/send2trash: Updated for version 1.5.0.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
-rw-r--r--python/send2trash/send2trash.SlackBuild7
-rw-r--r--python/send2trash/send2trash.info8
2 files changed, 8 insertions, 7 deletions
diff --git a/python/send2trash/send2trash.SlackBuild b/python/send2trash/send2trash.SlackBuild
index c173808abf..4cafed265a 100644
--- a/python/send2trash/send2trash.SlackBuild
+++ b/python/send2trash/send2trash.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for send2trash
-# Copyright 2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2018-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=send2trash
-VERSION=${VERSION:-1.4.2}
+VERSION=${VERSION:-1.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,7 +69,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 {} \;
-python setup.py install --root=$PKG
+python2 setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
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 7fed2bc256..ac44c27d57 100644
--- a/python/send2trash/send2trash.info
+++ b/python/send2trash/send2trash.info
@@ -1,10 +1,10 @@
PRGNAM="send2trash"
-VERSION="1.4.2"
+VERSION="1.5.0"
HOMEPAGE="https://github.com/hsoft/send2trash"
-DOWNLOAD="https://github.com/hsoft/send2trash/archive/1.4.2/send2trash-1.4.2.tar.gz"
-MD5SUM="9d263882d791a2226f63decd340e8669"
+DOWNLOAD="https://github.com/hsoft/send2trash/archive/1.5.0/send2trash-1.5.0.tar.gz"
+MD5SUM="a8179a96769d2418a5989cda0e1ec374"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="python3"
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net"