commit: 789dd2ff945037826e0afedd565f2bacef5bbd92 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue Feb 18 06:34:01 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Feb 18 07:35:45 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=789dd2ff
dev-python/sphinx-autoapi: Bump to 3.6.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/sphinx-autoapi/Manifest | 1 + .../sphinx-autoapi/sphinx-autoapi-3.6.0.ebuild | 53 ++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-python/sphinx-autoapi/Manifest b/dev-python/sphinx-autoapi/Manifest index 446b2b230eb4..1b8175c609c1 100644 --- a/dev-python/sphinx-autoapi/Manifest +++ b/dev-python/sphinx-autoapi/Manifest @@ -1,2 +1,3 @@ DIST sphinx-autoapi-3.4.0.gh.tar.gz 72943 BLAKE2B 8d3187e6c86a9172e5cbeb441a283e5f694b96aade054c3c96c56327365f7310244d37c2643004011ffe9ebad91b5cc61c67d8d8bb12c2eaf9286efce0c5c7db SHA512 8d85497b620326a62c8abc6c638b1526e6d01b744aa200a37acf3f7e2468bf84fc24ce7b91e172cdfe1c419a635e137f690aa860c0ee6283be2028823842139f DIST sphinx-autoapi-3.5.0.gh.tar.gz 73246 BLAKE2B 63fd39ed4a6dd8077161a0607d34dd3e499b48a3e88576813d50bd478a581451a09baf5dd1a92d00c4b48118526c87f68f2deb95ee79d52edbaa7f432694f9bb SHA512 6a39fcbe3a67711f681594444e45c12118f57b27d8cd9544913b6d673ea0d587ec1c40f1e182faad4b86f2ddb5809d4b940ca54dd5df6369026e07c805f25aae +DIST sphinx-autoapi-3.6.0.gh.tar.gz 73411 BLAKE2B 0fbe15c138d72a32d224248d94652763d8303ff014dbf2d35d878232e021ebcd9a7b72a792dc4d81aea182ea9cc812290f70954242bffa989d08e1427bb3c94b SHA512 9b671e3ca66ae40e95ce6df89952e9c1f2bf644087d9deaeb0e305de217fc8154445ff947ad9806949603f0956d95ae6d97c711fea52dcd44aa8f828b74f6c3d diff --git a/dev-python/sphinx-autoapi/sphinx-autoapi-3.6.0.ebuild b/dev-python/sphinx-autoapi/sphinx-autoapi-3.6.0.ebuild new file mode 100644 index 000000000000..7a40a3d868b8 --- /dev/null +++ b/dev-python/sphinx-autoapi/sphinx-autoapi-3.6.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 2022-2025 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-7.4.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 +}