newapkbuild: update gpep517 template for new style

This commit is contained in:
psykose 2023-06-07 05:30:38 +00:00
parent 446a2a66e3
commit 49ebbd94e9
1 changed files with 5 additions and 5 deletions

View File

@ -105,7 +105,7 @@ __EOF__
build_python_gpep517() {
cat >>APKBUILD<<__EOF__
gpep517 build-wheel \\
--wheel-dir dist \\
--wheel-dir .dist \\
--output-fd 3 3>&1 >&2
__EOF__
}
@ -144,9 +144,9 @@ __EOF__
check_python_gpep517() {
cat >>APKBUILD<<__EOF__
python3 -m venv --clear --without-pip --system-site-packages testenv
testenv/bin/python3 -m installer dist/*.whl
testenv/bin/python3 -m pytest
python3 -m venv --clear --without-pip --system-site-packages .testenv
.testenv/bin/python3 -m installer .dist/*.whl
.testenv/bin/python3 -m pytest
__EOF__
}
@ -208,7 +208,7 @@ __EOF__
package_python_gpep517() {
cat >>APKBUILD<<__EOF__
python3 -m installer -d "\$pkgdir" \\
dist/*.whl
.dist/*.whl
__EOF__
}