Merge pull request #204835 from fabaff/rstcheck-core-bump

python310Packages.rstcheck-core: 1.0.2 -> 1.0.3, python310Packages.rstcheck: 6.1.0 -> 6.1.1
This commit is contained in:
Fabian Affolter
2022-12-07 09:24:06 +01:00
committed by GitHub
2 changed files with 8 additions and 18 deletions
@@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "rstcheck-core";
version = "1.0.2";
version = "1.0.3";
format = "pyproject";
disabled = pythonOlder "3.7";
@@ -23,8 +23,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "rstcheck";
repo = pname;
rev = "v${version}";
hash = "sha256-XNr+prK9VDP66ZaFvh3Qrx+eJs6mnVO8lvoMC/qrCLs=";
rev = "refs/tags/v${version}";
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"
];
@@ -58,6 +52,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Library for checking syntax of reStructuredText";
homepage = "https://github.com/rstcheck/rstcheck-core";
changelog = "https://github.com/rstcheck/rstcheck-core/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
@@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "rstcheck";
version = "6.1.0";
version = "6.1.1";
format = "pyproject";
disabled = pythonOlder "3.7";
@@ -23,8 +23,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "rstcheck";
repo = pname;
rev = "v${version}";
hash = "sha256-dw/KggiZpKaFZMcTIaSBUhR4oQsZI3iSmEj9Sy80wTs=";
rev = "refs/tags/v${version}";
hash = "sha256-6TpDzk0GjIn9AnWadwHoYRc3SNi9nBAM7GyKm338wH8=";
};
nativeBuildInputs = [
@@ -47,12 +47,6 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'docutils = ">=0.7, <0.19"' 'docutils = ">=0.7"' \
--replace 'types-docutils = ">=0.18, <0.19"' 'types-docutils = ">=0.18"'
'';
pythonImportsCheck = [
"rstcheck"
];
@@ -65,6 +59,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Checks syntax of reStructuredText and code blocks nested within it";
homepage = "https://github.com/myint/rstcheck";
changelog = "https://github.com/rstcheck/rstcheck/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ staccato ];
};