diff options
Diffstat (limited to 'python/python3-click-didyoumean/python3-click-didyoumean.SlackBuild')
-rw-r--r-- | python/python3-click-didyoumean/python3-click-didyoumean.SlackBuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/python/python3-click-didyoumean/python3-click-didyoumean.SlackBuild b/python/python3-click-didyoumean/python3-click-didyoumean.SlackBuild index f468389280b7..d69a7bc97cc3 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 |