dev-python/pyeapi: Switching napoleon to native sphinx

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr
This commit is contained in:
Alarig Le Lay 2022-07-05 10:29:02 +02:00
parent 0aac127cda
commit d2bb67f1b6
Signed by: alarig
GPG Key ID: 7AFE62C6DF8BCDEC
2 changed files with 17 additions and 5 deletions

View File

@ -0,0 +1,11 @@
--- pyeapi-0.8.4/docs/conf.py 2022-07-05 09:44:08.358097887 +0200
+++ pyeapi-0.8.4/docs/conf.py 2022-07-05 09:44:23.078222323 +0200
@@ -35,7 +35,7 @@
'sphinx.ext.coverage',
'sphinx.ext.viewcode',
'sphinx.ext.doctest',
- 'sphinxcontrib.napoleon'
+ 'sphinx.ext.napoleon'
]
# Add any paths that contain templates here, relative to this directory.

View File

@ -1,4 +1,4 @@
# Copyright 2021 Gentoo Authors
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -16,13 +16,14 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="
doc? (
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
dev-python/sphinxcontrib-napoleon[${PYTHON_USEDEP}]
)
doc? ( dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] )
dev-python/netaddr[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}"
BDEPEND=""
PATCHES=(
"${FILESDIR}/${P}-doc-napoleon.patch"
)
distutils_enable_sphinx docs