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/tinycss2.SlackBuild | |
parent | 6832f8193ce833b21c2a0a41e324f179cfbde467 (diff) |
python/tinycss2: Removed python2 support.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'python/tinycss2/tinycss2.SlackBuild')
-rw-r--r-- | python/tinycss2/tinycss2.SlackBuild | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/python/tinycss2/tinycss2.SlackBuild b/python/tinycss2/tinycss2.SlackBuild index 7d7328bc00b9c..d718332bd2801 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 |