aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-eliot/APKBUILD
blob: bc96ebb41349287df9a8fc57cae0b5685c097f8a (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
29
30
31
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-eliot
pkgver=1.11.0
pkgrel=0
pkgdesc="Logging system that tells you why it happened"
# Requires unpackaged dask and cffi for testing journald
options="!check"
url="https://github.com/itamarst/eliot"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-six py3-zope-interface py3-pyrsistent py3-boltons
	py3-twisted"
makedepends="py3-setuptools"
checkdepends="py3-hypothesis py3-testtools py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://github.com/itamarst/eliot/archive/$pkgver.tar.gz"
builddir="$srcdir/eliot-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="943d138ec0bb9b0fe5f5e38342979e36739c96eeceffcb4deed6241911f6811aebdd45817ed8c79bcbb27d38dd4d23058122789231f3fec7543b8aa010d2cce5  py3-eliot-1.11.0.tar.gz"