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:
parent
0aac127cda
commit
d2bb67f1b6
11
dev-python/pyeapi/files/pyeapi-0.8.4-doc-napoleon.patch
Normal file
11
dev-python/pyeapi/files/pyeapi-0.8.4-doc-napoleon.patch
Normal 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.
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue