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