python3-crashtest: always use python3-poetry-core

This commit is contained in:
Tim Biermann 2023-04-02 17:14:10 +02:00
parent 031024e593
commit 3449d576c4
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 6 additions and 11 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF30aq0N9f80wmmkMZUAFakH67OXhzWp1MHuDjM2irLdtIwjqlRyiVVV9Sc/6KXmFqRIvpQxahOFePP55m8+fOSws=
SHA256 (Pkgfile) = 0532ef721ccb4dbd4a378e9b8509e82e85672bdb566b69558eef0b7bfe86e28e
RWSagIOpLGJF33jIdH2Vz63B1JKYkk1qYffF9dASXtfzS/J1bxoAoNHm1gfq4mbsLnCRuYJ1COSE/Hr9vpRf9Sk4uNmYzEixyQA=
SHA256 (Pkgfile) = 238443bf08d65cb3d9c62f03cecc156ea33f22431cc52b3a27f9d152db713e66
SHA256 (.footprint) = 291f47c24a53887cc1fb0276bb9886ae23b27862e7d174a1034334f7faaa6bf9
SHA256 (python3-crashtest-0.4.1.tar.gz) = 4ff59d9bee6d2bc581d462888ec28beb30ad448042c885a2b4ab45dc4910780b

View File

@ -1,8 +1,7 @@
# Description: supposedly makes exceptions handling and inspection easier
# URL: https://github.com/sdispater/crashtest
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-pip python3-yaspin
# Optional: python3-poetry
# Depends on: python3-yaspin
name=python3-crashtest
version=0.4.1
@ -11,11 +10,7 @@ source=(https://github.com/sdispater/crashtest/archive/$version/$name-$version.t
build() {
cd crashtest-$version
if prt-get isinst python3-poetry; then
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m installer --compile-bytecode 0 --destdir=$PKG dist/*.whl
else
/usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps crashtest
rm -rf $PKG/usr/lib/python*/site-packages/crashtest-$version.dist-info/{INSTALLER,REQUESTED}
fi
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m installer --compile-bytecode 0 --destdir=$PKG dist/*.whl
}