1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/community/git-review/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

30 lines
875 B
Text

# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=git-review
pkgver=2.3.1
pkgrel=1
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 --skip-build --root="$pkgdir"
}
sha512sums="
b3fe0ab40c473c80da20c42b4104e82115c9ea02bda01580aedb69622e117d733160eb42027432eec12379250186ea7b6f9eb4cb86b128a591816243a0c0fadc git-review-2.3.1.tar.gz
"