Date: Wed, 29 Jun 2022 21:55:01 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: a721266e2ee3 - main - devel/py-openapi-spec-validator: Allow build with py-openapi-schema-validator 0.3.0 Message-ID: <202206292155.25TLt1Td024826@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=a721266e2ee38424ac00d20150969546d801ef64 commit a721266e2ee38424ac00d20150969546d801ef64 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-06-29 21:44:00 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-06-29 21:49:59 +0000 devel/py-openapi-spec-validator: Allow build with py-openapi-schema-validator 0.3.0 - Bump PORTREVISION for package change Reference: https://github.com/p1c2u/openapi-spec-validator/commit/b2470c2aac5dea63ddac879c24aaa540cebc135d --- devel/py-openapi-spec-validator/Makefile | 5 +++-- devel/py-openapi-spec-validator/files/patch-setup.py | 13 +++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/devel/py-openapi-spec-validator/Makefile b/devel/py-openapi-spec-validator/Makefile index 13a34445f74b..74dc1599874f 100644 --- a/devel/py-openapi-spec-validator/Makefile +++ b/devel/py-openapi-spec-validator/Makefile @@ -2,6 +2,7 @@ PORTNAME= openapi-spec-validator PORTVERSION= 0.4.0 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,8 +13,8 @@ COMMENT= Validator for OpenAPI 2.0 and 3.0.0 specification LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=3.2.0<5.0.0:devel/py-jsonschema@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}openapi-schema-validator>=0.2.0<0.3.0:devel/py-openapi-schema-validator@${PY_FLAVOR} \ +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} \ ${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/files/patch-setup.py b/devel/py-openapi-spec-validator/files/patch-setup.py new file mode 100644 index 000000000000..9c2063f21dcc --- /dev/null +++ b/devel/py-openapi-spec-validator/files/patch-setup.py @@ -0,0 +1,13 @@ +--- setup.py.orig 2022-01-28 04:54:08 UTC ++++ setup.py +@@ -12,8 +12,8 @@ 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 = \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206292155.25TLt1Td024826>