backports/py3-sphinxcontrib-autoprogram: update build
This commit is contained in:
parent
c558ea4340
commit
d1cd058cf3
1 changed files with 5 additions and 5 deletions
|
@ -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="
|
||||||
|
|
Loading…
Add table
Reference in a new issue