diff options
| author | Bart Ribbers <bribbers@disroot.org> | 2020-03-27 13:06:33 +0100 |
|---|---|---|
| committer | Rasmus Thomsen <oss@cogitri.dev> | 2020-05-06 20:36:42 +0000 |
| commit | d55702c773bd23c7cdc25e21513f0cd7dd825988 (patch) | |
| tree | a271eb96fc0d017824c370a6db4173210734f2c7 /testing | |
| parent | 3a4f6b0e752b0b6f1e4e0788c58e250d01f78058 (diff) | |
| download | aports-d55702c773bd23c7cdc25e21513f0cd7dd825988.tar.bz2 aports-d55702c773bd23c7cdc25e21513f0cd7dd825988.tar.xz | |
testing/py3-tblib: new aport
Diffstat (limited to 'testing')
| -rw-r--r-- | testing/py3-tblib/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/py3-tblib/APKBUILD b/testing/py3-tblib/APKBUILD new file mode 100644 index 0000000000..23b4a7a46c --- /dev/null +++ b/testing/py3-tblib/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=py3-tblib +pkgver=1.6.0 +pkgrel=0 +pkgdesc="Serialization library for Exceptions and Tracebacks" +url="https://github.com/ionelmc/python-tblib" +arch="noarch" +license="BSD-2-Clause" +depends="python3" +depends="py3-attrs py3-automat py3-constantly py3-hyperlink py3-idna py3-incremental py3-more-itertools py3-packaging py3-pluggy py3-py py3-pyhamcrest py3-parsing py3-six py3-twisted py3-wcwidth py3-zope-interface" +makedepends="py3-setuptools python3-dev py3-docutils" +checkdepends="py3-coverage py3-pytest py3-flake8 py3-isort py3-pygments py3-mccabe py3-bleach py3-pep517 py3-pycodestyle py3-pyflakes py3-pyflakes py3-pytoml py3-webencodings" +source="https://pypi.python.org/packages/source/t/tblib/tblib-$pkgver.tar.gz" +builddir="$srcdir/tblib-$pkgver" + +build() { + python3 setup.py build +} + +check() { + PYTHONPATH="$PWD/build/lib" pytest +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="3b11b94f341499f648c182e7a9b6c648b5312a18b3f23bf7e5d554052db4ffb7c4a4faa097bc2426b4159e28f0578c6b369ff4d02eb7711726b5359242216d35 tblib-1.6.0.tar.gz" |
