blob: 28371b404e7cbe43670ea647b1ebeadce0b15cb7 (
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
|
# Contributor: Justin Berthault <justin.berthault@zaclys.net>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=py3-json-logger
pkgver=2.0.4
pkgrel=0
pkgdesc="A python library adding a json log formatter"
url="https://github.com/madzak/python-json-logger"
arch="noarch"
license="BSD-2-Clause"
depends="py3-setuptools"
source="$pkgname-v$pkgver.tar.gz::https://github.com/madzak/python-json-logger/archive/v$pkgver.tar.gz"
builddir="$srcdir/"python-json-logger-$pkgver
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
ebb55c2bed8ef73b873a63bffd2855ea5797117af4d12fd32b9d8eb633f25576255f35be2af54f8f70b855f5af2da942412d96c212a88f35261b24ebcbf767f7 py3-json-logger-v2.0.4.tar.gz
"
|