summaryrefslogtreecommitdiff
path: root/python/werkzeug/werkzeug.SlackBuild
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-05-14 09:11:39 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-05-14 19:27:51 +0700
commitb8f66842097ba3166586715601fae2717de61ee8 (patch)
treef0284d61d6a6f3c72f1b0a9ced2df033218872e3 /python/werkzeug/werkzeug.SlackBuild
parentaca91d7b1c97f8e42597d4a667099f03a2292880 (diff)
downloadslackbuilds-b8f66842097ba3166586715601fae2717de61ee8.tar.gz
python/werkzeug: Updated for version 2.1.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/werkzeug/werkzeug.SlackBuild')
-rw-r--r--python/werkzeug/werkzeug.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/python/werkzeug/werkzeug.SlackBuild b/python/werkzeug/werkzeug.SlackBuild
index c40c4db821..199363f350 100644
--- a/python/werkzeug/werkzeug.SlackBuild
+++ b/python/werkzeug/werkzeug.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for werkzeug
+# Copyright 2022 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# Copyright 2013 Mohamed LYAHYAOUI <mlyahyaoui@gmail.com>
# Copyright 2018-2020 Dominik Drobek <dominik.drobek (at) o2.pl>
# All rights reserved.
@@ -23,11 +24,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220512 46and2: Updated version, new maintainer.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=werkzeug
SRCNAM=Werkzeug
-VERSION=${VERSION:-1.0.1}
+VERSION=${VERSION:-2.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,11 +84,7 @@ 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
-
-if $(python3 -c 'import sys' 2>/dev/null); then
- python3 setup.py install --root=$PKG
-fi
+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