summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorFernando Lopez Jr <fernando.lopezjr@gmail.com>2018-01-05 13:57:35 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-06 06:41:49 +0700
commit4b98a167ab93e5fc40136846a19c726aa864f958 (patch)
tree15347b3c04d51a87e77d7ef346b83e36a5be88c0 /network
parent3dff4a8780f4e35ab793f6a00cba2c40dbfca8e9 (diff)
downloadslackbuilds-4b98a167ab93e5fc40136846a19c726aa864f958.tar.gz
network/PySocks: Updated for version 1.6.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/PySocks/PySocks.SlackBuild7
-rw-r--r--network/PySocks/PySocks.info6
2 files changed, 9 insertions, 4 deletions
diff --git a/network/PySocks/PySocks.SlackBuild b/network/PySocks/PySocks.SlackBuild
index 4d7b603995..0c37c92309 100644
--- a/network/PySocks/PySocks.SlackBuild
+++ b/network/PySocks/PySocks.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=PySocks
-VERSION=${VERSION:-1.5.7}
+VERSION=${VERSION:-1.6.8}
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 | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/network/PySocks/PySocks.info b/network/PySocks/PySocks.info
index 61cccdb3a4..2c3c91bcba 100644
--- a/network/PySocks/PySocks.info
+++ b/network/PySocks/PySocks.info
@@ -1,8 +1,8 @@
PRGNAM="PySocks"
-VERSION="1.5.7"
+VERSION="1.6.8"
HOMEPAGE="https://pypi.python.org/pypi/PySocks"
-DOWNLOAD="https://pypi.python.org/packages/16/56/9b3513078f837fa8cb88ee01ec1cd805ed8104a37bc02ca8c2588ae8fe5a/PySocks-1.5.7.tar.gz"
-MD5SUM="68f4ad7a8d4fa725656ae3e9dd142d29"
+DOWNLOAD="https://pypi.python.org/packages/53/12/6bf1d764f128636cef7408e8156b7235b150ea31650d0260969215bb8e7d/PySocks-1.6.8.tar.gz"
+MD5SUM="441c4e3bf5b042f7e70613cd871df26c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""