community/py3-sybil: upgrade to 2.0.1

This commit is contained in:
Bart Ribbers 2020-12-04 11:30:32 +01:00 committed by Leo
parent 2181903fa9
commit bb15eb5f1d

View File

@ -1,14 +1,19 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-sybil
pkgver=1.4.0
pkgver=2.0.1
pkgrel=0
pkgdesc="Automated testing for the examples in your documentation"
url="https://github.com/cjw296/sybil"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools py3-sphinx py3-wheel py3-nose"
makedepends="
py3-nose
py3-setuptools
py3-sphinx
py3-wheel
"
checkdepends="py3-pytest"
source="https://pypi.python.org/packages/source/s/sybil/sybil-$pkgver.tar.gz"
builddir="$srcdir/sybil-$pkgver"
@ -18,11 +23,11 @@ build() {
}
check() {
PYTHONPATH="$PWD/build/lib" py.test-3 --deselect tests/test_doc_example.py::test_pytest
PYTHONPATH="$PWD/build/lib" pytest --deselect tests/test_doc_example.py::test_pytest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="f385b4e67cc5a4b32c7563d98f36dab6e5320966563eb341395e9327c16f92a63863558bfa795b6531819fa6038234492d4d19c1d9286e6306039e8d4abec0b8 sybil-1.4.0.tar.gz"
sha512sums="4f3be7686c1acf6812623a756fa79b41e3fbe5d4c3b4c7cf5dfe39fbe56806b4ef3acd24e25968ab9119b2c65ad5c30eabe32f1a93fb62ba8d3893ef123e69f0 sybil-2.0.1.tar.gz"