summaryrefslogtreecommitdiff
path: root/dev-python/sphinx-autoapi
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/sphinx-autoapi')
-rw-r--r--dev-python/sphinx-autoapi/Manifest1
-rw-r--r--dev-python/sphinx-autoapi/metadata.xml21
-rw-r--r--dev-python/sphinx-autoapi/sphinx-autoapi-3.8.0.ebuild50
3 files changed, 72 insertions, 0 deletions
diff --git a/dev-python/sphinx-autoapi/Manifest b/dev-python/sphinx-autoapi/Manifest
new file mode 100644
index 000000000000..2cf63f25bc79
--- /dev/null
+++ b/dev-python/sphinx-autoapi/Manifest
@@ -0,0 +1 @@
+DIST sphinx-autoapi-3.8.0.gh.tar.gz 76444 BLAKE2B e4308f77dd0f982e4f68ee1e6eb21af1703241956adb7d91f81ce36f0f3f3b552fe3e27b9cde38d6a718a35124e6bf23ed9c2ff653f31699a65270a118a44dc6 SHA512 c65dfe55c816650dbc98dc45906995eb8ef314d2cf41cd101b59bcb5362b365941130ddef77bb92ac98622ac880e1d177229a8142c09879308d18cff5e6a664c
diff --git a/dev-python/sphinx-autoapi/metadata.xml b/dev-python/sphinx-autoapi/metadata.xml
new file mode 100644
index 000000000000..1bfd9ce96426
--- /dev/null
+++ b/dev-python/sphinx-autoapi/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ </maintainer>
+ <maintainer type="person" proxied="yes">
+ <email>marco@sirabella.org</email>
+ <name>Marco Sirabella</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <stabilize-allarches />
+ <upstream>
+ <doc>https://sphinx-autoapi.readthedocs.io</doc>
+ <bugs-to>https://github.com/readthedocs/sphinx-autoapi/issues</bugs-to>
+ </upstream>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/dev-python/sphinx-autoapi/sphinx-autoapi-3.8.0.ebuild b/dev-python/sphinx-autoapi/sphinx-autoapi-3.8.0.ebuild
new file mode 100644
index 000000000000..3209fc18d8c2
--- /dev/null
+++ b/dev-python/sphinx-autoapi/sphinx-autoapi-3.8.0.ebuild
@@ -0,0 +1,50 @@
+# 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_{13..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"
+)