blob: 94565a3e2f83f104ada1eff6ed9f8a6775bd7c76 (
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
32
|
# Maintainer: Younes "khoyo" Khoudli <khoyobegenn@gmail.com>
# Contributor: Maxime "pep" Buquet <archlinux@bouah.net>
_pkgname=git-pw
_tag=2.3.0
pkgname=${_pkgname}
pkgver=${_tag}
pkgrel=1
pkgdesc="A tool for integrating Git with Patchwork, the web-based patch tracking system"
url='https://github.com/getpatchwork/git-pw'
license=('MIT')
arch=('any')
depends=(
'git'
'python-requests'
'python-click'
'python-pbr'
'python-arrow'
'python-tabulate'
'python-yaml'
)
makedepends=('python-setuptools')
source=("${_pkgname}::git+https://github.com/getpatchwork/git-pw.git#tag=${_tag}")
sha256sums=('SKIP')
package() {
cd ${_pkgname}
python setup.py install --root="${pkgdir}" --optimize=1
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
mkdir -p "${pkgdir}/usr/share/man/man1"
install -Dm644 man/*.1 "${pkgdir}/usr/share/man/man1/"
}
|