python3Packages.beautifulsoup4: 4.9.3 -> 4.10.0
This commit is contained in:
parent
f6e9e908cc
commit
231dd103c7
1 changed files with 23 additions and 8 deletions
|
@ -1,20 +1,35 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi, soupsieve, pytest, python }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, html5lib
|
||||||
|
, lxml
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, soupsieve
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "beautifulsoup4";
|
pname = "beautifulsoup4";
|
||||||
version = "4.9.3";
|
version = "4.10.0";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "84729e322ad1d5b4d25f805bfa05b902dd96450f43842c4e99067d5e1369eb25";
|
sha256 = "sha256-wjrSPFIdgYlVpBUaZ9gVgDGdS/VI09SfQiOuBB/5iJE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
propagatedBuildInputs = [
|
||||||
checkPhase = ''
|
html5lib
|
||||||
py.test $out/${python.sitePackages}/bs4/tests
|
lxml
|
||||||
'';
|
soupsieve
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ soupsieve ];
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "bs4" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "http://crummy.com/software/BeautifulSoup/bs4/";
|
homepage = "http://crummy.com/software/BeautifulSoup/bs4/";
|
||||||
|
|
Loading…
Reference in a new issue