diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2022-05-14 09:11:39 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-05-14 19:27:51 +0700 |
commit | b8f66842097ba3166586715601fae2717de61ee8 (patch) | |
tree | f0284d61d6a6f3c72f1b0a9ced2df033218872e3 /python/werkzeug | |
parent | aca91d7b1c97f8e42597d4a667099f03a2292880 (diff) |
python/werkzeug: Updated for version 2.1.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/werkzeug')
-rw-r--r-- | python/werkzeug/README | 7 | ||||
-rw-r--r-- | python/werkzeug/werkzeug.SlackBuild | 11 | ||||
-rw-r--r-- | python/werkzeug/werkzeug.info | 10 |
3 files changed, 17 insertions, 11 deletions
diff --git a/python/werkzeug/README b/python/werkzeug/README index 6319a67e88a9..986a75e2b1a4 100644 --- a/python/werkzeug/README +++ b/python/werkzeug/README @@ -15,3 +15,10 @@ developer. It's most useful for end user applications which should work on as many server environments as possible (such as blogs, wikis, bulletin boards, etc). + +NOTE: +-Use werkzeug-legacy1 for werkzeug<=2 and/or python2 support. + +IMPORTANT: +-Conflicts with werkzeug-legacy1 and both cannot be installed at the + same time. diff --git a/python/werkzeug/werkzeug.SlackBuild b/python/werkzeug/werkzeug.SlackBuild index c40c4db821dd..199363f3503b 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 diff --git a/python/werkzeug/werkzeug.info b/python/werkzeug/werkzeug.info index 8533846a943a..2c3ca8e0099b 100644 --- a/python/werkzeug/werkzeug.info +++ b/python/werkzeug/werkzeug.info @@ -1,10 +1,10 @@ PRGNAM="werkzeug" -VERSION="1.0.1" +VERSION="2.1.2" HOMEPAGE="https://palletsprojects.com/p/werkzeug/" -DOWNLOAD="https://files.pythonhosted.org/packages/10/27/a33329150147594eff0ea4c33c2036c0eadd933141055be0ff911f7f8d04/Werkzeug-1.0.1.tar.gz" -MD5SUM="5d499cfdd30de5d9c946994783772efd" +DOWNLOAD="https://files.pythonhosted.org/packages/source/w/werkzeug/Werkzeug-2.1.2.tar.gz" +MD5SUM="5835c8738b8081c53367cbcc5db8784c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Dominik Drobek" -EMAIL="dominik.drobek (at) o2.pl" +MAINTAINER="fourtysixandtwo" +EMAIL="fourtysixandtwo@sliderr.net" |