mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
python3-openapi-core: update to 0.18.2.
This commit is contained in:
parent
f6a2da04c9
commit
8fb3c3da63
2 changed files with 18 additions and 3 deletions
15
srcpkgs/python3-openapi-core/patches/jsonschema-path.patch
Normal file
15
srcpkgs/python3-openapi-core/patches/jsonschema-path.patch
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
Fix import for renamed module jsonschema_spec -> jsonschema_path
|
||||||
|
|
||||||
|
This change is already merged upstream in master (n/a in a release)
|
||||||
|
|
||||||
|
--- a/openapi_core/spec/paths.py
|
||||||
|
+++ b/openapi_core/spec/paths.py
|
||||||
|
@@ -6,7 +6,7 @@
|
||||||
|
from typing import TypeVar
|
||||||
|
|
||||||
|
from jsonschema.validators import _UNSET
|
||||||
|
-from jsonschema_spec import SchemaPath
|
||||||
|
+from jsonschema_path import SchemaPath
|
||||||
|
from openapi_spec_validator import validate
|
||||||
|
|
||||||
|
TSpec = TypeVar("TSpec", bound="Spec")
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python3-openapi-core'
|
# Template file for 'python3-openapi-core'
|
||||||
pkgname=python3-openapi-core
|
pkgname=python3-openapi-core
|
||||||
version=0.18.1
|
version=0.18.2
|
||||||
revision=2
|
revision=1
|
||||||
build_style=python3-pep517
|
build_style=python3-pep517
|
||||||
# disable tests requiring unpackaged dependencies
|
# disable tests requiring unpackaged dependencies
|
||||||
make_check_args="
|
make_check_args="
|
||||||
|
@ -21,7 +21,7 @@ license="BSD-3-Clause"
|
||||||
homepage="https://github.com/python-openapi/openapi-core"
|
homepage="https://github.com/python-openapi/openapi-core"
|
||||||
changelog="https://github.com/python-openapi/openapi-core/releases"
|
changelog="https://github.com/python-openapi/openapi-core/releases"
|
||||||
distfiles="${PYPI_SITE}/o/openapi-core/openapi_core-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/o/openapi-core/openapi_core-${version}.tar.gz"
|
||||||
checksum=63fa13d9af226ac00119b0531ac9929e3dbb4cbe00216770784473fa6a03bc27
|
checksum=d4cc50f3ee03ae46313c83e97c6fbfe7e7ae9686741135eb0e4ed49e9d8ff08a
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Add table
Reference in a new issue