1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 18:25:41 +03:00
aports/testing/py3-tblib/APKBUILD
2020-05-06 20:36:42 +00:00

29 lines
1.2 KiB
Text

# 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"