diff options
Diffstat (limited to 'python3-crashtest/Pkgfile')
-rw-r--r-- | python3-crashtest/Pkgfile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/python3-crashtest/Pkgfile b/python3-crashtest/Pkgfile index d052da646..654c830fa 100644 --- a/python3-crashtest/Pkgfile +++ b/python3-crashtest/Pkgfile @@ -1,7 +1,8 @@ # 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-pyproject2setuppy python3-yaspin +# Depends on: python3-pip python3-yaspin +# Optional: python3-poetry name=python3-crashtest version=0.3.1 @@ -10,8 +11,10 @@ source=(https://github.com/sdispater/crashtest/archive/$version/$name-$version.t build() { cd crashtest-$version - /usr/bin/python3 -m pyproject2setuppy.main build - /usr/bin/python3 -m pyproject2setuppy.main install --prefix=/usr \ - --root=$PKG \ - --skip-build + 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 } |