blob: 5034a544b403ded14732df80ff7cc48af861494b (
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.28.0
pkgrel=1
pkgdesc="A git command for submitting branches to Gerrit"
url="https://github.com/openstack-infra/git-review"
arch="noarch"
license="Apache-2.0"
depends="git python3 py3-requests py3-idna py3-urllib3 py3-chardet py3-certifi py3-setuptools"
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"
build() {
cd "$builddir"
python3 setup.py build
}
check() {
cd "$builddir"
python3 setup.py check
}
package() {
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="21a71172b474ca0446f58d567e2c1b37059af3b680a3e441bcf94607d05f1fefa932ecef95328e1d77f0b71928477fd2878806ea26d2c4da030f281de15a210d git-review-1.28.0.tar.gz"
|