mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
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
35 lines
1,001 B
Text
35 lines
1,001 B
Text
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=pwclient
|
|
pkgver=1.3.0
|
|
pkgrel=4
|
|
pkgdesc="The command-line client for the patchwork patch tracking tool"
|
|
url="https://github.com/getpatchwork/pwclient"
|
|
arch="noarch"
|
|
license="GPL-2.0-or-later"
|
|
depends="python3"
|
|
makedepends="py3-setuptools py3-pbr"
|
|
checkdepends="py3-pytest py3-pytest-cov py3-mock"
|
|
subpackages="$pkgname-doc"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/getpatchwork/pwclient/archive/$pkgver.tar.gz"
|
|
|
|
build() {
|
|
export PBR_VERSION=$pkgver
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
|
|
mkdir -p "$pkgdir/usr/share/man/man1"
|
|
install -Dm644 man/pwclient.1 "$pkgdir/usr/share/man/man1/"
|
|
}
|
|
|
|
sha512sums="
|
|
c701e30ab7cc17bb6fa0596c0ab1c66b978bb73b39d2978d1d186f61dcc2906f4a6161ee182656adb04b3d007bc8bd30f39a49c75558c933adc02549bafdc31e pwclient-1.3.0.tar.gz
|
|
"
|