diff options
| author | Leo <thinkabit.ukim@gmail.com> | 2019-09-09 14:36:15 -0300 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-09 14:36:15 -0300 |
| commit | 233eb8d0f5f1ee0407f5cff1512234262a4aa556 (patch) | |
| tree | 17b299c4070b5f08824ffe6fefc14d353a36bb3c /testing/git2json | |
| parent | 63cb088644cd76cd84dddb0a3ed9f10613949a90 (diff) | |
| download | aports-233eb8d0f5f1ee0407f5cff1512234262a4aa556.tar.bz2 aports-233eb8d0f5f1ee0407f5cff1512234262a4aa556.tar.xz | |
testing/git2json: switch to python3
Diffstat (limited to 'testing/git2json')
| -rw-r--r-- | testing/git2json/APKBUILD | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/testing/git2json/APKBUILD b/testing/git2json/APKBUILD index 8bd6c17e4c..da691182b0 100644 --- a/testing/git2json/APKBUILD +++ b/testing/git2json/APKBUILD @@ -2,25 +2,22 @@ # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=git2json pkgver=0.2.3 -pkgrel=0 +pkgrel=1 pkgdesc="Convert git logs to JSON for easier analysis" url="https://github.com/tarmstrong/git2json" arch="noarch" -license="BSD" -depends="python2" -makedepends="python2-dev py-setuptools" -source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz" +license="BSD-3-Clause" +depends="python3" +makedepends="py3-setuptools" +source="https://files.pythonhosted.org/packages/source/g/git2json/git2json-$pkgver.tar.gz" -builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$builddir" - python2 setup.py build + python3 setup.py build } package() { - cd "$builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" + python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="3bac219c79b25a4e0e41c250214131911a7e207c1908a81316eab546df538e03dda2446f8c74a337f502deacf61c61cc76062f85f2313d29d3b6c5059447582d git2json-0.2.3.tar.gz" |
