summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-08-17 19:31:05 +0200
committerDavid Seifert <soap@gentoo.org>2020-08-17 19:31:05 +0200
commit3c1c896cbbd7191708b7536eba43593244570e24 (patch)
tree96134f27cd9e7c699324072c1ec7e9fd8add5b8a /dev-python/jupyter
parentdev-util/jenkins-bin: cleanup vulnerable version (diff)
downloadgentoo-3c1c896cbbd7191708b7536eba43593244570e24.tar.gz
gentoo-3c1c896cbbd7191708b7536eba43593244570e24.tar.bz2
gentoo-3c1c896cbbd7191708b7536eba43593244570e24.zip
dev-python/jupyter: Add python 3.8/3.9
Package-Manager: Portage-3.0.3, Repoman-3.0.0 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python/jupyter')
-rw-r--r--dev-python/jupyter/jupyter-1.0.0-r2.ebuild15
1 files changed, 3 insertions, 12 deletions
diff --git a/dev-python/jupyter/jupyter-1.0.0-r2.ebuild b/dev-python/jupyter/jupyter-1.0.0-r2.ebuild
index c9a71bab31e0..22dc270ed729 100644
--- a/dev-python/jupyter/jupyter-1.0.0-r2.ebuild
+++ b/dev-python/jupyter/jupyter-1.0.0-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6..9} )
inherit distutils-r1
@@ -17,7 +17,6 @@ SRC_URI="
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE="doc"
RDEPEND="
dev-python/notebook[${PYTHON_USEDEP}]
@@ -26,9 +25,10 @@ RDEPEND="
dev-python/nbconvert[${PYTHON_USEDEP}]
dev-python/ipykernel[${PYTHON_USEDEP}]
dev-python/ipywidgets[${PYTHON_USEDEP}]"
-DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
PDEPEND=">=dev-python/jupyter_core-4.2.0[${PYTHON_USEDEP}]"
+distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme
+
PATCHES=( "${DISTDIR}"/${P}-file-colision.patch )
python_prepare_all() {
@@ -39,12 +39,3 @@ python_prepare_all() {
distutils-r1_python_prepare_all
}
-
-python_compile_all() {
- use doc && emake -C docs html
-}
-
-python_install_all() {
- use doc && HTML_DOCS=( "${S}"/docs/build/html/. )
- distutils-r1_python_install_all
-}