[arch-commits] Commit in (weboob weboob/repos weboob/trunk weboob/trunk/PKGBUILD)

Bruno Pagani archange at archlinux.org
Fri Feb 14 15:26:57 UTC 2020


    Date: Friday, February 14, 2020 @ 15:26:57
  Author: archange
Revision: 571104

Replacement of weboob-headless with weboob in [community]

weboob is now headless itself

Added:
  weboob/
  weboob/repos/
  weboob/trunk/
  weboob/trunk/PKGBUILD

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

Added: weboob/trunk/PKGBUILD
===================================================================
--- weboob/trunk/PKGBUILD	                        (rev 0)
+++ weboob/trunk/PKGBUILD	2020-02-14 15:26:57 UTC (rev 571104)
@@ -0,0 +1,42 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=weboob
+pkgver=2.0
+pkgrel=1
+pkgdesc="Core library and modules for Web Outside of Browsers"
+arch=(any)
+url="https://weboob.org/"
+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)
+replaces=(weboob-headless)
+provides=(weboob-headless)
+conflicts=(weboob-headless)
+source=("https://files.pythonhosted.org/packages/source/w/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('fc8be1f77ad3a53285cef8b20a8b747960c163fad729c56838043d8ddcdfc9b0')
+
+build() {
+    cd ${pkgname}-${pkgver}
+    python setup.py build
+}
+
+package() {
+    cd ${pkgname}-${pkgver}
+    python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+}



More information about the arch-commits mailing list