python/python-jsonrpclib: Updated for version 0.3.1.
This also add python3 support. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
bb6badf9a5
commit
bdd19f2969
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for python-jsonrpclib
|
||||
|
||||
# Copyright 2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
|
||||
# Copyright 2016-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -24,7 +24,7 @@
|
|||
|
||||
PRGNAM=python-jsonrpclib
|
||||
SRCNAM=jsonrpclib
|
||||
VERSION=${VERSION:-0.1.7}
|
||||
VERSION=${VERSION:-0.3.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -55,7 +55,7 @@ else
|
|||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
set -e
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
|
@ -72,6 +72,10 @@ find -L . \
|
|||
|
||||
python setup.py install --root=$PKG
|
||||
|
||||
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
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="python-jsonrpclib"
|
||||
VERSION="0.1.7"
|
||||
HOMEPAGE="https://github.com/joshmarshall/jsonrpclib/"
|
||||
DOWNLOAD="https://github.com/joshmarshall/jsonrpclib/archive/v0.1.7.tar.gz"
|
||||
MD5SUM="a071d3bb3f56b9bce4e3740f87784b0a"
|
||||
VERSION="0.3.1"
|
||||
HOMEPAGE="https://github.com/tcalmant/jsonrpclib"
|
||||
DOWNLOAD="https://github.com/tcalmant/jsonrpclib/archive/v0.3.1/jsonrpclib-0.3.1.tar.gz"
|
||||
MD5SUM="42f2f07d8d1b5badc33b7f1aebe6f36f"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
|
@ -15,5 +15,5 @@ python-jsonrpclib: (proposed) 2.0 spec, which includes batch submission, keyword
|
|||
python-jsonrpclib: arguments, etc.
|
||||
python-jsonrpclib:
|
||||
python-jsonrpclib:
|
||||
python-jsonrpclib: Project URL: https://github.com/joshmarshall/jsonrpclib
|
||||
python-jsonrpclib: Project URL: https://github.com/tcalmant/jsonrpclib
|
||||
python-jsonrpclib:
|
||||
|
|
Loading…
Reference in New Issue