mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/mkdocs-bootstrap: build with gpep517
This commit is contained in:
parent
1b289aafd3
commit
309fc64d0a
@ -2,23 +2,26 @@
|
||||
# Maintainer: David Demelier <markand@malikania.fr>
|
||||
pkgname=mkdocs-bootstrap
|
||||
pkgver=1.1.1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="bootstrap theme for mkdocs"
|
||||
url="http://mkdocs.github.io/mkdocs-bootstrap"
|
||||
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-bootstrap/mkdocs-bootstrap-$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="
|
||||
|
Loading…
Reference in New Issue
Block a user