Skip to content

Commit

Permalink
Merge pull request #137273 from fabaff/bump-beautifulsoup4
Browse files Browse the repository at this point in the history
python3Packages.beautifulsoup4: 4.9.3 -> 4.10.0
  • Loading branch information
SuperSandro2000 authored Sep 12, 2021
2 parents 5fae387 + 231dd10 commit 03f2cae
Showing 1 changed file with 23 additions and 8 deletions.
31 changes: 23 additions & 8 deletions pkgs/development/python-modules/beautifulsoup4/default.nix
Original file line number Diff line number Diff line change
@@ -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/";
Expand Down

0 comments on commit 03f2cae

Please sign in to comment.