commit: 8a2234ceb69bdc1e7f5259365256b54ad0b23961 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Fri Aug 26 16:05:17 2022 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Fri Aug 26 16:33:15 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a2234ce
dev-python/openapi-schema-validator: add 0.3.1 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> dev-python/openapi-schema-validator/Manifest | 1 + .../openapi-schema-validator-0.3.1.ebuild | 38 ++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-python/openapi-schema-validator/Manifest b/dev-python/openapi-schema-validator/Manifest index b65a1e6cac4b..5300489e840f 100644 --- a/dev-python/openapi-schema-validator/Manifest +++ b/dev-python/openapi-schema-validator/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/dev-python/openapi-schema-validator/openapi-schema-validator-0.3.1.ebuild b/dev-python/openapi-schema-validator/openapi-schema-validator-0.3.1.ebuild new file mode 100644 index 000000000000..79fa33f1e09d --- /dev/null +++ b/dev-python/openapi-schema-validator/openapi-schema-validator-0.3.1.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 +}