summaryrefslogtreecommitdiff
path: root/testing/git-review/APKBUILD
blob: a1bdc404aaf3e06e3d4186bb4d6666d90b4a1557 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=git-review
pkgver=1.25.0
pkgrel=1
pkgdesc="A git command for submitting branches to Gerrit"
url="https://github.com/openstack-infra/git-review"
arch="noarch"
license="APACHE2.0"
depends="git python3 py3-requests py3-idna py3-urllib3 py3-chardet py3-certifi"
makedepends="python3-dev"
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"
	python3 setup.py check
}

build() {
	cd "$builddir"
	python3 setup.py build
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="eadd4711166607b1cb9e3d0d41b2f17cd01f8706377d4585bb4433998d0e9f51d5deb08bb17928c2c193eb43ebbd03af4456457cc673c0629a041abff554682a  git-review-1.25.0.tar.gz"