2021-06-14 19:51:47 +00:00
|
|
|
# Description: supposedly makes exceptions handling and inspection easier
|
|
|
|
# URL: https://github.com/sdispater/crashtest
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2022-02-16 15:30:33 +01:00
|
|
|
# Depends on: python3-pip python3-yaspin
|
|
|
|
# Optional: python3-poetry
|
2021-06-14 19:51:47 +00:00
|
|
|
|
|
|
|
name=python3-crashtest
|
2022-08-03 23:13:23 +02:00
|
|
|
version=0.4.0
|
2021-06-14 19:51:47 +00:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/sdispater/crashtest/archive/$version/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd crashtest-$version
|
2022-02-16 15:30:33 +01:00
|
|
|
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
|
2021-06-14 19:51:47 +00:00
|
|
|
}
|