aboutsummaryrefslogtreecommitdiff
path: root/python/typing
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2019-04-13 16:46:42 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-04-20 08:20:56 +0700
commit21f59c6cd82e44f54abeb7f8ae05f687689e0290 (patch)
treebd24a0d06498a8277ad7e0bf04b2bd2a72c7ef12 /python/typing
parent0943809d759ef5825b74470b204377cc4e52123b (diff)
python/typing: Updated for version 3.6.6.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'python/typing')
-rw-r--r--python/typing/README2
-rw-r--r--python/typing/typing.SlackBuild9
-rw-r--r--python/typing/typing.info6
3 files changed, 5 insertions, 12 deletions
diff --git a/python/typing/README b/python/typing/README
index 471488acfffff..21502e4a6fb46 100644
--- a/python/typing/README
+++ b/python/typing/README
@@ -1,4 +1,2 @@
This is a backport of the standard library typing module to Python
versions older than 3.5.
-
-python3 is an optional dependency (autodetected).
diff --git a/python/typing/typing.SlackBuild b/python/typing/typing.SlackBuild
index fc6e681e9cec3..30cfe2862594e 100644
--- a/python/typing/typing.SlackBuild
+++ b/python/typing/typing.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for typing
-# Copyright 2016-2018 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2016-2019 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=typing
-VERSION=${VERSION:-3.6.4}
+VERSION=${VERSION:-3.6.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,11 +71,6 @@ 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/typing/typing.info b/python/typing/typing.info
index fd6712f4c9794..abd6ac7405571 100644
--- a/python/typing/typing.info
+++ b/python/typing/typing.info
@@ -1,8 +1,8 @@
PRGNAM="typing"
-VERSION="3.6.4"
+VERSION="3.6.6"
HOMEPAGE="https://docs.python.org/3.5/library/typing.html"
-DOWNLOAD="https://pypi.python.org/packages/ec/cc/28444132a25c113149cec54618abc909596f0b272a74c55bab9593f8876c/typing-3.6.4.tar.gz"
-MD5SUM="5b2ade08d83be488f17b5fe587c27c74"
+DOWNLOAD="https://files.pythonhosted.org/packages/bf/9b/2bf84e841575b633d8d91ad923e198a415e3901f228715524689495b4317/typing-3.6.6.tar.gz"
+MD5SUM="64614206b4bdc0864fc0e0bccd69efc9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""