commit:     4584c7cca83960dbe9cdbc7298adc76505a37240
Author:     Marco Sirabella <marco <AT> sirabella <DOT> org>
AuthorDate: Tue Mar  1 17:05:32 2022 +0000
Commit:     Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
CommitDate: Sat Mar  5 14:27:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4584c7cc

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 <AT> sirabella.org>
Signed-off-by: Andriy Utkin <andrey_utkin <AT> gentoo.org>

 dev-python/sphinx-autoapi/Manifest                 |  1 +
 dev-python/sphinx-autoapi/metadata.xml             | 22 +++++++++++++++
 .../sphinx-autoapi/sphinx-autoapi-1.8.4.ebuild     | 32 ++++++++++++++++++++++
 3 files changed, 55 insertions(+)

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>[email protected]</email>
+       </maintainer>
+       <maintainer type="person" proxied="yes">
+               <email>[email protected]</email>
+               <name>Marco Sirabella</name>
+       </maintainer>
+       <maintainer type="project" proxied="proxy">
+               <email>[email protected]</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

Reply via email to