git: d1ce47a34a7f - main - devel/py-openapi-spec-validator: Update to 0.5.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 04 Sep 2022 03:53:01 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d1ce47a34a7fe3f27d1e162b224c3cf5ad1490ba

commit d1ce47a34a7fe3f27d1e162b224c3cf5ad1490ba
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-09-04 03:46:47 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-09-04 03:46:47 +0000

    devel/py-openapi-spec-validator: Update to 0.5.0
    
    Changes:        https://github.com/p1c2u/openapi-spec-validator/releases
---
 devel/py-openapi-spec-validator/Makefile             | 10 ++++++----
 devel/py-openapi-spec-validator/distinfo             |  6 +++---
 devel/py-openapi-spec-validator/files/patch-setup.py | 16 +++++++---------
 3 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/devel/py-openapi-spec-validator/Makefile b/devel/py-openapi-spec-validator/Makefile
index cc01b60d2c5e..b37fb58df214 100644
--- a/devel/py-openapi-spec-validator/Makefile
+++ b/devel/py-openapi-spec-validator/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	openapi-spec-validator
-PORTVERSION=	0.4.0
-PORTREVISION=	1
+PORTVERSION=	0.5.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +10,11 @@ COMMENT=	Validator for OpenAPI 2.0 and 3.0.0 specification
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}jsonschema>=4.0.0<5.0.0:devel/py-jsonschema@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}openapi-schema-validator>=0.3.0<0.4.0:devel/py-openapi-schema-validator@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}importlib-resources>=5.8.0<6.0.0:devel/py-importlib-resources@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}jsonschema>=4.0.0<5.0.0:devel/py-jsonschema@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}jsonschema-spec>=0.1.1<0.2.0:devel/py-jsonschema-spec@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}lazy-object-proxy>=1.7.1<2.0.0:devel/py-lazy-object-proxy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}openapi-schema-validator>=0.3.2<0.4.0:devel/py-openapi-schema-validator@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}yaml>=5.1:devel/py-yaml@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
diff --git a/devel/py-openapi-spec-validator/distinfo b/devel/py-openapi-spec-validator/distinfo
index 62563bce6099..aa0c2fd67836 100644
--- a/devel/py-openapi-spec-validator/distinfo
+++ b/devel/py-openapi-spec-validator/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1643971074
-SHA256 (openapi-spec-validator-0.4.0.tar.gz) = 97f258850afc97b048f7c2653855e0f88fa66ac103c2be5077c7960aca2ad49a
-SIZE (openapi-spec-validator-0.4.0.tar.gz) = 26679
+TIMESTAMP = 1662212164
+SHA256 (openapi-spec-validator-0.5.0.tar.gz) = 8026cd5c11a1556d4cdec56134c2ab8b64b588c10c9210d36a173b752291ad0d
+SIZE (openapi-spec-validator-0.5.0.tar.gz) = 27729
diff --git a/devel/py-openapi-spec-validator/files/patch-setup.py b/devel/py-openapi-spec-validator/files/patch-setup.py
index 9c2063f21dcc..4e5cbc0e5a53 100644
--- a/devel/py-openapi-spec-validator/files/patch-setup.py
+++ b/devel/py-openapi-spec-validator/files/patch-setup.py
@@ -1,13 +1,11 @@
---- setup.py.orig	2022-01-28 04:54:08 UTC
+--- setup.py.orig	1970-01-01 00:00:00 UTC
 +++ setup.py
-@@ -12,8 +12,8 @@ package_data = \
+@@ -15,7 +15,7 @@ package_data = \
  
  install_requires = \
  ['PyYAML>=5.1',
-- 'jsonschema>=3.2.0,<5.0.0',
-- 'openapi-schema-validator>=0.2.0,<0.3.0',
-+ 'jsonschema>=3.0.0,<5.0.0',
-+ 'openapi-schema-validator>=0.3.0,<0.4.0',
-  'setuptools']
- 
- extras_require = \
+- 'importlib-resources>=5.8.0,<6.0.0',
++ 'importlib-resources>=5.4.0,<6.0.0',
+  'jsonschema-spec>=0.1.1,<0.2.0',
+  'jsonschema>=4.0.0,<5.0.0',
+  'lazy-object-proxy>=1.7.1,<2.0.0',