testing/mkdocs-bootswatch: build with gpep517

This commit is contained in:
ptrcnull 2024-08-04 23:33:22 +02:00
parent 3971ff8430
commit 7d71a40f29

View File

@ -2,23 +2,26 @@
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=mkdocs-bootswatch
pkgver=1.1
pkgrel=4
pkgrel=5
pkgdesc="bootswatch themes for mkdocs"
url="http://mkdocs.org"
arch="noarch"
license="BSD-2-Clause"
depends="python3"
makedepends="py3-setuptools"
makedepends="py3-setuptools py3-gpep517"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/m/mkdocs-bootswatch/mkdocs-bootswatch-$pkgver.tar.gz"
options="!check" # No tests.
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="