commit: fa343bc099d0f401b5a18af32c12caee25a9d787
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 25 18:10:49 2021 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 25 18:10:49 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa343bc0
dev-python/uncertainties: use distutils_enable_sphinx for doc gen
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/uncertainties/uncertainties-3.1.6.ebuild | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/dev-python/uncertainties/uncertainties-3.1.6.ebuild
b/dev-python/uncertainties/uncertainties-3.1.6.ebuild
index 69090d5bc1f..c7a176fb8e2 100644
--- a/dev-python/uncertainties/uncertainties-3.1.6.ebuild
+++ b/dev-python/uncertainties/uncertainties-3.1.6.ebuild
@@ -13,24 +13,14 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc"
RDEPEND="dev-python/future[${PYTHON_USEDEP}]"
BDEPEND="${RDEPEND}
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( dev-python/numpy[${PYTHON_USEDEP}] )
"
distutils_enable_tests nose
-
-python_compile_all() {
- use doc && "${PYTHON}" setup.py build_sphinx
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( build/sphinx/html/. )
- distutils-r1_python_install_all
-}
+distutils_enable_sphinx doc --no-autodoc
pkg_postinst() {
optfeature "numpy support" dev-python/numpy