backports/py3-sphinxcontrib-autoprogram: update build

This commit is contained in:
Antoine Martin 2023-11-24 13:30:06 -05:00
parent c558ea4340
commit d1cd058cf3
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -21,19 +21,19 @@ options="!check" # no tests
build() { build() {
gpep517 build-wheel \ gpep517 build-wheel \
--wheel-dir dist \ --wheel-dir .dist \
--output-fd 3 3>&1 >&2 --output-fd 3 3>&1 >&2
} }
check() { check() {
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 unittest discover .testenv/bin/python3 -m unittest discover
} }
package() { package() {
python3 -m installer -d "$pkgdir" \ python3 -m installer -d "$pkgdir" \
dist/*.whl .dist/*.whl
} }
sha512sums=" sha512sums="