summaryrefslogtreecommitdiff
path: root/network/PySocks
diff options
context:
space:
mode:
Diffstat (limited to 'network/PySocks')
-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=""