forked from ports/contrib
21 lines
680 B
Plaintext
21 lines
680 B
Plaintext
# 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
|
|
|
|
name=python3-crashtest
|
|
version=0.4.0
|
|
release=1
|
|
source=(https://github.com/sdispater/crashtest/archive/$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd crashtest-$version
|
|
if prt-get isinst python3-poetry; then
|
|
/usr/bin/poetry build --format wheel
|
|
/usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps dist/*.whl
|
|
else
|
|
/usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps crashtest
|
|
fi
|
|
}
|