commit: cd0458c433e8a7ed634730f6098abfa865cf749d Author: Sean Vig <sean.v.775 <AT> gmail <DOT> com> AuthorDate: Thu Sep 3 03:46:35 2015 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Thu Sep 3 03:46:35 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=cd0458c4
dev-python/jupyter: Initial commit dev-python/jupyter/ChangeLog | 9 +++++++ dev-python/jupyter/jupyter-1.0.0.ebuild | 45 +++++++++++++++++++++++++++++++++ dev-python/jupyter/metadata.xml | 12 +++++++++ 3 files changed, 66 insertions(+) diff --git a/dev-python/jupyter/ChangeLog b/dev-python/jupyter/ChangeLog new file mode 100644 index 0000000..a81b063 --- /dev/null +++ b/dev-python/jupyter/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-python/jupyter +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Id$ + +*jupyter-1.0.0 (02 Sep 2015) + + 02 Sep 2015; Sean Vig <[email protected]> +jupyter-1.0.0.ebuild, + +metadata.xml: + dev-python/jupyter: Initial commit diff --git a/dev-python/jupyter/jupyter-1.0.0.ebuild b/dev-python/jupyter/jupyter-1.0.0.ebuild new file mode 100644 index 0000000..e1142bd --- /dev/null +++ b/dev-python/jupyter/jupyter-1.0.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} ) + +inherit distutils-r1 + +DESCRIPTION="Jupyter metapackage. Install all the Jupyter components in one go." +HOMEPAGE="http://jupyter.org" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc" + +RDEPEND=" + dev-python/notebook[${PYTHON_USEDEP}] + dev-python/qtconsole[${PYTHON_USEDEP}] + dev-python/jupyter_console[${PYTHON_USEDEP}] + dev-python/nbconvert[${PYTHON_USEDEP}] + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/ipywidgets[${PYTHON_USEDEP}]" +DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" + +python_prepare_all() { + # Prevent un-needed download during build + if use doc; then + sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die + fi + + 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 +} diff --git a/dev-python/jupyter/metadata.xml b/dev-python/jupyter/metadata.xml new file mode 100644 index 0000000..00118fe --- /dev/null +++ b/dev-python/jupyter/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci</herd> + <longdescription> +Install the Jupyter system, including the notebook, qtconsole, and the IPython kernel. + </longdescription> + <upstream> + <remote-id type="pypi">jupyter</remote-id> + <remote-id type="github">jupyter/jupyter</remote-id> + </upstream> +</pkgmetadata>
