aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-eliot/APKBUILD
blob: a2e1fa7257e989b6d8bd6b6c6d9d1a1653141bf4 (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.10.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="946acdc3bc6063b4a17cb7af3fefb3db04c3fce539db50405470fca892de4972e320d44ef1bcb832e5acc8d4c848fe4270dedc99b434085caa2e7c5fa4648d17  py3-eliot-1.10.0.tar.gz"