commit:     27094918a786549fd1a62df3538a41137ebadfdb
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 30 06:38:21 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 30 06:38:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27094918

dev-python/sphinx-autoapi: Bump to 3.4.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/sphinx-autoapi/Manifest                 |  1 +
 .../sphinx-autoapi/sphinx-autoapi-3.4.0.ebuild     | 51 ++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/dev-python/sphinx-autoapi/Manifest 
b/dev-python/sphinx-autoapi/Manifest
index a289bd55b4db..5d54397a47b0 100644
--- a/dev-python/sphinx-autoapi/Manifest
+++ b/dev-python/sphinx-autoapi/Manifest
@@ -1 +1,2 @@
 DIST sphinx-autoapi-3.3.3.gh.tar.gz 72123 BLAKE2B 
85b7c8f1eae4d9366f8e8afd526bdb5e6c0e3f14de44c9e94f4922e021bd15f31117942dc1c542a903c1fa4b3f138e0eacbfaccc744bf28c211283acbfc4268c
 SHA512 
c6de80ceb7b394627ca19dbd59e8f7361ff1d14b5ab401134d149131b69f6be05348189ae97dcc6daa6e99276a99072d62990a8594be653d449659b556d86655
+DIST sphinx-autoapi-3.4.0.gh.tar.gz 72943 BLAKE2B 
8d3187e6c86a9172e5cbeb441a283e5f694b96aade054c3c96c56327365f7310244d37c2643004011ffe9ebad91b5cc61c67d8d8bb12c2eaf9286efce0c5c7db
 SHA512 
8d85497b620326a62c8abc6c638b1526e6d01b744aa200a37acf3f7e2468bf84fc24ce7b91e172cdfe1c419a635e137f690aa860c0ee6283be2028823842139f

diff --git a/dev-python/sphinx-autoapi/sphinx-autoapi-3.4.0.ebuild 
b/dev-python/sphinx-autoapi/sphinx-autoapi-3.4.0.ebuild
new file mode 100644
index 000000000000..9a5c751f0a1f
--- /dev/null
+++ b/dev-python/sphinx-autoapi/sphinx-autoapi-3.4.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( python3_{10..13} )
+
+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 ~arm ~arm64 ~x86"
+
+RDEPEND="
+       >=dev-python/astroid-3.0.0[${PYTHON_USEDEP}]
+       dev-python/jinja2[${PYTHON_USEDEP}]
+       dev-python/pyyaml[${PYTHON_USEDEP}]
+       >=dev-python/sphinx-6.1.0[${PYTHON_USEDEP}]
+"
+
+BDEPEND+="
+       test? ( dev-python/beautifulsoup4[${PYTHON_USEDEP}] )
+"
+
+DOCS=( README.rst CHANGELOG.rst )
+
+distutils_enable_tests pytest
+
+python_test() {
+       local EPYTEST_DESELECT=(
+               # Internet
+               tests/python/test_pyintegration.py::TestPEP695::test_integration
+               
tests/python/test_pyintegration.py::TestPipeUnionModule::test_integration
+               
"tests/test_integration.py::TestExtensionErrors::test_extension_setup_errors[dotnetexample"
+       )
+
+       distutils-r1_python_test
+}

Reply via email to