python310Packages.jsonschema: 4.9.1 -> 4.13.0
This commit is contained in:
parent
2817fc3244
commit
1609e4a63e
@ -14,16 +14,20 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "jsonschema";
|
pname = "jsonschema";
|
||||||
version = "4.9.1";
|
version = "4.13.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-QIxMjtDe3jsmj3pEF4T3QgY4CwT5PrLVN8e++z3zCZ8=";
|
sha256 = "sha256-N3ZRLfT1P3Tm4o/jVxe1siPBdWh1SGmEoxvJFl5/ySA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
./remove-fancy-pypi-readme.patch
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs json/bin/jsonschema_suite
|
patchShebangs json/bin/jsonschema_suite
|
||||||
'';
|
'';
|
||||||
|
@ -0,0 +1,33 @@
|
|||||||
|
--- a/pyproject.toml 2022-08-21 05:04:18.443484836 +0200
|
||||||
|
+++ b/pyproject.toml 2022-08-21 05:04:50.789353514 +0200
|
||||||
|
@@ -76,30 +76,6 @@
|
||||||
|
Changelog = "https://github.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst"
|
||||||
|
Source = "https://github.com/python-jsonschema/jsonschema"
|
||||||
|
|
||||||
|
-[tool.hatch.metadata.hooks.fancy-pypi-readme]
|
||||||
|
-content-type = "text/x-rst"
|
||||||
|
-
|
||||||
|
-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
|
||||||
|
-path = "README.rst"
|
||||||
|
-end-before = ".. start cut from PyPI"
|
||||||
|
-
|
||||||
|
-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
|
||||||
|
-path = "README.rst"
|
||||||
|
-start-after = ".. end cut from PyPI\n\n\n"
|
||||||
|
-
|
||||||
|
-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
|
||||||
|
-text = """
|
||||||
|
-
|
||||||
|
-
|
||||||
|
-Release Information
|
||||||
|
--------------------
|
||||||
|
-
|
||||||
|
-"""
|
||||||
|
-
|
||||||
|
-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
|
||||||
|
-path = "CHANGELOG.rst"
|
||||||
|
-pattern = "(^v.+?)\nv"
|
||||||
|
-
|
||||||
|
[tool.isort]
|
||||||
|
from_first = true
|
||||||
|
include_trailing_comma = true
|
Loading…
Reference in New Issue
Block a user