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 2C04D158087 for ; Sun, 23 Jan 2022 18:50:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E09E2BC03F; Sun, 23 Jan 2022 18:50:09 +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 6374C2BC03F for ; Sun, 23 Jan 2022 18:50:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DD832340FFC for ; Sun, 23 Jan 2022 18:50:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CD2E72B8 for ; Sun, 23 Jan 2022 18:50:00 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1642963743.23d3a7f58cce0ccbcc5bd1f27b3709bf04c30be2.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinxcontrib-openapi/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/sphinxcontrib-openapi/Manifest dev-python/sphinxcontrib-openapi/metadata.xml dev-python/sphinxcontrib-openapi/sphinxcontrib-openapi-0.7.0.ebuild X-VCS-Directories: dev-python/sphinxcontrib-openapi/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 23d3a7f58cce0ccbcc5bd1f27b3709bf04c30be2 X-VCS-Branch: master Date: Sun, 23 Jan 2022 18:50:00 +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: 9d83b900-09f8-484e-812a-be4307b3e9a6 X-Archives-Hash: 914c4a071e1549f58c10577c4ebcef26 commit: 23d3a7f58cce0ccbcc5bd1f27b3709bf04c30be2 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Jan 22 17:58:28 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Sun Jan 23 18:49:03 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23d3a7f5 dev-python/sphinxcontrib-openapi: new package, add 0.7.0 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/sphinxcontrib-openapi/Manifest | 1 + dev-python/sphinxcontrib-openapi/metadata.xml | 13 +++++++ .../sphinxcontrib-openapi-0.7.0.ebuild | 41 ++++++++++++++++++++++ 3 files changed, 55 insertions(+) diff --git a/dev-python/sphinxcontrib-openapi/Manifest b/dev-python/sphinxcontrib-openapi/Manifest new file mode 100644 index 000000000000..ff4f63cc2f1f --- /dev/null +++ b/dev-python/sphinxcontrib-openapi/Manifest @@ -0,0 +1 @@ +DIST sphinxcontrib-openapi-0.7.0.tar.gz 193897 BLAKE2B c0f1c46c6e8c67ddf95d163a68f5e22e6f2dff6622a3c21651b301dc1266b53b088d1b882e5e3347fad6347b86392bc9428b56f537c1d2320e7d9cd113c478f7 SHA512 36a7b6473b43af8d6fe2cf1bf22fb90848343911f69414cd742b942ff2ea33ac5ffba79c516dbb076b87c2a6e7e44d6958796daf06c9245a7184bfb6fdb53569 diff --git a/dev-python/sphinxcontrib-openapi/metadata.xml b/dev-python/sphinxcontrib-openapi/metadata.xml new file mode 100644 index 000000000000..a019e89fd495 --- /dev/null +++ b/dev-python/sphinxcontrib-openapi/metadata.xml @@ -0,0 +1,13 @@ + + + + + python@gentoo.org + Python + + + + sphinxcontrib-openapi + sphinx-contrib/openapi + + diff --git a/dev-python/sphinxcontrib-openapi/sphinxcontrib-openapi-0.7.0.ebuild b/dev-python/sphinxcontrib-openapi/sphinxcontrib-openapi-0.7.0.ebuild new file mode 100644 index 000000000000..cd6bcc6217bc --- /dev/null +++ b/dev-python/sphinxcontrib-openapi/sphinxcontrib-openapi-0.7.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="OpenAPI (fka Swagger) spec renderer for Sphinx" +HOMEPAGE="https://pypi.org/project/sphinxcontrib-openapi/ + https://github.com/sphinx-contrib/openapi" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-httpdomain[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/m2r[${PYTHON_USEDEP}] + dev-python/picobox[${PYTHON_USEDEP}] + dev-python/deepmerge[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/responses[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + find "${D}" -name '*.pth' -delete || die +}