diff options
Diffstat (limited to 'testing/git2json/APKBUILD')
-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" |