Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/openapi-schema-validator/
Date: Fri, 17 Mar 2023 13:33:55
Message-Id: 1679060026.4e9b1a3a3a982bcafa5b07b60bc42a2a0d553019.mgorny@gentoo
1 commit: 4e9b1a3a3a982bcafa5b07b60bc42a2a0d553019
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 17 13:04:10 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 17 13:33:46 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e9b1a3a
7
8 dev-python/openapi-schema-validator: Bump to 0.4.4
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/openapi-schema-validator/Manifest | 1 +
13 .../openapi-schema-validator-0.4.4.ebuild | 32 ++++++++++++++++++++++
14 2 files changed, 33 insertions(+)
15
16 diff --git a/dev-python/openapi-schema-validator/Manifest b/dev-python/openapi-schema-validator/Manifest
17 index 994357631048..f8624ff1c2eb 100644
18 --- a/dev-python/openapi-schema-validator/Manifest
19 +++ b/dev-python/openapi-schema-validator/Manifest
20 @@ -1 +1,2 @@
21 DIST openapi-schema-validator-0.4.3.gh.tar.gz 30639 BLAKE2B 370e3cc4e6c9892912dc77114ca867752f46afd1555f91a3721f41a9c4516fdffc0416f2f1028f4717ca8cc1a1ef2ec47607b7ef2b6578a0b01afb8ddb6660c8 SHA512 a930ecafe2e4c1d4d021a71fe9b8f35c496320e5c5198e2ccb57d82e01570430c4904cae7bc44578bc95be63cf5c709c5bef1d96014c3a66fca3b4495c5e455c
22 +DIST openapi_schema_validator-0.4.4.tar.gz 11626 BLAKE2B e4247f07476d472761f46c98d9259383e960641b910334d967e61f55c63b855c752176e7217f8870016ec3767b0c1c45e8863ca600e354eb5aaa62bcacbe8d51 SHA512 273e3d7080c794ff277170e55e67e32d65211469642652437e59f985a002b20bd2cc8643d2b0214dc232980dd69c2f87ea748537552c66999a110b2e4be2125c
23
24 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
25 new file mode 100644
26 index 000000000000..8fc31514fa27
27 --- /dev/null
28 +++ b/dev-python/openapi-schema-validator/openapi-schema-validator-0.4.4.ebuild
29 @@ -0,0 +1,32 @@
30 +# Copyright 2022-2023 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=poetry
36 +PYTHON_COMPAT=( pypy3 python3_{9..11} )
37 +
38 +inherit distutils-r1 pypi
39 +
40 +DESCRIPTION="OpenAPI schema validation for Python"
41 +HOMEPAGE="
42 + https://github.com/python-openapi/openapi-schema-validator/
43 + https://pypi.org/project/openapi-schema-validator/
44 +"
45 +
46 +LICENSE="BSD"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
49 +
50 +RDEPEND="
51 + <dev-python/jsonschema-4.18[${PYTHON_USEDEP}]
52 + >=dev-python/jsonschema-4.0.0[${PYTHON_USEDEP}]
53 + dev-python/rfc3339-validator[${PYTHON_USEDEP}]
54 +"
55 +
56 +distutils_enable_tests pytest
57 +
58 +src_prepare() {
59 + sed -e '/--cov/d' -i pyproject.toml || die
60 + distutils-r1_src_prepare
61 +}