mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
30 lines
881 B
Text
30 lines
881 B
Text
# Contributor: Robert Sacks <robert@sacks.email>
|
|
# Maintainer: Robert Sacks <robert@sacks.email>
|
|
pkgname=py3-recommonmark
|
|
_pyname=recommonmark
|
|
pkgver=0.6.0
|
|
pkgrel=1
|
|
pkgdesc="A docutils-compatibility bridge to CommonMark"
|
|
url="https://github.com/readthedocs/recommonmark"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-commonmark>=0.8.1 py3-docutils py3-sphinx"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
source="$_pyname-$pkgver.tar.gz::https://github.com/readthedocs/$_pyname/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pyname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
rm -f tests/test_sphinx.py
|
|
pytest-3
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="44005b3fd0052cd8d4fce8a64f9d66a1ac75dc3041a28c115e922254956b2143296cbfbc0a2396b9f95691145645c4242e3be68e695b2c62ae37964014511679 recommonmark-0.6.0.tar.gz"
|