diff --git a/python/python3-click-didyoumean/python3-click-didyoumean.SlackBuild b/python/python3-click-didyoumean/python3-click-didyoumean.SlackBuild index f468389280..d69a7bc97c 100644 --- a/python/python3-click-didyoumean/python3-click-didyoumean.SlackBuild +++ b/python/python3-click-didyoumean/python3-click-didyoumean.SlackBuild @@ -26,8 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-click-didyoumean -SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-0.3.0} +SRCNAM=$(tr - _ <<< ${PRGNAM#python3-*}) +VERSION=${VERSION:-0.3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -49,7 +49,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -#set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG @@ -64,7 +64,8 @@ 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/python/python3-click-didyoumean/python3-click-didyoumean.info b/python/python3-click-didyoumean/python3-click-didyoumean.info index 3c0024aa4a..107aa05ae1 100644 --- a/python/python3-click-didyoumean/python3-click-didyoumean.info +++ b/python/python3-click-didyoumean/python3-click-didyoumean.info @@ -1,10 +1,10 @@ PRGNAM="python3-click-didyoumean" -VERSION="0.3.0" +VERSION="0.3.1" HOMEPAGE="https://pypi.org/project/click-didyoumean/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/c/click-didyoumean/click-didyoumean-0.3.0.tar.gz" -MD5SUM="025e673b8fccd590049a54457b32ef7d" +DOWNLOAD="https://files.pythonhosted.org/packages/source/c/click_didyoumean/click_didyoumean-0.3.1.tar.gz" +MD5SUM="a7d95362366d8e8db0f6f5432dcc0279" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-poetry-core" MAINTAINER="Yth - Arnaud" EMAIL="yth@ythogtha.org"