summaryrefslogtreecommitdiffstats
path: root/python3-setuptools
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2021-03-02 15:35:24 +0000
committer Eric Hameleers <alien@slackware.com>2021-03-02 15:35:24 +0000
commitf2971d6dd6c7ef9a4c27420b56ef26eb5ecd600a (patch)
tree96549dadc21fb9edd1cd2fdfee6d1a56e59beffe /python3-setuptools
parent74c17daff12425124ffbe1509f8a88f94398b275 (diff)
downloadasb-f2971d6dd6c7ef9a4c27420b56ef26eb5ecd600a.tar.gz
asb-f2971d6dd6c7ef9a4c27420b56ef26eb5ecd600a.tar.xz
python3-setuptools: update to 54.0.0
Diffstat (limited to 'python3-setuptools')
-rwxr-xr-xpython3-setuptools/build/python3-setuptools.SlackBuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/python3-setuptools/build/python3-setuptools.SlackBuild b/python3-setuptools/build/python3-setuptools.SlackBuild
index e0bd970b..74cad82d 100755
--- a/python3-setuptools/build/python3-setuptools.SlackBuild
+++ b/python3-setuptools/build/python3-setuptools.SlackBuild
@@ -21,12 +21,12 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Modified for pure Python3 - 2019 by Eric Hameleers <alien@slackware.com>
+# Modified for pure Python3 - 2019, 2021 by Eric Hameleers <alien@slackware.com>
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=python3-setuptools
-VERSION=${VERSION:-41.0.1}
+VERSION=${VERSION:-54.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-alien}
@@ -60,23 +60,22 @@ cd $SRCNAM-$VERSION || exit 1
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
rm -f setuptools/*.exe
-python3 bootstrap.py || exit 1
python3 setup.py install --root=$PKG || exit 1
-# Drop the python3 version of easy_install so the python 2.7
-# one is installed. We prefer that one to be the default for now.
-rm -rf $PKG/usr/bin/easy_install
+# Rename the python3 version of easy_install.
+# We prefer the python 2.7 one to be the default for now.
+mv $PKG/usr/bin/easy_install{,3}
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a CHANGES.rst PKG-INFO README.rst docs/*.txt \
$PKG/usr/doc/$PKGNAM-$VERSION
-find $PKG/usr/doc/$PKGNAM-$VERSION -type f -exec chmod 0644 {} \;
+find $PKG/usr/doc/$PKGNAM-$VERSION -type f -exec chmod 0644 {} \+
# If there's a CHANGES.rst, installing at least part of the recent history
# is useful, but don't let it get totally out of control: