blob: bfeb1dfc133d23b8157dbd32e0bc56bc60558bea (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Maintainer: fuero <fuerob@gmail.com>
# based on the bugwarrior package by Christian Krause ("wookietreiber") <christian.krause@mailbox.org>
_pkgname="bugwarrior"
_branch="develop"
# renovate: pkgName=https://github.com/ralphbean/bugwarrior depName=bugwarrior-git
_commit=dd96577c77949c8f07852785a8c8def368391970
pkgname="${_pkgname}-git"
pkgver=1507.d5ab94a
pkgrel=1
pkgdesc="pull issues from issue trackers into taskwarrior (GitHub, GitLab, Bitbucket, etc.)"
arch=(any)
url="https://bugwarrior.readthedocs.io"
license=('GPL3')
depends=('python' 'python-setuptools'
'python-requests' 'python-taskw>=0.8'
'python-dateutil' 'python-pytz'
'python-six>=1.9.0' 'python-jinja>=2.7.2'
'python-dogpile.cache>=0.5.3' 'python-lockfile>=0.9.1'
'python-click' 'python-future')
optdepends=('python-keyring: keyring support'
'python-jira>=0.22: jira support'
'python-pysimplesoap: bts support'
'python-debianbts>=2.6.1: bts support'
'python-offtrac: Trac support'
'python-google-api-python-client: gmail support'
'python-oauth2client<4.0.0: gmail support'
'python-phabricator: phabricator support'
'python-bugzilla: bugzilla support')
conflicts=( $_pkgname )
provides=( $_pkgname )
source=("$_pkgname::git+https://github.com/ralphbean/$_pkgname.git#branch=$_branch")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
echo $(git rev-list --count $_branch).$(git rev-parse --short $_branch)
}
build() {
cd "$srcdir/$_pkgname"
python setup.py build
}
package() {
cd "$srcdir/$_pkgname"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
|