diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-02-23 14:57:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-23 14:57:37 +0100 |
commit | 0eca737ea813ab9105ebb867ee2b2447a414ae5b (patch) | |
tree | dbe6939d4d561016ec2bdc03eacaaf6b3b06600f /pkgs | |
parent | 422e78fb1045b93e739540a08d08d67f92f3a6aa (diff) | |
parent | 088d797f12d6d5799ee1e84fd72ff4006ca0e81a (diff) |
Merge pull request #114047 from fabaff/bump-pyquery
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/addic7ed-cli/default.nix | 8 | ||||
-rw-r--r-- | pkgs/development/python-modules/pyquery/default.nix | 17 |
2 files changed, 18 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/addic7ed-cli/default.nix b/pkgs/development/python-modules/addic7ed-cli/default.nix index bdf6aab3dbfc5..3ee3a897a906a 100644 --- a/pkgs/development/python-modules/addic7ed-cli/default.nix +++ b/pkgs/development/python-modules/addic7ed-cli/default.nix @@ -1,4 +1,6 @@ -{ lib, python3Packages, }: +{ lib +, python3Packages +}: python3Packages.buildPythonApplication rec { pname = "addic7ed-cli"; @@ -14,6 +16,10 @@ python3Packages.buildPythonApplication rec { pyquery ]; + # Tests require network access + doCheck = false; + pythonImportsCheck = [ "addic7ed_cli" ]; + meta = with lib; { description = "A commandline access to addic7ed subtitles"; homepage = "https://github.com/BenoitZugmeyer/addic7ed-cli"; diff --git a/pkgs/development/python-modules/pyquery/default.nix b/pkgs/development/python-modules/pyquery/default.nix index 2bb2eb1c6fccc..40139c795677e 100644 --- a/pkgs/development/python-modules/pyquery/default.nix +++ b/pkgs/development/python-modules/pyquery/default.nix @@ -1,14 +1,15 @@ { lib , buildPythonPackage -, fetchPypi , cssselect +, fetchPypi , lxml -, webob +, pythonOlder }: buildPythonPackage rec { pname = "pyquery"; - version = "1.2.9"; + version = "1.4.3"; + disabled = pythonOlder "3.5"; src = fetchPypi { inherit pname version; @@ -16,15 +17,19 @@ buildPythonPackage rec { sha256 = "00p6f1dfma65192hc72dxd506491lsq3g5wgxqafi1xpg2w1xia6"; }; - propagatedBuildInputs = [ cssselect lxml webob ]; + propagatedBuildInputs = [ + cssselect + lxml + ]; # circular dependency on webtest doCheck = false; + pythonImportsCheck = [ "pyquery" ]; meta = with lib; { + description = "A jquery-like library for Python"; homepage = "https://github.com/gawel/pyquery"; - description = "A jquery-like library for python"; + changelog = "https://github.com/gawel/pyquery/blob/${version}/CHANGES.rst"; license = licenses.bsd0; }; - } |