Merge pull request #84659 from DamienCassou/damien/weboob2.0

weboob: 1.5 -> 2.0
This commit is contained in:
Jörg Thalheim 2020-04-09 12:42:39 +01:00 committed by GitHub
commit a0bfecdd78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,5 @@
{ lib, buildPythonPackage, fetchPypi, isPy27 { lib, buildPythonPackage, fetchPypi, isPy27
, Babel
, cssselect , cssselect
, dateutil , dateutil
, feedparser , feedparser
@ -24,11 +25,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "weboob"; pname = "weboob";
version = "1.5"; version = "2.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1c9z9gid1mbm1cakb2wj6jjkbrmji8y8ac46iqpih9x1h498bhbs"; sha256 = "1c69vzf8sg8471lcaafpz9iw2q3rfj5hmcpqrs2k59fkgbvy32zw";
}; };
postPatch = '' postPatch = ''
@ -44,13 +45,12 @@ buildPythonPackage rec {
}; p' weboob/browser/browsers.py weboob/browser/pages.py }; p' weboob/browser/browsers.py weboob/browser/pages.py
''; '';
setupPyBuildFlags = ["--qt" "--xdg"];
checkInputs = [ nose ]; checkInputs = [ nose ];
nativeBuildInputs = [ pyqt5 ]; nativeBuildInputs = [ pyqt5 ];
propagatedBuildInputs = [ propagatedBuildInputs = [
Babel
cssselect cssselect
dateutil dateutil
feedparser feedparser
@ -77,7 +77,7 @@ buildPythonPackage rec {
''; '';
meta = { meta = {
homepage = http://weboob.org; homepage = "http://weboob.org";
description = "Collection of applications and APIs to interact with websites without requiring the user to open a browser"; description = "Collection of applications and APIs to interact with websites without requiring the user to open a browser";
license = lib.licenses.agpl3; license = lib.licenses.agpl3;
}; };