summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-02-18 18:42:03 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-19 12:10:41 +0700
commit015208478bf9a9e8cbd7a6d4cffb02c9283d2512 (patch)
tree09b558a408c041ca149b30bf313bc58cbb376b41
parent986c59de595f424a25d11cf7050f81f9db2d985a (diff)
downloadslackbuilds-015208478bf9a9e8cbd7a6d4cffb02c9283d2512.tar.gz
python/python-unicodedata2: Updated for version 14.0.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python-unicodedata2/README2
-rw-r--r--python/python-unicodedata2/python-unicodedata2.SlackBuild18
-rw-r--r--python/python-unicodedata2/python-unicodedata2.info6
-rw-r--r--python/python-unicodedata2/slack-desc4
4 files changed, 12 insertions, 18 deletions
diff --git a/python/python-unicodedata2/README b/python/python-unicodedata2/README
index e3b9db15d6..c528f5593d 100644
--- a/python/python-unicodedata2/README
+++ b/python/python-unicodedata2/README
@@ -1 +1 @@
-python-unicodedata2 - unicodedata backport/updates to python 3 and python 2.
+python-unicodedata2 - unicodedata backport/updates to python 3.
diff --git a/python/python-unicodedata2/python-unicodedata2.SlackBuild b/python/python-unicodedata2/python-unicodedata2.SlackBuild
index 1d776230dc..d85b893770 100644
--- a/python/python-unicodedata2/python-unicodedata2.SlackBuild
+++ b/python/python-unicodedata2/python-unicodedata2.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python-unicodedata2
-# Copyright 2017-2020 Andrew Clemons, Wellington New Zealand
+# Copyright 2017-2020,2022 Andrew Clemons, Wellington New Zealand
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,8 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python-unicodedata2
SRCNAM=unicodedata2
-VERSION=${VERSION:-13.0.0_2}
-SRCVERSION=$(echo "$VERSION" | tr _ -)
+VERSION=${VERSION:-14.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -71,9 +70,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$SRCVERSION
-tar xvf $CWD/$SRCNAM-$SRCVERSION.tar.gz
-cd $SRCNAM-$SRCVERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -81,12 +80,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-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
+python3 setup.py install --root=$PKG
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/python-unicodedata2/python-unicodedata2.info b/python/python-unicodedata2/python-unicodedata2.info
index 6ae7dbbecd..f961e8f8ee 100644
--- a/python/python-unicodedata2/python-unicodedata2.info
+++ b/python/python-unicodedata2/python-unicodedata2.info
@@ -1,8 +1,8 @@
PRGNAM="python-unicodedata2"
-VERSION="13.0.0_2"
+VERSION="14.0.0"
HOMEPAGE="https://pypi.python.org/pypi/unicodedata2"
-DOWNLOAD="https://github.com/fonttools/unicodedata2/archive/13.0.0-2/unicodedata2-13.0.0-2.tar.gz"
-MD5SUM="c9a43ce01811fecb3505fccae7fff428"
+DOWNLOAD="https://files.pythonhosted.org/packages/e8/10/85680b43276df4c485f1f14598681d8fd654aebd52872a8be405607cabaa/unicodedata2-14.0.0.tar.gz"
+MD5SUM="06d009c4cc288fffeef3ecfb583197c5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/python/python-unicodedata2/slack-desc b/python/python-unicodedata2/slack-desc
index 6b2216f25a..2b8b22a3a0 100644
--- a/python/python-unicodedata2/slack-desc
+++ b/python/python-unicodedata2/slack-desc
@@ -8,9 +8,9 @@
|-----handy-ruler------------------------------------------------------|
python-unicodedata2: python-unicodedata2 (unicodedata backport/updates to python)
python-unicodedata2:
-python-unicodedata2: unicodedata backport/updates to python 3 and python 2.
+python-unicodedata2: unicodedata backport/updates to python 3.
python-unicodedata2:
-python-unicodedata2: https://github.com/fonttools/unicodedata2
+python-unicodedata2: https://pypi.org/project/unicodedata2/
python-unicodedata2:
python-unicodedata2:
python-unicodedata2: