aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2022-06-27 20:55:29 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-07-02 09:55:45 +0700
commit995db3df11c4eb49be8f308a54571081f092d981 (patch)
tree777c817d541e365cd7fda9a4fce95a6b39fa5288 /python
parent0beaf842b6f624f843ec3db44cb715aab2d05bd1 (diff)
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>
Diffstat (limited to 'python')
-rw-r--r--python/jmespath/jmespath.SlackBuild11
-rw-r--r--python/jmespath/jmespath.info6
2 files changed, 6 insertions, 11 deletions
diff --git a/python/jmespath/jmespath.SlackBuild b/python/jmespath/jmespath.SlackBuild
index de5cd7b6703af..ce3fec2661d53 100644
--- a/python/jmespath/jmespath.SlackBuild
+++ b/python/jmespath/jmespath.SlackBuild
@@ -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
diff --git a/python/jmespath/jmespath.info b/python/jmespath/jmespath.info
index e3b179d02eeae..60591899159ff 100644
--- a/python/jmespath/jmespath.info
+++ b/python/jmespath/jmespath.info
@@ -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=""