aboutsummaryrefslogtreecommitdiff
path: root/python/msgpack-python
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-26 11:03:39 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-26 11:03:39 +0700
commitfc1c13d588838d5369480ba5b852e3ef5659776b (patch)
tree14453474a01a5a97747ad5622bddc62d37e62691 /python/msgpack-python
parent4851aa9bab3ea5b13300609dcd23b91d0abbb58e (diff)
python/msgpack-python: Updated for version 1.0.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/msgpack-python')
-rw-r--r--python/msgpack-python/msgpack-python.SlackBuild10
-rw-r--r--python/msgpack-python/msgpack-python.info6
2 files changed, 6 insertions, 10 deletions
diff --git a/python/msgpack-python/msgpack-python.SlackBuild b/python/msgpack-python/msgpack-python.SlackBuild
index d7837901640b0..86416425b9f21 100644
--- a/python/msgpack-python/msgpack-python.SlackBuild
+++ b/python/msgpack-python/msgpack-python.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=msgpack-python
SRCNAM=$(echo $PRGNAM | cut -c1-7)
-VERSION=${VERSION:-0.5.6}
+VERSION=${VERSION:-1.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,17 +71,13 @@ find -L . \
-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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.rst COPYING PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md COPYING PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/python/msgpack-python/msgpack-python.info b/python/msgpack-python/msgpack-python.info
index 9c203b8f617b8..029c3ac31c884 100644
--- a/python/msgpack-python/msgpack-python.info
+++ b/python/msgpack-python/msgpack-python.info
@@ -1,8 +1,8 @@
PRGNAM="msgpack-python"
-VERSION="0.5.6"
+VERSION="1.0.2"
HOMEPAGE="https://msgpack.org/"
-DOWNLOAD="https://files.pythonhosted.org/packages/f3/b6/9affbea179c3c03a0eb53515d9ce404809a122f76bee8fc8c6ec9497f51f/msgpack-0.5.6.tar.gz"
-MD5SUM="9dfceb24c6e4e7de032687ee5a7ef4d6"
+DOWNLOAD="https://files.pythonhosted.org/packages/59/04/87fc6708659c2ed3b0b6d4954f270b6e931def707b227c4554f99bd5401e/msgpack-1.0.2.tar.gz"
+MD5SUM="68d5804254642905ba87ede509e68970"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""