diff --git a/dev-python/pyeapi/files/pyeapi-0.8.4-doc-napoleon.patch b/dev-python/pyeapi/files/pyeapi-0.8.4-doc-napoleon.patch new file mode 100644 index 0000000..d957cd5 --- /dev/null +++ b/dev-python/pyeapi/files/pyeapi-0.8.4-doc-napoleon.patch @@ -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. diff --git a/dev-python/pyeapi/pyeapi-0.8.4.ebuild b/dev-python/pyeapi/pyeapi-0.8.4.ebuild index 4867b24..98ea06c 100644 --- a/dev-python/pyeapi/pyeapi-0.8.4.ebuild +++ b/dev-python/pyeapi/pyeapi-0.8.4.ebuild @@ -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