diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2017-07-31 21:39:14 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-08-02 06:00:29 +0000 |
commit | 7c69d8e3a236b3724cf402e00fe639b3988dece1 (patch) | |
tree | 318cababf3966149cc12e91ca104b76f0274b6be /testing | |
parent | 1a1ce9b41a504b5170f17236fd32efe57e0f233e (diff) | |
download | aports-7c69d8e3a236b3724cf402e00fe639b3988dece1.tar.bz2 aports-7c69d8e3a236b3724cf402e00fe639b3988dece1.tar.xz |
testing/git2json: upgrade to 0.2.3 and modernize
Diffstat (limited to 'testing')
-rw-r--r-- | testing/git2json/APKBUILD | 28 |
1 files changed, 7 insertions, 21 deletions
diff --git a/testing/git2json/APKBUILD b/testing/git2json/APKBUILD index 7a4e03dc51..8bd6c17e4c 100644 --- a/testing/git2json/APKBUILD +++ b/testing/git2json/APKBUILD @@ -1,40 +1,26 @@ # Contributor: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=git2json -pkgver=0.2.1 +pkgver=0.2.3 pkgrel=0 pkgdesc="Convert git logs to JSON for easier analysis" url="https://github.com/tarmstrong/git2json" arch="noarch" license="BSD" depends="python2" -depends_dev="" makedepends="python2-dev py-setuptools" -install="" -subpackages="" source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" - python2 setup.py build || return 1 + cd "$builddir" + python2 setup.py build } package() { - cd "$_builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + cd "$builddir" + python2 setup.py install --prefix=/usr --root="$pkgdir" } -md5sums="644521a64a15c191c5b11c3c36f21429 git2json-0.2.1.tar.gz" -sha256sums="f3fa3d7813e536e38a9f130c06269149a100aee6ad20c28b320e0f1fb4be1115 git2json-0.2.1.tar.gz" -sha512sums="a6881cdf09210c6e3fa01a1496a286ff2f035aed2d9aa24598aaecd0cd6fa8d64ab36b4e477cc659f4c78d1536dcb62d39eb2f4519d430262dab48e2af9c387d git2json-0.2.1.tar.gz" +sha512sums="3bac219c79b25a4e0e41c250214131911a7e207c1908a81316eab546df538e03dda2446f8c74a337f502deacf61c61cc76062f85f2313d29d3b6c5059447582d git2json-0.2.3.tar.gz" |