aboutsummaryrefslogtreecommitdiffstats
path: root/community/pwclient/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2021-02-14 16:07:05 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2021-02-14 16:08:10 +0000
commit8f30e4bfd2181bbd86e7110d67ff284da3ad9e62 (patch)
tree33d7f0a845c8526f6d1685ac545bf1925ec41831 /community/pwclient/APKBUILD
parent3f5e3dc47a76160b0c64533df633acbe5680f0d3 (diff)
downloadaports-8f30e4bfd2181bbd86e7110d67ff284da3ad9e62.tar.gz
aports-8f30e4bfd2181bbd86e7110d67ff284da3ad9e62.tar.bz2
aports-8f30e4bfd2181bbd86e7110d67ff284da3ad9e62.tar.xz
community/pwclient: new aport
pwclient was part of patchwork package, but eventually moved to another package.
Diffstat (limited to 'community/pwclient/APKBUILD')
-rw-r--r--community/pwclient/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/pwclient/APKBUILD b/community/pwclient/APKBUILD
new file mode 100644
index 0000000000..025730af6a
--- /dev/null
+++ b/community/pwclient/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=pwclient
+pkgver=1.3.0
+pkgrel=0
+pkgdesc="The command-line client for the patchwork patch tracking tool"
+url="https://github.com/getpatchwork/pwclient"
+arch="noarch"
+license="GPL-2.0"
+depends="python3 py3-pbr"
+makedepends="py3-setuptools py3-pip py3-wheel"
+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"
+builddir="$srcdir/$pkgname-$pkgver"
+
+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"