blob: 474a41ee9a7ece9568860def3d6bc2ec56e98afe (
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: Cedric Girard <cgirard [dot] archlinux [at] valinor [dot] fr>
# Contributor: Benjamin Vialle <archlinux@vialle.io>
# Contributor: Dimitris Kiziridis <ragouel at outlook dot com>
# Contributor: sputnick <gilles *DOT* quenot *AT* gmail *DOT* com>
# Contributor: ianux <ianux@free.fr>
pkgname=woob-git
pkgver=3.6.r333.gecb44eab4
pkgrel=1
pkgdesc="Core library and modules for Web Outside of Browsers"
arch=(any)
url="https://woob.tech"
license=('LGPL3')
depends=('python-lxml'
'python-cssselect'
'python-requests'
'python-dateutil'
'python-yaml'
'python-html2text'
'python-six'
'python-unidecode'
'python-pillow'
'python-babel'
'python-simplejson')
optdepends=('python-prettytable: CLI output formatting'
'python-feedparser: required by some modules')
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools' 'git')
replaces=('woob-headless' 'weboob' 'woob')
provides=('woob-headless' 'woob')
conflicts=('weboob-headless' 'weboob-git' 'weboob-qt' 'woob')
source=("woob::git+https://gitlab.com/woob/woob.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/woob"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/woob"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/woob"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|