summaryrefslogtreecommitdiff
path: root/dev-python/notebook
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
commit1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch)
treee48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-python/notebook
parentd87262dd706fec50cd150aab3e93883b6337466d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/notebook')
-rw-r--r--dev-python/notebook/Manifest8
-rw-r--r--dev-python/notebook/files/notebook-5.0.0-example-execution.patch27
-rw-r--r--dev-python/notebook/files/notebook-5.0.0-setupbase.py.patch43
-rw-r--r--dev-python/notebook/files/notebook-5.2.1-setupbase.py.patch44
-rw-r--r--dev-python/notebook/metadata.xml15
-rw-r--r--dev-python/notebook/notebook-5.0.0.ebuild93
-rw-r--r--dev-python/notebook/notebook-5.2.1.ebuild106
7 files changed, 0 insertions, 336 deletions
diff --git a/dev-python/notebook/Manifest b/dev-python/notebook/Manifest
deleted file mode 100644
index 0d3aa88f9683..000000000000
--- a/dev-python/notebook/Manifest
+++ /dev/null
@@ -1,8 +0,0 @@
-AUX notebook-5.0.0-example-execution.patch 941 BLAKE2B 6df33095a99042a5345dc3b759121a43d269d1092288c1384d61844430d90e967868ad71fd7eddb6bba4b2493e489ac6b57b01f21d8a48297cd36438cd98861b SHA512 f9482d26fc098b9a3d525f5e299cf094cce192c6231d6bf6242e3e8081b7ab69f8f7955a746772aca7aef3d4c973b444f5f04004d1fe54e623bbd84d761f0512
-AUX notebook-5.0.0-setupbase.py.patch 1368 BLAKE2B 7c80334d515becf41d881a1d4b3820a263c8cac2913dd9ef4df149bcd85ee7a09df6ba91e607f15ac35dde1a504e89775dec93043bfcdc7700643b645c986929 SHA512 14274ae6e2bc664e6c92390d480da0f5615b7f51863c10f3d11a7ec1a788ff357ae8113bac0c3d15932e322137b9e251c31bdf34c36a2dbbc0771407fe614a96
-AUX notebook-5.2.1-setupbase.py.patch 1407 BLAKE2B 0c7a0872f62df6c3e77aacdcb3736c09441479de127eb228fc8d65828a16656f37c4742c6101de841326a24c62bd4a4c76cf8d31f9dbfe61bc4249ecdaf55582 SHA512 6a01feb531b4594bbc0520c80dce53da66fbad3cfb3fce22c2b20e5d6652b8691581fe6a321ac5771b47ee1530bd27b0fac3fda55ab15573037379b84362bf67
-DIST notebook-5.0.0.tar.gz 11481080 BLAKE2B 3cc483d338ca22c6b4d7199100875e9425f90e1a7059c016cec07500f0558c437db5f7e367a5c4441520deb68fa891be31c07cd93e858c872a1f12d893530479 SHA512 fbee29cc554f36e94b1fe9804187a50581e840cfb5884bcdf2fef82ad9ae3ae0e2082ea0056f815bfa2a1c2f203679169155e61e53253aa2e9004a43ff7fbcae
-DIST notebook-5.2.1.tar.gz 12458130 BLAKE2B f10a91fd79064fb09889c4ee30a84a0b34321d3a89f950609df9a90106ed4af75268cc1b087d0229882575d548b7b2b78632aa97452f89fc67910586911fc467 SHA512 defdb08e37dcec9fe799d0b03dc8dc2339f37c9417e4b138ba83b98433dd77f0dea3d83e07368e67f18155af1a67bbabea21ccd061d8a926b6b084fd25960576
-EBUILD notebook-5.0.0.ebuild 2271 BLAKE2B 3454254a51dd97b18559593c8c8c6da2c9132d8a9d3189c9b69a1cde5d376106ec43b434baecd79dec98c39fb9eab4b49bdd78fdc777cc08510e65ccac34f182 SHA512 7151e9322267c0514b0795da224d57fb4689a3beba5c3073b4a0968aaafe0b83935122d6c154933c5cb3e6ad045eda702d2ef1345346a6a07b3aa59bbeb9d504
-EBUILD notebook-5.2.1.ebuild 2652 BLAKE2B 5076fbe22b1ab7b0100842c4a7b8ef1b072923f6d961c916973bc00671af35a2923d152e363d5cf62acefd511914ca338f87ca036d1eea3d06c6788db34c4df5 SHA512 85cafa203f79831b8f5f86b1106778152580af0ac15bfca8f09fadc09b10be3c13226e224f04eb070480d537060d60f0b92e2de217b5cf7fb8b8b3b4d967823b
-MISC metadata.xml 472 BLAKE2B c68faaf3f609c2fc884c61f1fd1e0296460316ddd6da67aae1492a850a9128654d6f903f9337d92f9f0bfb78b00b94191c99a26dffec92279e79ddfc9ab39fd1 SHA512 23588835d3a40661f3a59b92a9ccfb9e40777f14ff03b6f9c403eb9eee5560e0a805c6a76cd8ae2fb11eeba39b264fa0fedf44cc4fd2231318fe1cefe2c27846
diff --git a/dev-python/notebook/files/notebook-5.0.0-example-execution.patch b/dev-python/notebook/files/notebook-5.0.0-example-execution.patch
deleted file mode 100644
index 4516cadf11f6..000000000000
--- a/dev-python/notebook/files/notebook-5.0.0-example-execution.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-commit db90e16d17acc778efdfff6dca69767b47b60cbd
-Author: Benda Xu <heroxbd@gentoo.org>
-Date: Sat Aug 19 17:31:38 2017 +0900
-
- d/s/examples/N/Importing Notebooks.ipynb: disable execution.
-
- This notebook example includes writing to the directory of another
- module, usually resulting in a doc build failure. Therefore we
- disable its execution by nbsphinx.
-
- Closes: #2372
- See-Also: https://bugs.gentoo.org/show_bug.cgi?id=626860
-
-diff --git a/docs/source/examples/Notebook/Importing Notebooks.ipynb b/docs/source/examples/Notebook/Importing Notebooks.ipynb
-index ee42ad526..d6db5395e 100644
---- a/docs/source/examples/Notebook/Importing Notebooks.ipynb
-+++ b/docs/source/examples/Notebook/Importing Notebooks.ipynb
-@@ -511,6 +511,9 @@
- ],
- "metadata": {
- "gist_id": "6011986",
-+ "nbsphinx": {
-+ "execute": "never"
-+ },
- "kernelspec": {
- "display_name": "Python 3",
- "language": "python",
diff --git a/dev-python/notebook/files/notebook-5.0.0-setupbase.py.patch b/dev-python/notebook/files/notebook-5.0.0-setupbase.py.patch
deleted file mode 100644
index 4dc55d937cae..000000000000
--- a/dev-python/notebook/files/notebook-5.0.0-setupbase.py.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-Disable bundled mathjax.
-
-Patch by Marius Brehler
---- a/setupbase.py
-+++ b/setupbase.py
-@@ -165,37 +165,6 @@ def find_package_data():
- if f.endswith(('.js', '.css')):
- static_data.append(pjoin(parent, f))
-
-- # Trim mathjax
-- mj = lambda *path: pjoin(components, 'MathJax', *path)
-- static_data.extend([
-- mj('MathJax.js'),
-- mj('config', 'TeX-AMS-MML_HTMLorMML-full.js'),
-- mj('config', 'Safe.js'),
-- ])
--
-- trees = []
-- mj_out = mj('jax', 'output')
--
-- if os.path.exists(mj_out):
-- for output in os.listdir(mj_out):
-- path = pjoin(mj_out, output)
-- static_data.append(pjoin(path, '*.js'))
-- autoload = pjoin(path, 'autoload')
-- if os.path.isdir(autoload):
-- trees.append(autoload)
--
-- for tree in trees + [
-- mj('localization'), # limit to en?
-- mj('fonts', 'HTML-CSS', 'STIX-Web', 'woff'),
-- mj('extensions'),
-- mj('jax', 'input', 'TeX'),
-- mj('jax', 'output', 'HTML-CSS', 'fonts', 'STIX-Web'),
-- mj('jax', 'output', 'SVG', 'fonts', 'STIX-Web'),
-- ]:
-- for parent, dirs, files in os.walk(tree):
-- for f in files:
-- static_data.append(pjoin(parent, f))
--
- os.chdir(os.path.join('tests',))
- js_tests = glob('*.js') + glob('*/*.js')
-
diff --git a/dev-python/notebook/files/notebook-5.2.1-setupbase.py.patch b/dev-python/notebook/files/notebook-5.2.1-setupbase.py.patch
deleted file mode 100644
index 97be84cb364a..000000000000
--- a/dev-python/notebook/files/notebook-5.2.1-setupbase.py.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-Disable bundled mathjax.
-
-Patch by Marius Brehler.
---- a/setupbase.py
-+++ b/setupbase.py
-@@ -168,38 +168,6 @@ def find_package_data():
- if f.endswith(('.js', '.css')):
- static_data.append(pjoin(parent, f))
-
-- # Trim mathjax
-- mj = lambda *path: pjoin(components, 'MathJax', *path)
-- static_data.extend([
-- mj('MathJax.js'),
-- mj('config', 'TeX-AMS-MML_HTMLorMML-full.js'),
-- mj('config', 'Safe.js'),
-- ])
--
-- trees = []
-- mj_out = mj('jax', 'output')
--
-- if os.path.exists(mj_out):
-- for output in os.listdir(mj_out):
-- path = pjoin(mj_out, output)
-- static_data.append(pjoin(path, '*.js'))
-- autoload = pjoin(path, 'autoload')
-- if os.path.isdir(autoload):
-- trees.append(autoload)
--
-- for tree in trees + [
-- mj('localization'), # limit to en?
-- mj('fonts', 'HTML-CSS', 'STIX-Web', 'woff'),
-- mj('extensions'),
-- mj('jax', 'input', 'TeX'),
-- mj('jax', 'output', 'HTML-CSS', 'fonts', 'STIX-Web'),
-- mj('jax', 'output', 'SVG', 'fonts', 'STIX-Web'),
-- mj('jax', 'element', 'mml'),
-- ]:
-- for parent, dirs, files in os.walk(tree):
-- for f in files:
-- static_data.append(pjoin(parent, f))
--
- os.chdir(os.path.join('tests',))
- js_tests = glob('*.js') + glob('*/*.js')
-
diff --git a/dev-python/notebook/metadata.xml b/dev-python/notebook/metadata.xml
deleted file mode 100644
index 2751ca0bea2b..000000000000
--- a/dev-python/notebook/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sci@gentoo.org</email>
- <name>Gentoo Science Project</name>
- </maintainer>
- <longdescription>
- The Jupyter HTML notebook is a web-based notebook environment
- for interactive computing.
- </longdescription>
- <upstream>
- <remote-id type="pypi">notebook</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-python/notebook/notebook-5.0.0.ebuild b/dev-python/notebook/notebook-5.0.0.ebuild
deleted file mode 100644
index fed4d7e6dc92..000000000000
--- a/dev-python/notebook/notebook-5.0.0.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="Jupyter Interactive Notebook"
-HOMEPAGE="http://jupyter.org"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
-IUSE="doc test"
-RDEPEND="
- >=dev-libs/mathjax-2.4
- dev-python/jinja[${PYTHON_USEDEP}]
- >=dev-python/terminado-0.3.3[${PYTHON_USEDEP}]
- >=www-servers/tornado-4.0[${PYTHON_USEDEP}]
- dev-python/ipython_genutils[${PYTHON_USEDEP}]
- >=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}]
- dev-python/jupyter_core[${PYTHON_USEDEP}]
- dev-python/jupyter_client[${PYTHON_USEDEP}]
- dev-python/nbformat[${PYTHON_USEDEP}]
- >=dev-python/nbconvert-4.2.0[${PYTHON_USEDEP}]
- dev-python/ipykernel[${PYTHON_USEDEP}]
- "
-DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
- test? (
- $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' 'python2*')
- >=dev-python/nose-0.10.1[${PYTHON_USEDEP}]
- dev-python/nose_warnings_filters[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/coverage[${PYTHON_USEDEP}]
- )
- doc? (
- app-text/pandoc
- >=dev-python/ipython-4.0.0[${PYTHON_USEDEP}]
- dev-python/nbsphinx[${PYTHON_USEDEP}]
- )
- "
-
-PATCHES=( "${FILESDIR}/${P}"-setupbase.py.patch
- "${FILESDIR}/${P}"-example-execution.patch )
-
-python_prepare_all() {
- sed \
- -e "/import setup/s:$:\nimport setuptools:g" \
- -i setup.py || die
-
- # disable bundled mathjax
- sed -i 's/^.*MathJax.*$//' bower.json || die
-
- # 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() {
- if use doc; then
- emake -C docs html
- HTML_DOCS=( docs/build/html/. )
- fi
-}
-
-python_test() {
- nosetests \
- --verbosity=3 \
- notebook || die
-}
-
-python_install() {
- distutils-r1_python_install
-
- ln -sf \
- "${EPREFIX}/usr/share/mathjax" \
- "${D}$(python_get_sitedir)/notebook/static/components/MathJax" || die
-}
-
-pkg_preinst() {
- # remove old mathjax folder if present
- rm -rf "${EROOT%/}"/usr/lib*/python*/site-packages/notebook/static/components/MathJax || die
-}
diff --git a/dev-python/notebook/notebook-5.2.1.ebuild b/dev-python/notebook/notebook-5.2.1.ebuild
deleted file mode 100644
index cea2f1f52b85..000000000000
--- a/dev-python/notebook/notebook-5.2.1.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="Jupyter Interactive Notebook"
-HOMEPAGE="http://jupyter.org"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="doc test"
-RDEPEND="
- >=dev-libs/mathjax-2.4
- dev-python/jinja[${PYTHON_USEDEP}]
- >=dev-python/terminado-0.3.3[${PYTHON_USEDEP}]
- >=www-servers/tornado-4.0[${PYTHON_USEDEP}]
- dev-python/ipython_genutils[${PYTHON_USEDEP}]
- >=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}]
- >=dev-python/jupyter_core-4.4.0[${PYTHON_USEDEP}]
- dev-python/jupyter_client[${PYTHON_USEDEP}]
- dev-python/nbformat[${PYTHON_USEDEP}]
- >=dev-python/nbconvert-4.2.0[${PYTHON_USEDEP}]
- dev-python/ipykernel[${PYTHON_USEDEP}]
- "
-DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
- test? (
- $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' 'python2*')
- >=dev-python/nose-0.10.1[${PYTHON_USEDEP}]
- dev-python/nose_warnings_filters[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/coverage[${PYTHON_USEDEP}]
- )
- doc? (
- app-text/pandoc
- >=dev-python/ipython-4.0.0[${PYTHON_USEDEP}]
- >=dev-python/sphinx-1.3.6[${PYTHON_USEDEP}]
- dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
- =dev-python/nbsphinx-0.2.14[${PYTHON_USEDEP}]
- test? (
- $(python_gen_cond_dep 'dev-python/nbval[${PYTHON_USEDEP}]' 'python3*')
- $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]' 'python3*')
- )
- )
- "
-
-PATCHES=( "${FILESDIR}/${P}"-setupbase.py.patch )
-
-# Opens a qtconsole
-restrict="doc"
-
-python_prepare_all() {
- sed \
- -e "/import setup/s:$:\nimport setuptools:g" \
- -i setup.py || die
-
- # disable bundled mathjax
- sed -i 's/^.*MathJax.*$//' bower.json || die
-
- # 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() {
- if use doc; then
- addwrite /dev/dri/card0
- emake -C docs html
- HTML_DOCS=( docs/build/html/. )
- fi
-}
-
-python_test() {
- nosetests \
- --verbosity=3 \
- notebook || die
-
- if use doc && python_is_python3; then
- py.test --nbval --current-env docs || die
- fi
-}
-
-python_install() {
- distutils-r1_python_install
-
- ln -sf \
- "${EPREFIX}/usr/share/mathjax" \
- "${D}$(python_get_sitedir)/notebook/static/components/MathJax" || die
-}
-
-pkg_preinst() {
- # remove old mathjax folder if present
- rm -rf "${EROOT%/}"/usr/lib*/python*/site-packages/notebook/static/components/MathJax || die
-}