diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-06-30 11:07:18 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-06-30 11:07:18 +0000 |
commit | 3457433d9555e6d38f7ec63bd473669846b28e4f (patch) | |
tree | 25ba15ce2e6c5042d5e3de7bf84ca385532a5a9a /testing/git-review | |
parent | 658f9973cbef82e9789bae114f3afbc4a1c3cb9b (diff) | |
download | aports-3457433d9555e6d38f7ec63bd473669846b28e4f.tar.bz2 aports-3457433d9555e6d38f7ec63bd473669846b28e4f.tar.xz |
testing/git-review: new aport
Diffstat (limited to 'testing/git-review')
-rw-r--r-- | testing/git-review/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/git-review/APKBUILD b/testing/git-review/APKBUILD new file mode 100644 index 0000000000..9f952b9589 --- /dev/null +++ b/testing/git-review/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=git-review +pkgver=1.25.0 +pkgrel=0 +pkgdesc="A git command for submitting branches to Gerrit" +url="https://github.com/openstack-infra/git-review" +arch="noarch" +license="APACHE2.0" +depends="git python2 py2-requests py2-idna py2-urllib3 py2-chardet py2-certifi" +makedepends="python2-dev py-setuptools" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/openstack-infra/$pkgname/archive/$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +check() { + cd "$builddir" + python2 setup.py check +} + +build() { + cd "$builddir" + python2 setup.py build +} + +package() { + cd "$builddir" + python2 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="eadd4711166607b1cb9e3d0d41b2f17cd01f8706377d4585bb4433998d0e9f51d5deb08bb17928c2c193eb43ebbd03af4456457cc673c0629a041abff554682a git-review-1.25.0.tar.gz" |