aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-eliot/APKBUILD
blob: b0c942d2ec7ebbb588443cfc2485e57699e16c23 (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="1bd1b4260e938116ff8afa3c67535c8c0cca4eb37d6bbf15c4051b70b17e17bc4384035e37d1982572c36c45a4d12f33cc3af49830abc960d72c30db1aef1b51  py3-eliot-1.11.0.tar.gz"