From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8384E158090 for ; Tue, 24 May 2022 06:16:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18532E08D3; Tue, 24 May 2022 06:16:34 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F089BE08D3 for ; Tue, 24 May 2022 06:16:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 03306341698 for ; Tue, 24 May 2022 06:16:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0AA844E3 for ; Tue, 24 May 2022 06:16:30 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1653372931.965af87a1eb39f656cfc0bb4bca72fca564c8286.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/openapi-schema-validator/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/openapi-schema-validator/Manifest dev-python/openapi-schema-validator/metadata.xml dev-python/openapi-schema-validator/openapi-schema-validator-0.2.3.ebuild X-VCS-Directories: dev-python/openapi-schema-validator/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 965af87a1eb39f656cfc0bb4bca72fca564c8286 X-VCS-Branch: master Date: Tue, 24 May 2022 06:16:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fb3f6ef9-382e-43bc-85c0-12125c3f627d X-Archives-Hash: 1ab18d114255dde4b590f412a0450e35 commit: 965af87a1eb39f656cfc0bb4bca72fca564c8286 Author: Michał Górny gentoo org> AuthorDate: Tue May 24 04:25:11 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue May 24 06:15:31 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=965af87a dev-python/openapi-schema-validator: New package, v0.2.3 Needed by openapi-spec-validator that is a new dependency of dev-python/moto. Signed-off-by: Michał Górny gentoo.org> dev-python/openapi-schema-validator/Manifest | 1 + dev-python/openapi-schema-validator/metadata.xml | 11 +++++++ .../openapi-schema-validator-0.2.3.ebuild | 37 ++++++++++++++++++++++ 3 files changed, 49 insertions(+) diff --git a/dev-python/openapi-schema-validator/Manifest b/dev-python/openapi-schema-validator/Manifest new file mode 100644 index 000000000000..9d505ee9f4df --- /dev/null +++ b/dev-python/openapi-schema-validator/Manifest @@ -0,0 +1 @@ +DIST openapi-schema-validator-0.2.3.gh.tar.gz 25501 BLAKE2B d961cabca647f59d4d4188f1941ce5b2475e02520bcc10e7cd29817c8ea8ebaaac5af1ffb0e3d5079ed2d1493414cdaf55336744b142385754585e748af8ac98 SHA512 e6dfe3d6cc99fa9723102ced42040203157639be68b0438d7bfae4499e51cdb6257a36dca10425a5d5e692cebb958468ebeee722116b99d800a6fcf972400c66 diff --git a/dev-python/openapi-schema-validator/metadata.xml b/dev-python/openapi-schema-validator/metadata.xml new file mode 100644 index 000000000000..b4e6776314fc --- /dev/null +++ b/dev-python/openapi-schema-validator/metadata.xml @@ -0,0 +1,11 @@ + + + + + python@gentoo.org + + + p1c2u/openapi-schema-validator + openapi-schema-validator + + diff --git a/dev-python/openapi-schema-validator/openapi-schema-validator-0.2.3.ebuild b/dev-python/openapi-schema-validator/openapi-schema-validator-0.2.3.ebuild new file mode 100644 index 000000000000..89d06659d301 --- /dev/null +++ b/dev-python/openapi-schema-validator/openapi-schema-validator-0.2.3.ebuild @@ -0,0 +1,37 @@ +# 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" + +RDEPEND=" + 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 -i -e '/--cov/d' pyproject.toml || die + distutils-r1_src_prepare +}