diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2021-05-03 13:05:08 +0300 |
---|---|---|
committer | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2021-05-03 13:05:08 +0300 |
commit | 1d9ced8bab7abfec86c764eb774cfcfb1d2c90c5 (patch) | |
tree | 483ac0352b0004d67a55148871fe6e135dffa1b6 /python/tinycss2 | |
parent | 6832f8193ce833b21c2a0a41e324f179cfbde467 (diff) |
python/tinycss2: Removed python2 support.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'python/tinycss2')
-rw-r--r-- | python/tinycss2/tinycss2.SlackBuild | 9 | ||||
-rw-r--r-- | python/tinycss2/tinycss2.info | 2 |
2 files changed, 3 insertions, 8 deletions
diff --git a/python/tinycss2/tinycss2.SlackBuild b/python/tinycss2/tinycss2.SlackBuild index 7d7328bc00b9..d718332bd280 100644 --- a/python/tinycss2/tinycss2.SlackBuild +++ b/python/tinycss2/tinycss2.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=tinycss2 VERSION=${VERSION:-1.1.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,12 +69,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/tinycss2/tinycss2.info b/python/tinycss2/tinycss2.info index fb7e4cafe7f7..1d454afc3f38 100644 --- a/python/tinycss2/tinycss2.info +++ b/python/tinycss2/tinycss2.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/ce/d3/ece7a98d5826bd134e269a3a MD5SUM="7caf513c4e87fc2449dcfbf407a8416f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python-webencodings" +REQUIRES="python3 python-webencodings" MAINTAINER="Dimitris Zlatanidis" EMAIL="d.zlatanidis@gmail.com" |