diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-09-01 21:42:34 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-09-01 22:41:50 +0300 |
commit | 7037acdd2bb601b781e8c8b31fa7056448508534 (patch) | |
tree | 6b5e355d5b43336a7890518490c35f32fcbcc32b /dev-python/openapi-schema-validator | |
parent | dev-python/pyphen: add 0.13.0 (diff) | |
download | gentoo-7037acdd2bb601b781e8c8b31fa7056448508534.tar.gz gentoo-7037acdd2bb601b781e8c8b31fa7056448508534.tar.bz2 gentoo-7037acdd2bb601b781e8c8b31fa7056448508534.zip |
dev-python/openapi-schema-validator: add 0.3.3
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/openapi-schema-validator')
-rw-r--r-- | dev-python/openapi-schema-validator/Manifest | 1 | ||||
-rw-r--r-- | dev-python/openapi-schema-validator/openapi-schema-validator-0.3.3.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/openapi-schema-validator/Manifest b/dev-python/openapi-schema-validator/Manifest index 5300489e840f..c4d757e499ae 100644 --- a/dev-python/openapi-schema-validator/Manifest +++ b/dev-python/openapi-schema-validator/Manifest @@ -1,3 +1,4 @@ DIST openapi-schema-validator-0.2.3.gh.tar.gz 25501 BLAKE2B d961cabca647f59d4d4188f1941ce5b2475e02520bcc10e7cd29817c8ea8ebaaac5af1ffb0e3d5079ed2d1493414cdaf55336744b142385754585e748af8ac98 SHA512 e6dfe3d6cc99fa9723102ced42040203157639be68b0438d7bfae4499e51cdb6257a36dca10425a5d5e692cebb958468ebeee722116b99d800a6fcf972400c66 DIST openapi-schema-validator-0.3.0.gh.tar.gz 27083 BLAKE2B 288f5d18874625c69eccf9be6442258ff8af735795eac0ee0449e5976584b1af22c1ea771bb79b4fa68623e60d417b140737e0d1ee85791027393650f0c1f747 SHA512 003ea97a1cac598eb3728d96291d8be56c6ba9e2d3cd4f77c1258962f67b460a887f4473fed39587870583e13a83403623c3b2f96fa8d02345583cd3bdaf008b DIST openapi-schema-validator-0.3.1.gh.tar.gz 23232 BLAKE2B d02f9004d7baf96e76fb035e212efbdb773f1d7685c8b73107d887ad1cdf2496afd4232bd4fbb263597106b6a7e7d0eb7e6efbe64f422ca11ff228d5f2f51fdb SHA512 72564409e80c8dd8578ba2a363865623aa03b8b2324abd37bea31c503632a367bacf81d8de801579b80347906d2b24c14371c9b37b70176e0bf51ca8c6b9e071 +DIST openapi-schema-validator-0.3.3.gh.tar.gz 16389 BLAKE2B af700555fd3a21e85cd7205dc549c305c5830bf8b3d3e36f8755153a12e0e6cd8db08cd75350760608db4f38774f369b51b239e47bb7dc6352a7559bf39ef02b SHA512 a621573f7d840bd6e8eb096a820a5ebdf4a07f186f2babda2128b34c66bd8249262d017cdeddec61d9984947666b73cb23a7ac419afd5ae892c14b7b754db57b diff --git a/dev-python/openapi-schema-validator/openapi-schema-validator-0.3.3.ebuild b/dev-python/openapi-schema-validator/openapi-schema-validator-0.3.3.ebuild new file mode 100644 index 000000000000..79fa33f1e09d --- /dev/null +++ b/dev-python/openapi-schema-validator/openapi-schema-validator-0.3.3.ebuild @@ -0,0 +1,38 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3 python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="OpenAPI schema validation for Python" +HOMEPAGE=" + https://github.com/p1c2u/openapi-schema-validator/ + https://pypi.org/project/openapi-schema-validator/ +" +SRC_URI=" + https://github.com/p1c2u/openapi-schema-validator/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/isodate[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.0.0[${PYTHON_USEDEP}] + dev-python/rfc3339-validator[${PYTHON_USEDEP}] + dev-python/strict-rfc3339[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + sed -e '/--cov/d' -i pyproject.toml || die + distutils-r1_src_prepare +} |