diff options
Diffstat (limited to 'python/sphinx-autobuild')
-rw-r--r-- | python/sphinx-autobuild/sphinx-autobuild.SlackBuild | 28 | ||||
-rw-r--r-- | python/sphinx-autobuild/sphinx-autobuild.info | 8 |
2 files changed, 12 insertions, 24 deletions
diff --git a/python/sphinx-autobuild/sphinx-autobuild.SlackBuild b/python/sphinx-autobuild/sphinx-autobuild.SlackBuild index 81ee1c27f3..aeef971067 100644 --- a/python/sphinx-autobuild/sphinx-autobuild.SlackBuild +++ b/python/sphinx-autobuild/sphinx-autobuild.SlackBuild @@ -25,7 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=sphinx-autobuild -VERSION=${VERSION:-2021.3.14} +SRCNAM=sphinx_autobuild +VERSION=${VERSION:-2024.10.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -50,28 +51,14 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -79,13 +66,14 @@ 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 {} \; -python3 setup.py install --root=$PKG +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE AUTHORS CONTRIBUTING.md NEWS.rst README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE.rst AUTHORS.rst NEWS.rst README.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/sphinx-autobuild/sphinx-autobuild.info b/python/sphinx-autobuild/sphinx-autobuild.info index 60ca0847be..801bc7b989 100644 --- a/python/sphinx-autobuild/sphinx-autobuild.info +++ b/python/sphinx-autobuild/sphinx-autobuild.info @@ -1,10 +1,10 @@ PRGNAM="sphinx-autobuild" -VERSION="2021.3.14" +VERSION="2024.10.3" HOMEPAGE="https://github.com/executablebooks/sphinx-autobuild" -DOWNLOAD="https://files.pythonhosted.org/packages/df/a5/2ed1b81e398bc14533743be41bf0ceaa49d671675f131c4d9ce74897c9c1/sphinx-autobuild-2021.3.14.tar.gz" -MD5SUM="6d94d37f8cdd5a5e2ed76e15cf6c0913" +DOWNLOAD="https://files.pythonhosted.org/packages/source/s/sphinx_autobuild/sphinx_autobuild-2024.10.3.tar.gz" +MD5SUM="f2e25fcd546f9135f7104bb0d269ea83" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-build python3-wheel" MAINTAINER="Tonus" EMAIL="tonus1@free.fr" |