diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/python3-setuptools-opt/python3-setuptools-opt.SlackBuild | 11 | ||||
-rw-r--r-- | python/python3-setuptools-opt/python3-setuptools-opt.info | 8 |
2 files changed, 10 insertions, 9 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 diff --git a/python/python3-setuptools-opt/python3-setuptools-opt.info b/python/python3-setuptools-opt/python3-setuptools-opt.info index cc508a9621..ac937ff8f3 100644 --- a/python/python3-setuptools-opt/python3-setuptools-opt.info +++ b/python/python3-setuptools-opt/python3-setuptools-opt.info @@ -1,10 +1,10 @@ PRGNAM="python3-setuptools-opt" -VERSION="70.3.0" +VERSION="74.1.2" HOMEPAGE="https://pypi.org/project/setuptools/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/s/setuptools/setuptools-70.3.0.tar.gz" -MD5SUM="2ba75817d4b434bb6e3d67d48a808457" +DOWNLOAD="https://files.pythonhosted.org/packages/source/s/setuptools/setuptools-74.1.2.tar.gz" +MD5SUM="dade67d5cb658dfb31c1ec7e0186426e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-build python3-wheel" +REQUIRES="python3-packaging-opt python3-wheel" MAINTAINER="fourtysixandtwo" EMAIL="fourtysixandtwo@sliderr.net" |