projects/aports·blob master · refs

29 lines · 865 B

1# Contributor: Fabian Affolter <[email protected]>
2# Maintainer: Jingyun Hua <[email protected]>
3maintainer="Jingyun Hua <[email protected]>"
4pkgname=git2json
5pkgver=0.2.3
6pkgrel=10
7pkgdesc="Convert git logs to JSON for easier analysis"
8url="https://github.com/tarmstrong/git2json"
9arch="noarch"
10license="BSD-3-Clause"
11makedepends="py3-gpep517 py3-setuptools py3-wheel"
12subpackages="$pkgname-pyc"
13source="https://files.pythonhosted.org/packages/source/g/git2json/git2json-$pkgver.tar.gz"
14options="!check" # no tests included
15
16build() {
17 gpep517 build-wheel \
18 --wheel-dir .dist \
19 --output-fd 3 3>&1 >&2
20}
21
22package() {
23 python3 -m installer -d "$pkgdir" \
24 .dist/*.whl
25}
26
27sha512sums="
283bac219c79b25a4e0e41c250214131911a7e207c1908a81316eab546df538e03dda2446f8c74a337f502deacf61c61cc76062f85f2313d29d3b6c5059447582d git2json-0.2.3.tar.gz
29"