mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-19 17:25:17 +03:00
29 lines
904 B
Text
29 lines
904 B
Text
# Contributor: Galen Abell <galen@galenabell.com>
|
|
# Maintainer: Galen Abell <galen@galenabell.com>
|
|
pkgname=py3-docstring-to-markdown
|
|
_pyname=docstring-to-markdown
|
|
pkgver=0.9
|
|
pkgrel=0
|
|
pkgdesc="On the fly conversion of Python docstrings to markdown"
|
|
url="https://github.com/krassowski/docstring-to-markdown"
|
|
arch="noarch"
|
|
license="LGPL-2.1-only"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
source="$_pyname-$pkgver.tar.gz::https://github.com/krassowski/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 --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="6b66eceb0f763ab39afca6d734b789388b2aea89c43f338704a6c73cad428f6091ab97e6e3d6c63778bd889293c67270fd19c2b55fc6d3bda0541737b779a545 docstring-to-markdown-0.9.tar.gz"
|