aboutsummaryrefslogtreecommitdiff
path: root/python/jmespath
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2020-09-18 17:17:32 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-19 08:55:02 +0700
commitb35ab40baa3fbea359904e9bcc235be92ea8d727 (patch)
treed52f6c259bcaf44c7772dbd09d43f308d9d13650 /python/jmespath
parentaf25ff0f8ba083081c1e03e9ccee40ec2534c87e (diff)
python/jmespath: Updated for version 0.10.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/jmespath')
-rw-r--r--python/jmespath/jmespath.SlackBuild9
-rw-r--r--python/jmespath/jmespath.info6
2 files changed, 10 insertions, 5 deletions
diff --git a/python/jmespath/jmespath.SlackBuild b/python/jmespath/jmespath.SlackBuild
index 435cbadb227a..fbf9a8277784 100644
--- a/python/jmespath/jmespath.SlackBuild
+++ b/python/jmespath/jmespath.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for jmespath
-# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2020 Dimitris Zlatanidis Orestiada, Greece
# 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=jmespath
-VERSION=${VERSION:-0.9.3}
+VERSION=${VERSION:-0.10.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,6 +71,11 @@ find -L . \
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
+
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 53611f1ee6c5..e3b179d02eea 100644
--- a/python/jmespath/jmespath.info
+++ b/python/jmespath/jmespath.info
@@ -1,8 +1,8 @@
PRGNAM="jmespath"
-VERSION="0.9.3"
+VERSION="0.10.0"
HOMEPAGE="https://github.com/boto/jmespath"
-DOWNLOAD="https://pypi.python.org/packages/e5/21/795b7549397735e911b032f255cff5fb0de58f96da794274660bca4f58ef/jmespath-0.9.3.tar.gz"
-MD5SUM="37a906c06de62bed25ec5cf99cee04a6"
+DOWNLOAD="https://files.pythonhosted.org/packages/3c/56/3f325b1eef9791759784aa5046a8f6a1aff8f7c898a2e34506771d3b99d8/jmespath-0.10.0.tar.gz"
+MD5SUM="65bdcb5fa5bcf1cc710ffa508e78e408"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""