mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
33 lines
934 B
Plaintext
33 lines
934 B
Plaintext
# Contributor: Galen Abell <galen@galenabell.com>
|
|
# Maintainer: Galen Abell <galen@galenabell.com>
|
|
pkgname=py3-docstring-to-markdown
|
|
_pyname=docstring-to-markdown
|
|
pkgver=0.12
|
|
pkgrel=1
|
|
pkgdesc="On the fly conversion of Python docstrings to markdown"
|
|
url="https://github.com/python-lsp/docstring-to-markdown"
|
|
arch="noarch"
|
|
license="LGPL-2.1-only"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
subpackages="$pkgname-pyc"
|
|
source="$_pyname-$pkgver.tar.gz::https://github.com/python-lsp/docstring-to-markdown/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pyname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
PYTHONPATH="." pytest -c /dev/null tests
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
ac958cca518164406feff07f665d6edc6113d547393ff28d29a64b8b3f1bae306255ebf859f3e5f1fc75fabea985e1dd24d47c32766403b6ffabf9c31ff7ba45 docstring-to-markdown-0.12.tar.gz
|
|
"
|