diff options
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/sphinx-autoapi/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/sphinx-autoapi/sphinx-autoapi-3.7.0.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/sphinx-autoapi/Manifest b/dev-python/sphinx-autoapi/Manifest index f07a3e426783..5ee631b41231 100644 --- a/dev-python/sphinx-autoapi/Manifest +++ b/dev-python/sphinx-autoapi/Manifest @@ -1 +1,2 @@ DIST sphinx-autoapi-3.6.1.gh.tar.gz 74022 BLAKE2B 8e0ff4ce50454d49db409edcf842fff24bd1362cc048cf28a26fc4bbe128cbd0f0ba372ffb647db66d8b5d980c26db7b7192f05778014b7ec8ab2be7e2c33779 SHA512 42866432a55f5582eb7d2a1ea87ff7a5a34168cc3d0930d6f4c9d5f8c13f45db3ab8ff1290f12cc902906147c591bc7313448bbe39d10347a5381612b74729d9 +DIST sphinx-autoapi-3.7.0.gh.tar.gz 76405 BLAKE2B 7fae64ef459f10720c19bb93b3765ffee3f11a1ca74800bf565935c4acdf63782d8964dbf2badb8bd62607d4dfa982db313d30d2d21f2634e26f2071eddbdff4 SHA512 0aa86eed5288d2efe33c74c0c50b19f6c58b2c51caca3577afd7e67007a4004cc5e89eafdbdc43378c9b8cc21039bcde0e9f1def0ea5e24d404eec12058d1b79 diff --git a/dev-python/sphinx-autoapi/sphinx-autoapi-3.7.0.ebuild b/dev-python/sphinx-autoapi/sphinx-autoapi-3.7.0.ebuild new file mode 100644 index 000000000000..4033ca1c2b1d --- /dev/null +++ b/dev-python/sphinx-autoapi/sphinx-autoapi-3.7.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{12..14} ) + +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 ) + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +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" +) + +src_prepare() { + distutils-r1_src_prepare + + # remove conflicting pins + sed -i -e 's:~=:>=:' pyproject.toml || die +} |
