Skip to content
Snippets Groups Projects
Commit 49ebbd94 authored by alice's avatar alice
Browse files

newapkbuild: update gpep517 template for new style

parent 446a2a66
No related branches found
No related tags found
No related merge requests found
...@@ -105,7 +105,7 @@ __EOF__ ...@@ -105,7 +105,7 @@ __EOF__
build_python_gpep517() { build_python_gpep517() {
cat >>APKBUILD<<__EOF__ cat >>APKBUILD<<__EOF__
gpep517 build-wheel \\ gpep517 build-wheel \\
--wheel-dir dist \\ --wheel-dir .dist \\
--output-fd 3 3>&1 >&2 --output-fd 3 3>&1 >&2
__EOF__ __EOF__
} }
...@@ -144,9 +144,9 @@ __EOF__ ...@@ -144,9 +144,9 @@ __EOF__
check_python_gpep517() { check_python_gpep517() {
cat >>APKBUILD<<__EOF__ cat >>APKBUILD<<__EOF__
python3 -m venv --clear --without-pip --system-site-packages testenv python3 -m venv --clear --without-pip --system-site-packages .testenv
testenv/bin/python3 -m installer dist/*.whl .testenv/bin/python3 -m installer .dist/*.whl
testenv/bin/python3 -m pytest .testenv/bin/python3 -m pytest
__EOF__ __EOF__
} }
...@@ -208,7 +208,7 @@ __EOF__ ...@@ -208,7 +208,7 @@ __EOF__
package_python_gpep517() { package_python_gpep517() {
cat >>APKBUILD<<__EOF__ cat >>APKBUILD<<__EOF__
python3 -m installer -d "\$pkgdir" \\ python3 -m installer -d "\$pkgdir" \\
dist/*.whl .dist/*.whl
__EOF__ __EOF__
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment