mirror of
https://github.com/Ponce/slackbuilds
synced 2024-09-29 17:37:55 +02:00
python/typing: Updated for version 3.6.4.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
01fbc933dc
commit
78abd5f779
3 changed files with 12 additions and 5 deletions
|
@ -1,2 +1,4 @@
|
|||
This is a backport of the standard library typing module to Python
|
||||
versions older than 3.5.
|
||||
|
||||
python3 is an optional dependency (autodetected).
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for typing
|
||||
|
||||
# Copyright 2016-2017 Dimitris Zlatanidis Orestiada, Greece
|
||||
# Copyright 2016-2018 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.2}
|
||||
VERSION=${VERSION:-3.6.4}
|
||||
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 -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="typing"
|
||||
VERSION="3.6.2"
|
||||
VERSION="3.6.4"
|
||||
HOMEPAGE="https://docs.python.org/3.5/library/typing.html"
|
||||
DOWNLOAD="https://pypi.python.org/packages/ca/38/16ba8d542e609997fdcd0214628421c971f8c395084085354b11ff4ac9c3/typing-3.6.2.tar.gz"
|
||||
MD5SUM="143af0bf3afd1887622771f2f1ffe8e1"
|
||||
DOWNLOAD="https://pypi.python.org/packages/ec/cc/28444132a25c113149cec54618abc909596f0b272a74c55bab9593f8876c/typing-3.6.4.tar.gz"
|
||||
MD5SUM="5b2ade08d83be488f17b5fe587c27c74"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue