python312Packages.justext: fix build after lxml upgrade
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
lxml,
|
||||
lxml-html-clean,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -18,14 +19,17 @@ buildPythonPackage rec {
|
||||
hash = "sha256-9i7hzCK/ijh8xw9l2ZbVhVj5IBf0WD/49/R1tSWgqrQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ lxml ];
|
||||
propagatedBuildInputs = [
|
||||
lxml
|
||||
lxml-html-clean
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
# patch out coverage report
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace " --cov=justext --cov-report=term-missing --no-cov-on-fail" ""
|
||||
--replace-fail " --cov=justext --cov-report=term-missing --no-cov-on-fail" ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "justext" ];
|
||||
|
||||
Reference in New Issue
Block a user