mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-07 17:52:10 +01:00
testing/py3-sphinxcontrib-mermaid: new aport
https://github.com/mgaitan/sphinxcontrib-mermaid Mermaid diagrams in yours sphinx powered docs
This commit is contained in:
parent
e2f34f4059
commit
0e4d97bf94
48
testing/py3-sphinxcontrib-mermaid/APKBUILD
Normal file
48
testing/py3-sphinxcontrib-mermaid/APKBUILD
Normal file
@ -0,0 +1,48 @@
|
||||
# Maintainer: Marian Buschsieweke <marian.buschsieweke@posteo.net>
|
||||
pkgname=py3-sphinxcontrib-mermaid
|
||||
_pkgname=sphinxcontrib-mermaid
|
||||
pkgver=1.0.0
|
||||
pkgrel=0
|
||||
pkgdesc="Mermaid diagrams in yours sphinx powered docs"
|
||||
url="https://github.com/mgaitan/sphinxcontrib-mermaid"
|
||||
arch="noarch"
|
||||
license="BSD-2-Clause"
|
||||
depends="
|
||||
py3-sphinx
|
||||
py3-yaml
|
||||
"
|
||||
makedepends="
|
||||
py3-setuptools
|
||||
py3-gpep517
|
||||
py3-wheel
|
||||
"
|
||||
checkdepends="
|
||||
py3-defusedxml
|
||||
py3-myst-parser
|
||||
py3-pytest
|
||||
ruff
|
||||
"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/mgaitan/sphinxcontrib-mermaid/archive/refs/tags/$pkgver.tar.gz"
|
||||
builddir="$srcdir"/$_pkgname-$pkgver
|
||||
|
||||
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 pytest
|
||||
}
|
||||
|
||||
package() {
|
||||
gpep517 install-wheel --destdir "$pkgdir" \
|
||||
.dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
f19f21aba74e4bb192d2be6b216b711d7ee6fd2393354451146aacb41ded5323fbc9bc8a58b75e5dfe6e102746dba1e1419d166cca15f6d4c33f6ab9940a269c py3-sphinxcontrib-mermaid-1.0.0.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user