blob: 7c42a245d2b8d420a7657f3a7b97ce9dcdb3b753 (
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
49
50
51
52
53
54
55
56
57
58
|
# 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=1585.d166c3f
pkgrel=1
pkgdesc="pull issues from issue trackers into taskwarrior (GitHub, GitLab, Bitbucket, etc.)"
arch=(any)
url="https://bugwarrior.readthedocs.io"
license=('GPL3')
makedepends=(python-build python-installer python-wheel 'python-setuptools' 'python-setuptools-scm')
checkdepends=('python-pytest')
depends=('python'
'python-requests' 'python-taskw>=0.8'
'python-dateutil' 'python-pytz'
'python-pydantic' 'python-tomli'
'python-six>=1.9.0' 'python-jinja>=2.7.2'
'python-dogpile.cache>=0.5.3' 'python-lockfile>=0.9.1'
'python-click')
optdepends=('python-keyring: keyring support'
'python-jira>=3.10: 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/GothenburgBitFactory/$_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 -m build --wheel --no-isolation
}
check() {
cd "$srcdir/$_pkgname"
# For pytest
#pytest
}
package() {
cd "$srcdir/$_pkgname"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|