commit: 1b8872eb4091d49f19af15769e27074429dae088
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 11 04:47:26 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jun 11 05:18:02 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b8872eb
dev-python/sphinx-autoapi: Bump to 2.1.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/sphinx-autoapi/Manifest | 1 +
.../sphinx-autoapi/sphinx-autoapi-2.1.1.ebuild | 46 ++++++++++++++++++++++
2 files changed, 47 insertions(+)
diff --git a/dev-python/sphinx-autoapi/Manifest
b/dev-python/sphinx-autoapi/Manifest
index 8c1d52ada6d9..4d92d455d126 100644
--- a/dev-python/sphinx-autoapi/Manifest
+++ b/dev-python/sphinx-autoapi/Manifest
@@ -1 +1,2 @@
DIST sphinx-autoapi-2.1.0.gh.tar.gz 84842 BLAKE2B
0020640833039c5c15babeb2ed37bffa9a836209e51bb5d4873ccd34527f6b652516ceed95d2e823a9394e6154ea36311a78fcf0645723c3060a6eb7f31b0668
SHA512
4228c0d7c91a89933101d1c02689f1e25c453ead66814f8653f1e20b6330a20913b8d98573b3afb5459be972b73535cbe81fd267e721bedfb78a2de4673fa9e2
+DIST sphinx-autoapi-2.1.1.gh.tar.gz 86463 BLAKE2B
412a2c35bfddeb951de66648f39416bfed98ef357e540bf7fd85c4b6962cc97145519b98f87ea207580cb69c1b03260eedfb4872a389cd2dfe56bfe9c9868e46
SHA512
ec562b89f09b7b42cee283e471ab464e07f071f694fdd906984befab5669bcbe7c5d26e7aa2a81d9c64210680408998cbeade6cd8f6a988c3604e3846160ab2d
diff --git a/dev-python/sphinx-autoapi/sphinx-autoapi-2.1.1.ebuild
b/dev-python/sphinx-autoapi/sphinx-autoapi-2.1.1.ebuild
new file mode 100644
index 000000000000..2cfb42fd2bf7
--- /dev/null
+++ b/dev-python/sphinx-autoapi/sphinx-autoapi-2.1.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="A new approach to API documentation in Sphinx"
+HOMEPAGE="
+ https://sphinx-autoapi.readthedocs.io/
+ https://github.com/readthedocs/sphinx-autoapi/
+ https://pypi.org/project/sphinx-autoapi/
+"
+# sdist is missing docs, as of 2.1.0
+SRC_URI="
+ https://github.com/readthedocs/sphinx-autoapi/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/anyascii[${PYTHON_USEDEP}]
+ dev-python/astroid[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ >=dev-python/sphinx-6.0[${PYTHON_USEDEP}]
+"
+
+DOCS=( README.rst CHANGELOG.rst )
+
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # Internet
+
tests/python/test_pyintegration.py::TestPipeUnionModule::test_integration
+
"tests/test_integration.py::TestExtensionErrors::test_extension_setup_errors[dotnetexample"
+ )
+
+ distutils-r1_python_test
+}