summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 55d23a361bcfb707be7ce65ef3999840c9ce7721 (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
# Maintainer: txtsd <aur.archlinux@ihavea.quest>
# Contributor: Arvedui <arvedui@posteo.de>
# Contributor: Christian Krause ("wookietreiber") <christian.krause@mailbox.org>

pkgname=bugwarrior
pkgver=2.1.0
pkgrel=1
pkgdesc='Pull github, bitbucket, and trac issues into taskwarrior'
arch=(any)
url='https://bugwarrior.readthedocs.io'
license=('GPL-3.0-or-later')
depends=(
  python
  python-click
  python-dateutil
  python-dogpile.cache
  python-ini2toml
  python-jinja
  python-lockfile
  python-pydantic
  python-pytz
  python-requests
  python-taskw
  python-tomli
)
makedepends=(
  python-build
  python-installer
  python-setuptools
  python-wheel
)
optdepends=(
  'python-bugzilla: bugzilla support'
  'python-debianbts: bts support'
  'python-google-api-python-client: gmail support'
  'python-jira: jira support'
  'python-keyring: keyring support'
  'python-oauth2client: gmail support'
  'python-offtrac: Trac support'
  'python-phabricator: phabricator support'
  'python-pysimplesoap: bts support'
)
options=(!debug)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/GothenburgBitFactory/bugwarrior/archive/${pkgver}.tar.gz")
sha256sums=('d78830164689a91e2c2611b7533f92e16f9d3bd9842dfb1575b22c1db1e5d024')

build() {
  cd "${pkgname}-${pkgver}"
  python -m build --wheel --no-isolation
}

package() {
  cd "${pkgname}-${pkgver}"
  python -m installer --destdir="$pkgdir" dist/*.whl
}