aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-sybil/APKBUILD
blob: 498704908f5fc1d578dd0438ade45c5b237279a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: Bart Ribberse <bribbers@disroot.org>
# Maintainer: Bart Ribberse <bribbers@disroot.org>
pkgname=py3-sybil
pkgver=1.3.0
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"
checkdepends="py3-pytest"
source="https://pypi.python.org/packages/source/s/sybil/sybil-$pkgver.tar.gz"
builddir="$srcdir/sybil-$pkgver"

build() {
	python3 setup.py build
}

check() {
	PYTHONPATH="$PWD/build/lib" python3 -m pytest
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="fc478896bb1958303ffcac6d35993b2785a50c6c221848d83c92c158a27fff059491aa3baaddd0b56e040fe6c07b764aa33c69204750de9ad351084b2815fd47  sybil-1.3.0.tar.gz"