aboutsummaryrefslogtreecommitdiffstats
path: root/community/git-review/APKBUILD
blob: 7f439b8a557ac65e112b63f5eb5e18b776523e59 (plain) (blame)
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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=git-review
pkgver=2.3.1
pkgrel=0
pkgdesc="git command for submitting branches to Gerrit"
url="https://opendev.org/opendev/git-review"
arch="noarch"
license="Apache-2.0"
depends="git python3 py3-requests py3-idna py3-urllib3
py3-chardet py3-certifi py3-setuptools"
makedepends="py3-pbr"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/g/git-review/git-review-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

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

sha512sums="
b3fe0ab40c473c80da20c42b4104e82115c9ea02bda01580aedb69622e117d733160eb42027432eec12379250186ea7b6f9eb4cb86b128a591816243a0c0fadc  git-review-2.3.1.tar.gz
"