mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/py3-sphinx-theme-better: build with gpep517, disable check
This commit is contained in:
parent
1577a1e2c4
commit
2981e84802
@ -3,27 +3,30 @@
|
||||
pkgname=py3-sphinx-theme-better
|
||||
_pkgname=sphinx-better-theme
|
||||
pkgver=0.1.5
|
||||
pkgrel=6
|
||||
pkgrel=7
|
||||
pkgdesc="The Better Sphinx theme"
|
||||
url="https://github.com/irskep/sphinx-better-theme"
|
||||
arch="noarch"
|
||||
license="BSD-2-Clause"
|
||||
depends="py3-sphinx"
|
||||
makedepends="py3-setuptools"
|
||||
makedepends="py3-setuptools py3-gpep517"
|
||||
checkdepends="py3-pytest"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/irskep/sphinx-better-theme/archive/refs/tags/v$pkgver.tar.gz"
|
||||
builddir="$srcdir"/$_pkgname-$pkgver
|
||||
options="!check" # no tests provided
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
python3 setup.py check
|
||||
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="057c0f0c57fa7a9637997f22ba9931844020ba537f5eafaf9504352fe6ae70fc2d10c0dc6fb06f8ab31c45d7cf4760e9e3047aaaa105060af4ead04de31c8af1 py3-sphinx-theme-better-0.1.5.tar.gz"
|
||||
sha512sums="
|
||||
057c0f0c57fa7a9637997f22ba9931844020ba537f5eafaf9504352fe6ae70fc2d10c0dc6fb06f8ab31c45d7cf4760e9e3047aaaa105060af4ead04de31c8af1 py3-sphinx-theme-better-0.1.5.tar.gz
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user