mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
python/python3-poetry-core: Updated for version 1.4.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
1c5465e8e3
commit
0b6769b14e
2 changed files with 5 additions and 12 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="python3-poetry-core"
|
||||
VERSION="1.3.2"
|
||||
VERSION="1.4.0"
|
||||
HOMEPAGE="https://github.com/python-poetry/poetry-core"
|
||||
DOWNLOAD="https://files.pythonhosted.org/packages/source/p/poetry-core/poetry-core-1.3.2.tar.gz"
|
||||
MD5SUM="c1789d74b103f41ae178b079ae31c8a7"
|
||||
DOWNLOAD="https://files.pythonhosted.org/packages/source/p/poetry_core/poetry_core-1.4.0.tar.gz"
|
||||
MD5SUM="e1f94987c3810c239d711e308b6f7f19"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="python3-build python3-installer"
|
||||
|
|
Loading…
Reference in a new issue