diff options
author | Arn0 <yth@ythogtha.org> | 2024-03-25 09:16:59 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-03-29 07:40:35 +0700 |
commit | 1b3b127e3efc0519141b60c3adaf0bc7aa025ec9 (patch) | |
tree | acdd8c59b61c21dd177dcd10e588560ee1a10460 | |
parent | 19ece056bc5c48c1d9fc6cd5ff23f49bfcc0d508 (diff) |
python/python3-click-didyoumean: updated for version 0.3.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | python/python3-click-didyoumean/python3-click-didyoumean.SlackBuild | 9 | ||||
-rw-r--r-- | python/python3-click-didyoumean/python3-click-didyoumean.info | 8 |
2 files changed, 9 insertions, 8 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 diff --git a/python/python3-click-didyoumean/python3-click-didyoumean.info b/python/python3-click-didyoumean/python3-click-didyoumean.info index 3c0024aa4a65..107aa05ae1fe 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" |