python/python-webencodings: Removed Python 2 support.

Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Benjamin Trigona-Harany 2021-04-21 20:18:09 +02:00 committed by Willy Sudiarto Raharjo
parent faabd1ceb9
commit 5ce3f8f098
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,7 @@
#
# SlackBuild for python-webencodings
#
# Copyright 2017-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@ -68,7 +68,6 @@ 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 {} \;
python2 setup.py install --root=$PKG
python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \