summaryrefslogtreecommitdiff
path: root/dev-python/sphinxcontrib-openapi
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/sphinxcontrib-openapi')
-rw-r--r--dev-python/sphinxcontrib-openapi/Manifest3
-rw-r--r--dev-python/sphinxcontrib-openapi/metadata.xml13
-rw-r--r--dev-python/sphinxcontrib-openapi/sphinxcontrib-openapi-0.7.0.ebuild41
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/sphinxcontrib-openapi/Manifest b/dev-python/sphinxcontrib-openapi/Manifest
new file mode 100644
index 000000000000..d67139de61a5
--- /dev/null
+++ b/dev-python/sphinxcontrib-openapi/Manifest
@@ -0,0 +1,3 @@
+DIST sphinxcontrib-openapi-0.7.0.tar.gz 193897 BLAKE2B c0f1c46c6e8c67ddf95d163a68f5e22e6f2dff6622a3c21651b301dc1266b53b088d1b882e5e3347fad6347b86392bc9428b56f537c1d2320e7d9cd113c478f7 SHA512 36a7b6473b43af8d6fe2cf1bf22fb90848343911f69414cd742b942ff2ea33ac5ffba79c516dbb076b87c2a6e7e44d6958796daf06c9245a7184bfb6fdb53569
+EBUILD sphinxcontrib-openapi-0.7.0.ebuild 1044 BLAKE2B f124c2f026a772010fb92043ddedde76f167fe94329af05d078c2616f32016d6c146bdf612971bcf81885b79032910519e953fb80b3e855c2adbc0189384de53 SHA512 ca3e7b1ccddd8ad3d7f2e0cb66886a15c02377069f3cbd9d22cd46beff23dd3d27b308d01790b8d9e227448b874410bbe90a005b5fa6e4dd26336683aee14eff
+MISC metadata.xml 411 BLAKE2B 9f2dbd78b774a2e1a7c3223dd3b53fdfdda65ed4b09fff4ed0fe3b7ab3e8fb14a817cba5084e1e3979e80c386bac251bad94fe750701c3781d5c6aab7773d892 SHA512 a1ff8b1e5ae27a9cce5677f38129f01213881e99a60a6f77b860a6931330c9c924575b881726a1d3048059e3974f6015d6201aaa5c739ad6cdec5c3576398b9c
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="pypi">sphinxcontrib-openapi</remote-id>
+ <remote-id type="github">sphinx-contrib/openapi</remote-id>
+ </upstream>
+</pkgmetadata>
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
+}