python/jmespath: Updated for version 1.0.1.

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dimitris Zlatanidis 2022-06-27 20:55:29 +03:00 committed by Willy Sudiarto Raharjo
parent 0beaf842b6
commit 995db3df11
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 6 additions and 11 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for jmespath
# Copyright 2014-2020 Dimitris Zlatanidis Orestiada, Greece
# Copyright 2014-2022 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=jmespath
VERSION=${VERSION:-0.10.0}
VERSION=${VERSION:-1.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -79,12 +79,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
# Python 3 support.
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

View file

@ -1,8 +1,8 @@
PRGNAM="jmespath"
VERSION="0.10.0"
VERSION="1.0.1"
HOMEPAGE="https://github.com/boto/jmespath"
DOWNLOAD="https://files.pythonhosted.org/packages/3c/56/3f325b1eef9791759784aa5046a8f6a1aff8f7c898a2e34506771d3b99d8/jmespath-0.10.0.tar.gz"
MD5SUM="65bdcb5fa5bcf1cc710ffa508e78e408"
DOWNLOAD="https://files.pythonhosted.org/packages/00/2a/e867e8531cf3e36b41201936b7fa7ba7b5702dbef42922193f05c8976cd6/jmespath-1.0.1.tar.gz"
MD5SUM="2dd28beb22d698f58fe2281bfe5fe3a3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""