testing/py3-sphinx-theme-guzzle: build with gpep517

This commit is contained in:
ptrcnull 2024-08-05 22:42:00 +02:00
parent 77ce04ad6e
commit ae225697aa

View File

@ -3,23 +3,29 @@
pkgname=py3-sphinx-theme-guzzle
_pkgname=guzzle_sphinx_theme
pkgver=0.7.11
pkgrel=6
pkgrel=7
pkgdesc="The Guzzle Sphinx theme"
url="https://github.com/guzzle/guzzle_sphinx_theme"
arch="noarch"
license="MIT"
depends="py3-sphinx"
makedepends="py3-setuptools"
makedepends="py3-setuptools py3-gpep517"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
options="!check" # no testsuite
build() {
python3 setup.py build
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
gpep517 install-wheel --destdir "$pkgdir" \
.dist/*.whl
}
sha512sums="9aecdd4cf8ae286c9dd59a453790d957e96a57a9c9acd3aa38ff8fe64969cde4619c4154cd7304dd1c5bd0ea58fe71f556701b7a9b12f58fe3f5c1bdd2681da5 guzzle_sphinx_theme-0.7.11.tar.gz"
sha512sums="
9aecdd4cf8ae286c9dd59a453790d957e96a57a9c9acd3aa38ff8fe64969cde4619c4154cd7304dd1c5bd0ea58fe71f556701b7a9b12f58fe3f5c1bdd2681da5 guzzle_sphinx_theme-0.7.11.tar.gz
"