aboutsummaryrefslogtreecommitdiff
path: root/python/python3-setuptools-opt/python3-setuptools-opt.SlackBuild
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2024-09-08 14:18:54 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-09-14 23:36:56 +0700
commit1be140bbb55b41f4c7fe585eae7db051e07feba5 (patch)
tree205e45565bb58d09da0dafaf625d04f23898c188 /python/python3-setuptools-opt/python3-setuptools-opt.SlackBuild
parent35870a0c82dc12596308e016291cfb4e33c5a460 (diff)
python/python3-setuptools-opt: Updated for version 74.1.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-setuptools-opt/python3-setuptools-opt.SlackBuild')
-rw-r--r--python/python3-setuptools-opt/python3-setuptools-opt.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/python/python3-setuptools-opt/python3-setuptools-opt.SlackBuild b/python/python3-setuptools-opt/python3-setuptools-opt.SlackBuild
index 61b69d2f93..0435a532e6 100644
--- a/python/python3-setuptools-opt/python3-setuptools-opt.SlackBuild
+++ b/python/python3-setuptools-opt/python3-setuptools-opt.SlackBuild
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-setuptools-opt
SRCNAM=setuptools
-VERSION=${VERSION:-70.3.0}
+VERSION=${VERSION:-74.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -96,6 +96,7 @@ if [ "$LIBDIRSUFFIX" = "64" ]; then
fi
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+export PYTHONPATH=/opt/python$PYVER/site-packages
python3 -m build --no-isolation
python3 -m installer -d "$PKG" dist/*.whl
@@ -114,12 +115,12 @@ cp -a NEWS.rst LICENSE PKG-INFO README.rst \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-# If there's a CHANGES.rst, installing at least part of the recent history
+# If there's a docs/history.rst, installing at least part of the recent history
# is useful, but don't let it get totally out of control:
-if [ -r CHANGES.rst ]; then
+if [ -r docs/history.rst ]; then
DOCSDIR=$(echo $PKG/usr/doc/${PRGNAM}-$VERSION)
- cat CHANGES.rst | head -n 1000 > $DOCSDIR/CHANGES.rst
- touch -r CHANGES.rst $DOCSDIR/CHANGES.rst
+ cat docs/history.rst | head -n 1000 > $DOCSDIR/history.rst
+ touch -r docs/history.rst $DOCSDIR/history.rst
fi
mkdir -p $PKG/install