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

Bruno Pagani archange at archlinux.org
Mon Aug 26 21:39:56 UTC 2019


    Date: Monday, August 26, 2019 @ 21:39:55
  Author: archange
Revision: 502319

Switch to python 3

All bank modules have been upgraded now.

Modified:
  weboob-headless/trunk/PKGBUILD

----------+
 PKGBUILD |   37 ++++++++++++++++++-------------------
 1 file changed, 18 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-26 21:39:32 UTC (rev 502318)
+++ PKGBUILD	2019-08-26 21:39:55 UTC (rev 502319)
@@ -3,26 +3,25 @@
 _pkgname=weboob
 pkgname=weboob-headless
 pkgver=1.5
-pkgrel=1
+pkgrel=2
 pkgdesc="Provides several applications to interact with a lot of websites. Headless version, for use in e.g. Cozy/Kresus."
 arch=(any)
 url="https://weboob.org/"
-license=(LGPL3)
-depends=(python2-dateutil
-         python2-feedparser
-         python2-lxml
-         python2-prettytable
-         python2-requests
-         python2-cssselect
-         python2-html2text
-         python2-unidecode
-         python2-pillow
-         python2-simplejson
-         python2-yaml
-         python2-google-api-python-client
-         python2-futures
-         python2-six)
-makedepends=(python2-setuptools)
+license=(AGPL3)
+depends=(python-dateutil
+         python-feedparser
+         python-lxml
+         python-prettytable
+         python-requests
+         python-cssselect
+         python-html2text
+         python-unidecode
+         python-pillow
+         python-simplejson
+         python-yaml
+         python-google-api-python-client
+         python-six)
+makedepends=(python-setuptools)
 conflicts=(weboob)
 source=("https://files.pythonhosted.org/packages/source/w/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
 sha256sums=('7ac1851281a127182f8e8630853c8ab2e635a534928b35150b75d5d0e24b3fb1')
@@ -29,10 +28,10 @@
 
 build() {
     cd ${_pkgname}-${pkgver}
-    python2 setup.py build --no-qt
+    python setup.py build --no-qt
 }
 
 package() {
     cd ${_pkgname}-${pkgver}
-    python2 setup.py install --no-xdg --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+    python setup.py install --no-xdg --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
 }



More information about the arch-commits mailing list