1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-jsonlines
6 pkgdesc="Library with helpers for the jsonlines file format"
7 url="https://github.com/wbolster/jsonlines"
10 depends=('python-attrs')
11 makedepends=('python-setuptools')
12 checkdepends=('python-pytest')
13 source=("https://github.com/wbolster/jsonlines/archive/$pkgver/$pkgname-$pkgver.tar.gz")
14 sha512sums=('f5fd35bbdc94106afbf8f837bcc3440348772f3b6011b2fb8d7cf86a8ec881c5350aebcd3ae85d45ec88b8deddc68c8e417eaf172f7777c009e42beb7f64ff61')
28 python setup.py install --root="$pkgdir" --optimize=1
29 install -Dm644 LICENSE.rst -t "$pkgdir"/usr/share/licenses/$pkgname/