summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Sirabella <marco@sirabella.org>2022-03-01 09:05:32 -0800
committerAndriy Utkin <andrey_utkin@gentoo.org>2022-03-05 14:27:32 +0000
commit4584c7cca83960dbe9cdbc7298adc76505a37240 (patch)
treed61f85207fad47d6e753acede263e511abc56863 /dev-python/sphinx-autoapi
parentx11-libs/libva-intel-media-driver: update metadata.xml (diff)
downloadgentoo-4584c7cca83960dbe9cdbc7298adc76505a37240.tar.gz
gentoo-4584c7cca83960dbe9cdbc7298adc76505a37240.tar.bz2
gentoo-4584c7cca83960dbe9cdbc7298adc76505a37240.zip
dev-python/sphinx-autoapi: Add new package
Required to compile documentation for some other packages eg app-misc/khard Signed-off-by: Marco Sirabella <marco@sirabella.org> Signed-off-by: Andriy Utkin <andrey_utkin@gentoo.org>
Diffstat (limited to 'dev-python/sphinx-autoapi')
-rw-r--r--dev-python/sphinx-autoapi/Manifest1
-rw-r--r--dev-python/sphinx-autoapi/metadata.xml22
-rw-r--r--dev-python/sphinx-autoapi/sphinx-autoapi-1.8.4.ebuild32
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/sphinx-autoapi/Manifest b/dev-python/sphinx-autoapi/Manifest
new file mode 100644
index 000000000000..8f4b84c9d6c4
--- /dev/null
+++ b/dev-python/sphinx-autoapi/Manifest
@@ -0,0 +1 @@
+DIST sphinx-autoapi-1.8.4.tar.gz 83541 BLAKE2B 05d706fda6da4aea55e535a995ef01dc54269fa8e452c51c9bf2cec2e596ccec20191b8cb3c0cde1b93daa4f5d85074a293c9fd449d99d3c494ba20c6cee2df8 SHA512 10b4d87e1046ad372a3491006cd4bece8334fc398025f98654781c83ee200045d707f3293a031f8cf0abe5d20a111e7ded864f2b6deffe5222b331ca8c9b688b
diff --git a/dev-python/sphinx-autoapi/metadata.xml b/dev-python/sphinx-autoapi/metadata.xml
new file mode 100644
index 000000000000..d9cd2dc6c337
--- /dev/null
+++ b/dev-python/sphinx-autoapi/metadata.xml
@@ -0,0 +1,22 @@
+<?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>
+ </maintainer>
+ <maintainer type="person" proxied="yes">
+ <email>marco@sirabella.org</email>
+ <name>Marco Sirabella</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">readthedocs/sphinx-autoapi</remote-id>
+ <remote-id type="pypi">sphinx-autoapi</remote-id>
+ <doc>https://sphinx-autoapi.readthedocs.io</doc>
+ <bugs-to>https://github.com/readthedocs/sphinx-autoapi/issues</bugs-to>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/sphinx-autoapi/sphinx-autoapi-1.8.4.ebuild b/dev-python/sphinx-autoapi/sphinx-autoapi-1.8.4.ebuild
new file mode 100644
index 000000000000..2b40b485267b
--- /dev/null
+++ b/dev-python/sphinx-autoapi/sphinx-autoapi-1.8.4.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="A new approach to API documentation in Sphinx"
+HOMEPAGE="https://sphinx-autoapi.readthedocs.io/"
+SRC_URI="https://github.com/readthedocs/sphinx-autoapi/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+# pypi lacks docs/
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+RDEPEND="
+ dev-python/astroid[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/unidecode[${PYTHON_USEDEP}]
+"
+
+DOCS=( README.rst CHANGELOG.rst )
+
+# Test requires pypi download w/ internet: https://github.com/readthedocs/sphinx-autoapi/issues/329
+EPYTEST_DESELECT="tests/test_integration.py::TestExtensionErrors::test_extension_setup_errors[dotnetexample-override_conf2-AutoAPI"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs --no-autodoc