mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
python3-jsonschema: update to 4.14.0.
This commit is contained in:
parent
614d07d24f
commit
65f6923321
2 changed files with 58 additions and 3 deletions
|
@ -0,0 +1,55 @@
|
||||||
|
From 51aaa505d9963b6424d567f1fc704194fa890a67 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
|
||||||
|
<jan.christian@gruenhage.xyz>
|
||||||
|
Date: Sun, 21 Aug 2022 13:53:37 +0200
|
||||||
|
Subject: [PATCH] patch out hatch-fancy-pypi-readme
|
||||||
|
|
||||||
|
---
|
||||||
|
pyproject.toml | 26 +-------------------------
|
||||||
|
1 file changed, 1 insertion(+), 25 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/pyproject.toml b/pyproject.toml
|
||||||
|
index f5fe8db..7ae8318 100644
|
||||||
|
--- a/pyproject.toml
|
||||||
|
+++ b/pyproject.toml
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
[build-system]
|
||||||
|
-requires = ["hatchling", "hatch-vcs", "hatch-fancy-pypi-readme"]
|
||||||
|
+requires = ["hatchling", "hatch-vcs"]
|
||||||
|
build-backend = "hatchling.build"
|
||||||
|
|
||||||
|
[tool.hatch.version]
|
||||||
|
@@ -76,30 +76,6 @@ Tidelift = "https://tidelift.com/subscription/pkg/pypi-jsonschema?utm_source=pyp
|
||||||
|
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
|
||||||
|
--
|
||||||
|
2.37.2
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'python3-jsonschema'
|
# Template file for 'python3-jsonschema'
|
||||||
pkgname=python3-jsonschema
|
pkgname=python3-jsonschema
|
||||||
version=4.9.1
|
version=4.14.0
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="jsonschema-${version}"
|
wrksrc="jsonschema-${version}"
|
||||||
build_style=python3-pep517
|
build_style=python3-pep517
|
||||||
|
@ -13,14 +13,14 @@ license="MIT"
|
||||||
homepage="https://github.com/Julian/jsonschema"
|
homepage="https://github.com/Julian/jsonschema"
|
||||||
changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
|
changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
|
||||||
distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
|
||||||
checksum=408c4c8ed0dede3b268f7a441784f74206380b04f93eb2d537c7befb3df3099f
|
checksum=15062f4cc6f591400cd528d2c355f2cfa6a57e44c820dc783aee5e23d36a831f
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
rm -rf *.dist-info tmp # remove artifacts from previous unsuccessful check run
|
rm -rf *.dist-info tmp # remove artifacts from previous unsuccessful check run
|
||||||
pip install --no-deps --target tmp ./jsonschema-$version-py3-none-any.whl
|
pip install --no-deps --target tmp ./jsonschema-$version-py3-none-any.whl
|
||||||
rm tmp/jsonschema/tests -rf
|
rm tmp/jsonschema/tests -rf
|
||||||
mv tmp/*.dist-info .
|
mv tmp/*.dist-info .
|
||||||
PYTHONPATH=. pytest
|
PYTHONPATH=. pytest --deselect jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug
|
||||||
rm -rf *.dist-info tmp
|
rm -rf *.dist-info tmp
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue