blob: b8ad4284fd4c936f2d7cb20ead07200de395b730 (
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
|
# Maintainer: A Frederick Christensen <aur@ivories.org>
pkgname="plann-git"
_pkgname="plann"
pkgver=r356.b04fd62
pkgrel=2
pkgdesc="plann is a caldav client for calendar and task management"
url="https://github.com/tobixen/plann"
arch=('any')
license=('GPL')
depends=('python'
'python-caldav>=0.12.0'
'python-click'
'python-icalendar'
'python-pytz'
'python-tzlocal'
'python-six'
'python-sortedcontainers'
'python-vobject'
'python-yaml')
makedepends=('python-build'
'python-installer'
'python-pytest'
'python-setuptools'
'python-wheel'
'xandikos')
conflicts=('plann')
source=("${pkgname}::git+https://github.com/tobixen/${_pkgname}/")
sha256sums=('SKIP')
pkgver() {
cd "${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
build() {
cd "${pkgname}"
python -m build --wheel --no-isolation
}
check() {
cd "${pkgname}"
pytest
}
package() {
cd "${pkgname}"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|