summaryrefslogtreecommitdiff
path: root/python/python-unicodedata2
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2018-11-06 20:30:46 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-10 07:48:14 +0700
commitcf76de9e961eba546f58854bd8163ea41dc4f1ec (patch)
tree55dd5344e0ea3d3acb54212fb8d53f51cb0ab72a /python/python-unicodedata2
parenta43dce068a1b842498d1151fab5461760f2e50d6 (diff)
downloadslackbuilds-cf76de9e961eba546f58854bd8163ea41dc4f1ec.tar.gz
python/python-unicodedata2: Updated for version 11.0.0_2
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'python/python-unicodedata2')
-rw-r--r--python/python-unicodedata2/python-unicodedata2.SlackBuild9
-rw-r--r--python/python-unicodedata2/python-unicodedata2.info6
2 files changed, 8 insertions, 7 deletions
diff --git a/python/python-unicodedata2/python-unicodedata2.SlackBuild b/python/python-unicodedata2/python-unicodedata2.SlackBuild
index aa5ef31b52..c8470939b1 100644
--- a/python/python-unicodedata2/python-unicodedata2.SlackBuild
+++ b/python/python-unicodedata2/python-unicodedata2.SlackBuild
@@ -24,7 +24,8 @@
PRGNAM=python-unicodedata2
SRCNAM=unicodedata2
-VERSION=${VERSION:-11.0.0}
+VERSION=${VERSION:-11.0.0_2}
+SRCVERSION=$(echo "$VERSION" | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,9 +61,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
+lm -rf $SRCNAM-$SRCVERSION
+tar xvf $CWD/$SRCNAM-$SRCVERSION.tar.gz
+cd $SRCNAM-$SRCVERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/python/python-unicodedata2/python-unicodedata2.info b/python/python-unicodedata2/python-unicodedata2.info
index dc99a35c6b..9cab4f9242 100644
--- a/python/python-unicodedata2/python-unicodedata2.info
+++ b/python/python-unicodedata2/python-unicodedata2.info
@@ -1,8 +1,8 @@
PRGNAM="python-unicodedata2"
-VERSION="11.0.0"
+VERSION="11.0.0_2"
HOMEPAGE="https://pypi.python.org/pypi/unicodedata2"
-DOWNLOAD="https://github.com/mikekap/unicodedata2/archive/11.0.0/unicodedata2-11.0.0.tar.gz"
-MD5SUM="789bef4c68c14ef05d9e880ee0ae8fe2"
+DOWNLOAD="https://github.com/mikekap/unicodedata2/archive/11.0.0-2/unicodedata2-11.0.0-2.tar.gz"
+MD5SUM="9e8aee22d676df690d5e46298a7b29ae"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""