python3Packages.cssutils: 2.2.0 -> 2.3.0
https://github.com/jaraco/cssutils/blob/v2.3.0/CHANGES.rst (cherry picked from commit ade1f796cb93e804983d956efc3356bdc1cf532f)
This commit is contained in:
parent
0bfc2cc9ea
commit
a68c14446b
|
@ -5,19 +5,21 @@
|
||||||
, setuptools-scm
|
, setuptools-scm
|
||||||
, toml
|
, toml
|
||||||
, importlib-metadata
|
, importlib-metadata
|
||||||
|
, cssselect
|
||||||
|
, lxml
|
||||||
, mock
|
, mock
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "cssutils";
|
pname = "cssutils";
|
||||||
version = "2.2.0";
|
version = "2.3.0";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "5bef59f6b59bdccbea8e36cb292d2be1b6be1b485fc4a9f5886616f19eb31aaf";
|
sha256 = "sha256-stOxYEfKroLlxZADaTW6+htiHPRcLziIWvS+SDjw/QA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -30,6 +32,8 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
cssselect
|
||||||
|
lxml
|
||||||
mock
|
mock
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
@ -38,6 +42,12 @@ buildPythonPackage rec {
|
||||||
# access network
|
# access network
|
||||||
"test_parseUrl"
|
"test_parseUrl"
|
||||||
"encutils"
|
"encutils"
|
||||||
|
"website.logging"
|
||||||
|
] ++ lib.optionals (pythonOlder "3.9") [
|
||||||
|
# AttributeError: module 'importlib.resources' has no attribute 'files'
|
||||||
|
"test_parseFile"
|
||||||
|
"test_parseString"
|
||||||
|
"test_combine"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "cssutils" ];
|
pythonImportsCheck = [ "cssutils" ];
|
||||||
|
|
Loading…
Reference in New Issue