aboutsummaryrefslogblamecommitdiffstats
path: root/community/pwclient/APKBUILD
blob: ef5c2fdd04b3ac859c499c39854b331065a1ec92 (plain) (tree)
1
2
3
4
5
6
7
8



                                                           
        


                                                                       


                                    



                                                                                                 










                                                               
 





                                                                                                                                                                    
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=pwclient
pkgver=1.3.0
pkgrel=2
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() {
	python3 setup.py build
}

check() {
	pytest
}

package() {
	python3 setup.py install --prefix=/usr --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"