diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-09-11 20:14:14 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-09-11 20:14:14 +0200 |
commit | 231dd103c7a0d3d62dc535b4b3b5aac78a3655fb (patch) | |
tree | 6db768ca53e4862ef82bc924b885bebb2b3b6ac5 | |
parent | f6e9e908ccbcabb365cb5434a4a38dd8c996fc72 (diff) | |
download | nixlib-231dd103c7a0d3d62dc535b4b3b5aac78a3655fb.tar nixlib-231dd103c7a0d3d62dc535b4b3b5aac78a3655fb.tar.gz nixlib-231dd103c7a0d3d62dc535b4b3b5aac78a3655fb.tar.bz2 nixlib-231dd103c7a0d3d62dc535b4b3b5aac78a3655fb.tar.lz nixlib-231dd103c7a0d3d62dc535b4b3b5aac78a3655fb.tar.xz nixlib-231dd103c7a0d3d62dc535b4b3b5aac78a3655fb.tar.zst nixlib-231dd103c7a0d3d62dc535b4b3b5aac78a3655fb.zip |
python3Packages.beautifulsoup4: 4.9.3 -> 4.10.0
-rw-r--r-- | pkgs/development/python-modules/beautifulsoup4/default.nix | 31 |
1 files changed, 23 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/beautifulsoup4/default.nix b/pkgs/development/python-modules/beautifulsoup4/default.nix index b00c03a09c14..0d6b534b4aa0 100644 --- a/pkgs/development/python-modules/beautifulsoup4/default.nix +++ b/pkgs/development/python-modules/beautifulsoup4/default.nix @@ -1,20 +1,35 @@ -{ lib, buildPythonPackage, fetchPypi, soupsieve, pytest, python }: +{ lib +, buildPythonPackage +, fetchPypi +, html5lib +, lxml +, pytestCheckHook +, pythonOlder +, soupsieve +}: buildPythonPackage rec { pname = "beautifulsoup4"; - version = "4.9.3"; + version = "4.10.0"; + + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "84729e322ad1d5b4d25f805bfa05b902dd96450f43842c4e99067d5e1369eb25"; + sha256 = "sha256-wjrSPFIdgYlVpBUaZ9gVgDGdS/VI09SfQiOuBB/5iJE="; }; - checkInputs = [ pytest ]; - checkPhase = '' - py.test $out/${python.sitePackages}/bs4/tests - ''; + propagatedBuildInputs = [ + html5lib + lxml + soupsieve + ]; + + checkInputs = [ + pytestCheckHook + ]; - propagatedBuildInputs = [ soupsieve ]; + pythonImportsCheck = [ "bs4" ]; meta = with lib; { homepage = "http://crummy.com/software/BeautifulSoup/bs4/"; |