# Contributor: Bart Ribbers # Maintainer: pkgname=py3-sybil pkgver=5.0.3 pkgrel=0 pkgdesc="Automated testing for the examples in your documentation" url="https://github.com/simplistix/sybil" arch="noarch" license="MIT" makedepends=" py3-gpep517 py3-setuptools py3-sphinx py3-wheel " checkdepends=" py3-pytest py3-seedir py3-testfixtures " subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/simplistix/sybil/archive/refs/tags/$pkgver.tar.gz" builddir="$srcdir/sybil-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages .testenv .testenv/bin/python3 -m installer .dist/*.whl .testenv/bin/python3 -m pytest -k 'not test_pytest' } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" 0e2a96457b506558b4e9c58890a370c63dbde2c36780dd031cfe8de828f15a2f790c55df81d86800599302958006e704e627b7e8a5d3dd786398ce5f8ea46d35 py3-sybil-5.0.3.tar.gz "