summaryrefslogtreecommitdiff
path: root/python3-crashtest/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'python3-crashtest/Pkgfile')
-rw-r--r--python3-crashtest/Pkgfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/python3-crashtest/Pkgfile b/python3-crashtest/Pkgfile
index 117bc07c8..ba9002711 100644
--- a/python3-crashtest/Pkgfile
+++ b/python3-crashtest/Pkgfile
@@ -12,9 +12,10 @@ source=(https://github.com/sdispater/crashtest/archive/$version/$name-$version.t
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
+ /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
}

Generated by cgit