2021-05-01 21:15:21 +02:00
|
|
|
# Maintainer: Benjamin Vialle <archlinux@vialle.io>
|
|
|
|
# PGP ID: 72DF86FBBBBD5EDAE8FF1834826884A347F9FD9A
|
|
|
|
# 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
|
2021-06-27 12:11:55 +02:00
|
|
|
pkgver=3.0.r300.g9b966643d
|
2021-05-01 21:15:21 +02:00
|
|
|
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-setuptools' 'git')
|
|
|
|
replaces=('woob-headless' 'weboob')
|
|
|
|
provides=('woob-headless')
|
|
|
|
conflicts=('weboob-headless' 'weboob-git' 'weboob-qt')
|
|
|
|
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 setup.py build
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/woob"
|
|
|
|
python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
|
|
|
|
}
|
|
|
|
|