diff options
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/openapi-schema-validator/Manifest | 1 | ||||
-rw-r--r-- | dev-python/openapi-schema-validator/openapi-schema-validator-0.5.0.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/openapi-schema-validator/Manifest b/dev-python/openapi-schema-validator/Manifest index 5136401c04b4..6c856b3ba479 100644 --- a/dev-python/openapi-schema-validator/Manifest +++ b/dev-python/openapi-schema-validator/Manifest @@ -1 +1,2 @@ DIST openapi_schema_validator-0.4.4.tar.gz 11626 BLAKE2B e4247f07476d472761f46c98d9259383e960641b910334d967e61f55c63b855c752176e7217f8870016ec3767b0c1c45e8863ca600e354eb5aaa62bcacbe8d51 SHA512 273e3d7080c794ff277170e55e67e32d65211469642652437e59f985a002b20bd2cc8643d2b0214dc232980dd69c2f87ea748537552c66999a110b2e4be2125c +DIST openapi_schema_validator-0.5.0.tar.gz 11996 BLAKE2B 91f4c51c1d44e363b5f4ca8c69c7836a6df3927d2db5f255b1cc81b97b2056b409becc6f5fb44c0fb82a11fb6a6de398ae49930fdcf77cdb1d88c998b75bf00f SHA512 4db13d63641f375d809501ca7f6efecbbdcc46e74fff1d06657e0c509e6e182c9b97a83031b7a9251e9897f5dd5620a29ddf932f7b8e191c3f78fd2adba5bc68 diff --git a/dev-python/openapi-schema-validator/openapi-schema-validator-0.5.0.ebuild b/dev-python/openapi-schema-validator/openapi-schema-validator-0.5.0.ebuild new file mode 100644 index 000000000000..038f831c7904 --- /dev/null +++ b/dev-python/openapi-schema-validator/openapi-schema-validator-0.5.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="OpenAPI schema validation for Python" +HOMEPAGE=" + https://github.com/python-openapi/openapi-schema-validator/ + https://pypi.org/project/openapi-schema-validator/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + <dev-python/jsonschema-4.18[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.0.0[${PYTHON_USEDEP}] + dev-python/rfc3339-validator[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + sed -e '/--cov/d' -i pyproject.toml || die + distutils-r1_src_prepare +} |