Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2023 13:00:03 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f15f80b54929 - main - devel/py-openapi-core: Allow build with py-openapi-spec-validator 0.7.0
Message-ID:  <202310111300.39BD03hh040403@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit f15f80b5492963d6b9dfd9c70205623a8f0c2f1e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-10-11 12:57:56 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-10-11 12:57:56 +0000

    devel/py-openapi-core: Allow build with py-openapi-spec-validator 0.7.0
    
    Obtained from:  https://github.com/python-openapi/openapi-core/commit/4054861cc9ad7c0baef2746552d9a598f65b41aa
---
 devel/py-openapi-core/Makefile                   |  2 +-
 devel/py-openapi-core/files/patch-pyproject.toml | 13 +++++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/devel/py-openapi-core/Makefile b/devel/py-openapi-core/Makefile
index c58602d4a372..fe1e98d8ca39 100644
--- a/devel/py-openapi-core/Makefile
+++ b/devel/py-openapi-core/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}asgiref>=3.6.0<4:www/py-asgiref@${PY_FLAVOR}
 		${PYTHON_PKGNAMEPREFIX}jsonschema-spec>=0.2.3<0.3:devel/py-jsonschema-spec@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}more-itertools>=0:devel/py-more-itertools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}openapi-schema-validator>=0.6.0<0.7:devel/py-openapi-schema-validator@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}openapi-spec-validator>=0.6.0<0.7:devel/py-openapi-spec-validator@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}openapi-spec-validator>=0.6.0<0.8.0:devel/py-openapi-spec-validator@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}parse>=0:textproc/py-parse@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}werkzeug>=0:www/py-werkzeug@${PY_FLAVOR}
 
diff --git a/devel/py-openapi-core/files/patch-pyproject.toml b/devel/py-openapi-core/files/patch-pyproject.toml
new file mode 100644
index 000000000000..dde3067a87b9
--- /dev/null
+++ b/devel/py-openapi-core/files/patch-pyproject.toml
@@ -0,0 +1,13 @@
+Obtained from:	https://github.com/python-openapi/openapi-core/commit/4054861cc9ad7c0baef2746552d9a598f65b41aa
+
+--- pyproject.toml.orig	2023-09-14 11:17:27 UTC
++++ pyproject.toml
+@@ -68,7 +68,7 @@ isodate = "*"
+ more-itertools = "*"
+ parse = "*"
+ openapi-schema-validator = "^0.6.0"
+-openapi-spec-validator = "^0.6.0"
++openapi-spec-validator = ">=0.6.0,<0.8.0"
+ requests = {version = "*", optional = true}
+ werkzeug = "*"
+ jsonschema-spec = "^0.2.3"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310111300.39BD03hh040403>