aboutsummaryrefslogtreecommitdiff
path: root/python/python3-poetry-core/python3-poetry-core.SlackBuild
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-12-01 21:56:11 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-12-03 09:09:15 +0700
commit0b6769b14e3555c68404d285d1560009d64fb52e (patch)
tree3bfacbd53816a501b4f3105030af10964097b5c2 /python/python3-poetry-core/python3-poetry-core.SlackBuild
parent1c5465e8e3be638191db7de7a146c6c88f884feb (diff)
python/python3-poetry-core: Updated for version 1.4.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-poetry-core/python3-poetry-core.SlackBuild')
-rw-r--r--python/python3-poetry-core/python3-poetry-core.SlackBuild11
1 files changed, 2 insertions, 9 deletions
diff --git a/python/python3-poetry-core/python3-poetry-core.SlackBuild b/python/python3-poetry-core/python3-poetry-core.SlackBuild
index 3f5240918d..7a56bb8d00 100644
--- a/python/python3-poetry-core/python3-poetry-core.SlackBuild
+++ b/python/python3-poetry-core/python3-poetry-core.SlackBuild
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-poetry-core
-SRCNAM=$(echo $PRGNAM | sed "s/python3-//")
-VERSION=${VERSION:-1.3.2}
+SRCNAM=$(echo $PRGNAM | sed -e "s/python3-//" -e "s/-/_/")
+VERSION=${VERSION:-1.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,9 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -83,10 +80,6 @@ find -L . \
python3 -m build --no-isolation
python3 -m installer -d "$PKG" dist/*.whl
-# installing tests to a subdir of your project might not conflict the toplevel, but
-# don't do it anyway...
-#rm -r "$PKG"/usr/lib${LIBDIRSUFFIX}/python*/site-packages/${SRCNAM}/tests/
-
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