From 5fc5297b59b2894b9f71f02bbd1ad04b7797bb81 Mon Sep 17 00:00:00 2001 From: Himadri Bhattacharjee <107522312+lavafroth@users.noreply.github.com> Date: Sat, 13 Jul 2024 14:01:36 +0530 Subject: [PATCH] python3Packages.weboob: drop superseded by python3Packages.woob --- .../python-modules/weboob/default.nix | 91 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 3 files changed, 1 insertion(+), 93 deletions(-) delete mode 100644 pkgs/development/python-modules/weboob/default.nix diff --git a/pkgs/development/python-modules/weboob/default.nix b/pkgs/development/python-modules/weboob/default.nix deleted file mode 100644 index 53b632abeab8..000000000000 --- a/pkgs/development/python-modules/weboob/default.nix +++ /dev/null @@ -1,91 +0,0 @@ -{ - lib, - babel, - buildPythonPackage, - cssselect, - feedparser, - fetchPypi, - gdata, - gnupg, - google-api-python-client, - html2text, - libyaml, - lxml, - mechanize, - nose, - pdfminer-six, - pillow, - prettytable, - pyqt5, - python-dateutil, - pythonOlder, - pyyaml, - requests, - simplejson, - termcolor, - unidecode, -}: - -buildPythonPackage rec { - pname = "weboob"; - version = "2.0"; - format = "setuptools"; - - disabled = pythonOlder "3.7"; - - src = fetchPypi { - inherit pname version; - sha256 = "1c69vzf8sg8471lcaafpz9iw2q3rfj5hmcpqrs2k59fkgbvy32zw"; - }; - - nativeBuildInputs = [ pyqt5 ]; - - propagatedBuildInputs = [ - babel - cssselect - python-dateutil - feedparser - gdata - gnupg - google-api-python-client - html2text - libyaml - lxml - mechanize - pdfminer-six - pillow - prettytable - pyqt5 - pyyaml - requests - simplejson - termcolor - unidecode - ]; - - postPatch = '' - substituteInPlace setup.cfg \ - --replace "with-doctest = 1" "" \ - --replace "with-coverage = 1" "" \ - --replace "weboob.browser.filters.standard," "" \ - --replace "weboob.browser.tests.filters," "" \ - --replace "weboob.tools.application.formatters.json," "" \ - --replace "weboob.tools.application.formatters.table," "" \ - --replace "weboob.tools.capabilities.bank.transactions," "" - ''; - - nativeCheckInputs = [ nose ]; - - checkPhase = '' - nosetests - ''; - - pythonImportsCheck = [ "weboob" ]; - - meta = with lib; { - description = "Collection of applications and APIs to interact with websites"; - homepage = "http://weboob.org"; - license = licenses.agpl3Plus; - maintainers = with maintainers; [ ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index f17abd7da95b..a1c24d927c42 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -607,6 +607,7 @@ mapAliases ({ WazeRouteCalculator = wazeroutecalculator; # added 2021-09-29 weakrefmethod = throw "weakrefmethod was removed since it's not needed in Python >= 3.4"; # added 2022-12-01 webapp2 = throw "webapp2 is unmaintained since 2012"; # added 2022-05-29 + weboob = throw "weboob has been removed, please use woob instead"; # added 2024-07-27 websocket_client = websocket-client; # added 2021-06-15 word2vec = throw "word2vec has been removed because it is abandoned"; # added 2023-05-22 wxPython_4_0 = throw "wxPython_4_0 has been removed, use wxpython instead"; # added 2023-03-19 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1f7fd485376c..47dbd2c96937 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -17267,8 +17267,6 @@ self: super: with self; { webob = callPackage ../development/python-modules/webob { }; - weboob = callPackage ../development/python-modules/weboob { }; - webrtc-noise-gain = callPackage ../development/python-modules/webrtc-noise-gain { }; webrtcvad = callPackage ../development/python-modules/webrtcvad { };