mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
32 lines
882 B
Text
32 lines
882 B
Text
# Contributor: Robert Sacks <robert@sacks.email>
|
|
# Maintainer: Robert Sacks <robert@sacks.email>
|
|
pkgname=py3-recommonmark
|
|
_pyname=recommonmark
|
|
pkgver=0.7.1
|
|
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 --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
3e03440d606ea6247df9bd122a6fa2dccf01c0c315eeace046d5cd336657e26bbd1c6b7ad4ba46f344215905128b72508c036cc57bbe4b5e27df50c55371fe01 recommonmark-0.7.1.tar.gz
|
|
"
|