backports/*: clean-up for 3.20 #478
1 changed files with 0 additions and 41 deletions
|
@ -1,41 +0,0 @@
|
|||
# Maintainer: Hoang Nguyen <folliekazetani@protonmail.com>
|
||||
pkgname=py3-sphinxcontrib-autoprogram
|
||||
pkgver=0.1.8
|
||||
pkgrel=2
|
||||
pkgdesc="Sphinx extension to document CLI programs"
|
||||
url="https://github.com/sphinx-contrib/autoprogram"
|
||||
arch="noarch"
|
||||
license="BSD-2-Clause"
|
||||
depends="python3 py3-six py3-sphinx"
|
||||
makedepends="
|
||||
py3-gpep517
|
||||
py3-setuptools
|
||||
py3-wheel
|
||||
"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="
|
||||
$pkgname-$pkgver.tar.gz::https://github.com/sphinx-contrib/autoprogram/archive/refs/tags/$pkgver.tar.gz
|
||||
"
|
||||
builddir="$srcdir/autoprogram-$pkgver"
|
||||
options="!check" # no tests
|
||||
|
||||
build() {
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir .dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
check() {
|
||||
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
||||
.testenv/bin/python3 -m installer .dist/*.whl
|
||||
.testenv/bin/python3 -m unittest discover
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
.dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
bc07f25c34884f8e3130bbe5d2d6fb645f45aca5794c6b11a772f0351d680380d3e63cfe4b60aabf05ad8c6f44bae72e592500454598d31cc3c98dcbc8dbf899 py3-sphinxcontrib-autoprogram-0.1.8.tar.gz
|
||||
"
|
Loading…
Reference in a new issue