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: Thu, 22 Sep 2022 11:01:34
Message-Id: 1663844488.8fb5ae5649568ea36788ab2ca5e893a8ba00d16c.mgorny@gentoo
1 commit: 8fb5ae5649568ea36788ab2ca5e893a8ba00d16c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 22 10:59:23 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 22 11:01:28 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fb5ae56
7
8 dev-python/openapi-schema-validator: Bump to 0.3.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.3.4.ebuild | 38 ++++++++++++++++++++++
14 2 files changed, 39 insertions(+)
15
16 diff --git a/dev-python/openapi-schema-validator/Manifest b/dev-python/openapi-schema-validator/Manifest
17 index c4d757e499ae..022baf2e9b0b 100644
18 --- a/dev-python/openapi-schema-validator/Manifest
19 +++ b/dev-python/openapi-schema-validator/Manifest
20 @@ -2,3 +2,4 @@ DIST openapi-schema-validator-0.2.3.gh.tar.gz 25501 BLAKE2B d961cabca647f59d4d41
21 DIST openapi-schema-validator-0.3.0.gh.tar.gz 27083 BLAKE2B 288f5d18874625c69eccf9be6442258ff8af735795eac0ee0449e5976584b1af22c1ea771bb79b4fa68623e60d417b140737e0d1ee85791027393650f0c1f747 SHA512 003ea97a1cac598eb3728d96291d8be56c6ba9e2d3cd4f77c1258962f67b460a887f4473fed39587870583e13a83403623c3b2f96fa8d02345583cd3bdaf008b
22 DIST openapi-schema-validator-0.3.1.gh.tar.gz 23232 BLAKE2B d02f9004d7baf96e76fb035e212efbdb773f1d7685c8b73107d887ad1cdf2496afd4232bd4fbb263597106b6a7e7d0eb7e6efbe64f422ca11ff228d5f2f51fdb SHA512 72564409e80c8dd8578ba2a363865623aa03b8b2324abd37bea31c503632a367bacf81d8de801579b80347906d2b24c14371c9b37b70176e0bf51ca8c6b9e071
23 DIST openapi-schema-validator-0.3.3.gh.tar.gz 16389 BLAKE2B af700555fd3a21e85cd7205dc549c305c5830bf8b3d3e36f8755153a12e0e6cd8db08cd75350760608db4f38774f369b51b239e47bb7dc6352a7559bf39ef02b SHA512 a621573f7d840bd6e8eb096a820a5ebdf4a07f186f2babda2128b34c66bd8249262d017cdeddec61d9984947666b73cb23a7ac419afd5ae892c14b7b754db57b
24 +DIST openapi-schema-validator-0.3.4.gh.tar.gz 16593 BLAKE2B 17882dff25d1bed05efa74792930a357d82cb404bbf746a6f348e9813b4af86842da1523a8e3dfaec1426c82efff6b0bddbfca89c8569ba36a4324ab4e5a418b SHA512 714f93594c875a04194a6980dc5e092866609787e424ef480d42da93c114e3b658a5efef13f78ed3db35f6e7399d7dda8adbc1d3bb8606512aa4f135edeaeb75
25
26 diff --git a/dev-python/openapi-schema-validator/openapi-schema-validator-0.3.4.ebuild b/dev-python/openapi-schema-validator/openapi-schema-validator-0.3.4.ebuild
27 new file mode 100644
28 index 000000000000..79fa33f1e09d
29 --- /dev/null
30 +++ b/dev-python/openapi-schema-validator/openapi-schema-validator-0.3.4.ebuild
31 @@ -0,0 +1,38 @@
32 +# Copyright 2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DISTUTILS_USE_PEP517=poetry
38 +PYTHON_COMPAT=( pypy3 python3_{8..11} )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="OpenAPI schema validation for Python"
43 +HOMEPAGE="
44 + https://github.com/p1c2u/openapi-schema-validator/
45 + https://pypi.org/project/openapi-schema-validator/
46 +"
47 +SRC_URI="
48 + https://github.com/p1c2u/openapi-schema-validator/archive/${PV}.tar.gz
49 + -> ${P}.gh.tar.gz
50 +"
51 +
52 +LICENSE="BSD"
53 +SLOT="0"
54 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
55 +
56 +RDEPEND="
57 + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
58 + dev-python/isodate[${PYTHON_USEDEP}]
59 + >=dev-python/jsonschema-4.0.0[${PYTHON_USEDEP}]
60 + dev-python/rfc3339-validator[${PYTHON_USEDEP}]
61 + dev-python/strict-rfc3339[${PYTHON_USEDEP}]
62 +"
63 +
64 +distutils_enable_tests pytest
65 +
66 +src_prepare() {
67 + sed -e '/--cov/d' -i pyproject.toml || die
68 + distutils-r1_src_prepare
69 +}