mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
34 lines
868 B
Text
34 lines
868 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-sybil
|
|
pkgver=4.0.1
|
|
pkgrel=0
|
|
pkgdesc="Automated testing for the examples in your documentation"
|
|
url="https://github.com/simplistix/sybil"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3"
|
|
makedepends="
|
|
py3-setuptools
|
|
py3-sphinx
|
|
py3-wheel
|
|
"
|
|
checkdepends="py3-pytest py3-seedir py3-testfixtures"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/simplistix/sybil/archive/refs/tags/$pkgver.tar.gz"
|
|
builddir="$srcdir/sybil-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
PYTHONPATH="$PWD/build/lib" pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
70db2aae9f8503af8c5ecb65c5d63e928ba81bc7324473b056a6c1cbb4dac9674c34252665e7b28a1134c37190cdb2fd00c37633a68ea4ac61104a12ea744442 py3-sybil-4.0.1.tar.gz
|
|
"
|