Fabian Affolter 2022-12-06 19:23:07 +01:00
parent 31287bd67d
commit e35206bd7c

View File

@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "rstcheck-core";
version = "1.0.2";
version = "1.0.3";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -24,7 +24,7 @@ buildPythonPackage rec {
owner = "rstcheck";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-XNr+prK9VDP66ZaFvh3Qrx+eJs6mnVO8lvoMC/qrCLs=";
hash = "sha256-9U+GhkwBr+f3yEe7McOxqPRUuTp9vP+3WT5wZ92n32w=";
};
nativeBuildInputs = [
@ -45,12 +45,6 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'types-docutils = ">=0.18, <0.19"' 'types-docutils = ">=0.18"' \
--replace 'docutils = ">=0.7, <0.19"' 'docutils = ">=0.7"'
'';
pythonImportsCheck = [
"rstcheck_core"
];