From 4e9b1a3a3a982bcafa5b07b60bc42a2a0d553019 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 17 Mar 2023 14:04:10 +0100 Subject: [PATCH] dev-python/openapi-schema-validator: Bump to 0.4.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/openapi-schema-validator/Manifest | 1 + .../openapi-schema-validator-0.4.4.ebuild | 32 +++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 dev-python/openapi-schema-validator/openapi-schema-validator-0.4.4.ebuild diff --git a/dev-python/openapi-schema-validator/Manifest b/dev-python/openapi-schema-validator/Manifest index 994357631048d..f8624ff1c2eb7 100644 --- a/dev-python/openapi-schema-validator/Manifest +++ b/dev-python/openapi-schema-validator/Manifest @@ -1 +1,2 @@ DIST openapi-schema-validator-0.4.3.gh.tar.gz 30639 BLAKE2B 370e3cc4e6c9892912dc77114ca867752f46afd1555f91a3721f41a9c4516fdffc0416f2f1028f4717ca8cc1a1ef2ec47607b7ef2b6578a0b01afb8ddb6660c8 SHA512 a930ecafe2e4c1d4d021a71fe9b8f35c496320e5c5198e2ccb57d82e01570430c4904cae7bc44578bc95be63cf5c709c5bef1d96014c3a66fca3b4495c5e455c +DIST openapi_schema_validator-0.4.4.tar.gz 11626 BLAKE2B e4247f07476d472761f46c98d9259383e960641b910334d967e61f55c63b855c752176e7217f8870016ec3767b0c1c45e8863ca600e354eb5aaa62bcacbe8d51 SHA512 273e3d7080c794ff277170e55e67e32d65211469642652437e59f985a002b20bd2cc8643d2b0214dc232980dd69c2f87ea748537552c66999a110b2e4be2125c diff --git a/dev-python/openapi-schema-validator/openapi-schema-validator-0.4.4.ebuild b/dev-python/openapi-schema-validator/openapi-schema-validator-0.4.4.ebuild new file mode 100644 index 0000000000000..8fc31514fa274 --- /dev/null +++ b/dev-python/openapi-schema-validator/openapi-schema-validator-0.4.4.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_{9..11} ) + +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.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 +}