diff options
| author | Bart Ribbers <bribbers@disroot.org> | 2020-05-06 12:06:44 +0200 |
|---|---|---|
| committer | Rasmus Thomsen <oss@cogitri.dev> | 2020-05-09 17:24:23 +0000 |
| commit | efef7e7ef070ab5b5b981daf9eb97c66ba5a8639 (patch) | |
| tree | 9e0d00002973774313d87aa4991466b98e1e245a /testing | |
| parent | 94953e616576ec34b87c6ed93987045451a915f4 (diff) | |
| download | aports-efef7e7ef070ab5b5b981daf9eb97c66ba5a8639.tar.bz2 aports-efef7e7ef070ab5b5b981daf9eb97c66ba5a8639.tar.xz | |
testing/py3-sybil: new aport
Diffstat (limited to 'testing')
| -rw-r--r-- | testing/py3-sybil/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py3-sybil/APKBUILD b/testing/py3-sybil/APKBUILD new file mode 100644 index 0000000000..498704908f --- /dev/null +++ b/testing/py3-sybil/APKBUILD @@ -0,0 +1,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" |
