summaryrefslogtreecommitdiff
path: root/dev-python/ipython
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-17 22:49:47 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-17 22:49:47 +0100
commit30c53e395853f5bfe805a1e429fcf26666eed8f8 (patch)
treea0670eaf9babda7b83503f7d36806a944bb49752 /dev-python/ipython
parentd302a5d7fc9caafba5c8a404f2891bb6ccdec311 (diff)
gentoo resync : 17.05.2018
Diffstat (limited to 'dev-python/ipython')
-rw-r--r--dev-python/ipython/Manifest10
-rw-r--r--dev-python/ipython/files/ipython-3.2.1-Don-t-redirect-from-edit-to-files.patch55
-rw-r--r--dev-python/ipython/files/ipython-3.2.1-only-redirect-to-editor-for-text-documents.patch38
-rw-r--r--dev-python/ipython/files/ipython-3.2.1-set-mime-type-on-files.patch35
-rw-r--r--dev-python/ipython/files/ipython-3.2.1-set-model-mimetype-even-when-content-False.patch64
-rw-r--r--dev-python/ipython/ipython-3.2.1-r1.ebuild156
-rw-r--r--dev-python/ipython/ipython-5.4.1.ebuild2
-rw-r--r--dev-python/ipython/metadata.xml2
8 files changed, 3 insertions, 359 deletions
diff --git a/dev-python/ipython/Manifest b/dev-python/ipython/Manifest
index 2825d1a3ad5e..48fb920f28b6 100644
--- a/dev-python/ipython/Manifest
+++ b/dev-python/ipython/Manifest
@@ -1,12 +1,6 @@
AUX 2.1.0-substitute-files.patch 1017 BLAKE2B 70577eb950a18345804a2a4b750bd233dc6a0b6bbdb524dfc66e0f4a7c69b0eeb2d35efb9d1845d567a11d1afa7881068b4757e42b9baf24dc01ba3026608a38 SHA512 fc4c9e12267ac5f04a2e16ad27334a093638538b8149ff380099fcbeb674a276ab9eb624a508010e37f82c05d5f7ab527a80e386b3e7b61c123ecb8effd9d542
-AUX ipython-3.2.1-Don-t-redirect-from-edit-to-files.patch 2004 BLAKE2B 75a9f899b7a0533c9db71cc6c649fc8ed0e66bad0b2d2363e05e8259afe75691b316a79e9013f013845ed3d97eca2563add76875ab7e6317c34e5df68bb41bcb SHA512 8d519f154ff60038348896814cd2464a52f31e172d7660acc4f9b818ad1415717ad48df7197c6509416c7dd7a86fda3420188c05aae3db6947a4add1d07390fe
-AUX ipython-3.2.1-only-redirect-to-editor-for-text-documents.patch 1311 BLAKE2B 9a1b4ceaa1f0c9747363ac33a40755c062d43297068bb978a3047d45ccb0d9e6214e155c871c7d214648efe875c07a475b4dcda9d5a4e66a7e6a157a6e67038d SHA512 ff6f5ba68baa455565aabd6de403bb1d8d52183bacf068fdffd3e7e2b1dcd37267915316eae11f781f6107703c2bcdda7007c0a0b06e9888f7a69ae752994ee1
-AUX ipython-3.2.1-set-mime-type-on-files.patch 1175 BLAKE2B 892d05a922d594400501583bb9b19f36b539220c851a5958d928d8efe631b696046fba3a7a3b14bb688de44f82d3e331ed5cf791bbc0f232c30ce8c6ae1872a9 SHA512 d4791082b2b784bfe4998ad135ccfe0aa7e39f66e26125b75b15ab0b2474ba079c718e913853c709b2cb4e1def620d185918a063f3afc21dca474497f5982b4d
-AUX ipython-3.2.1-set-model-mimetype-even-when-content-False.patch 2329 BLAKE2B 30ada82abf662ed84ff64be786b1cd9292c0b1507aa8e3ea2accd509fbd5dd7808074cee10a5b05bda62e04c1a6f97abfab12fa0ece9ce6d25e9e5032e5ebdb9 SHA512 6b6efe04677cbf09fd9b42e2bc981779371a5cbec2ddaeee911b5246756300b75b54f540f246c98c84868c5abae4ca2d60787a168d2bd95dc2db35e16d5d98f4
-DIST ipython-3.2.1.tar.gz 10884249 BLAKE2B eaeb5ad3cb1cfd38c5f81e0d312773e0ba617fc2ef735f5705edafd2e9bc65169302ea8f775843c7da5029bce0dccb541233a7c82faf58a676ac5079f9664734 SHA512 de7723e3b859d21a58a24456c76c8d8ec98c019f290f61269f46270e7647d2b49a98671138fecd75cb6f46384fde7e09618eb5c85c175e0e442c7fae7328d8fe
DIST ipython-5.4.1.tar.gz 4973571 BLAKE2B bbda7b5a172ea1e80a9867f036ef68d1d0ec0a7340d77d8b4bbce63c5db7d3aade106ee5a6d59fb7e2b773c37d8263e51e1eaaa81d582849a70de60e93b7205a SHA512 b37dae27a558585ec4f42fa22e86380ac81990207ec680fc7b0e6f97ac81c99d915cfe77488bc0b91a61c34e0c00b323df08aa06b142ce0fc88ce30203102907
DIST ipython-6.1.0.tar.gz 5066094 BLAKE2B 4f68776ba15f50b2f0fcc1503dd5c62ac464d9d0ace0801f572c9cdc1a0ddd7d840369a3df5940551c848376985cc74848002cef53869014adb2fd9714989acd SHA512 6b1d9713b5e8c3870ac8cd8bea9d3a6f0c0302e3983017516128ede9f0baba21372890873df29fbba3f9d2f47ba16bfadb1c611f9de23b71595c0ab8f917695b
-EBUILD ipython-3.2.1-r1.ebuild 5050 BLAKE2B 06a8e2975c74bacf44cfd810b8cca31482bb80d9042058a232cdcdc71636039106ee5331ec8f4d2b341239d0bcd82a51d84ede54dc72286b19fead536f838e5b SHA512 418f91f9da20347c1b6d3e09a9cf24f1ee46adaf9b90b0fdc3932f061484dd563b85c356aaecb9690a3f141ce422a1bb43a8caff978173afedf9139fe731f222
-EBUILD ipython-5.4.1.ebuild 3660 BLAKE2B 1194832e0fa675d74a90f8e5010c8e3be03c0e163f64e118a3ef7761ae324de3ec01973b20dfd7dfce2c220c95f8bb08753e8e458d5041b6528216aec30f0aa3 SHA512 0bd84e4422af2b26c8832bf922f093d453cdd65c9b68509b52bfc1395376c29e151815852dbfc650aab1bc96ce447e46b2dfd067c6f9fc3287bc88eb82f8d73d
+EBUILD ipython-5.4.1.ebuild 3659 BLAKE2B b1f3b0e48d113b324435ed4f505c027880f57f8cd677722fdbe79c860c18f4d353bbebd7aa520ab696a36f7083d74a6ca721fdcdc3a1d627abf310e4adeb2640 SHA512 38e6e1b588a6cf49c939131ff8a3245a95a7958715fec3793b173673981aa8265589ee88c76619d1a217fa23a94da7cf5a9ae130ba38af923769252dbe41f36b
EBUILD ipython-6.1.0.ebuild 3392 BLAKE2B af1d71f219bafc6320f3454c9f66f4176237a51b5338184a3627a077ffc6dce123771c18bbad40dd282c9acaae0c9f2665088d0c28bfe5aa78f739137b7a38a6 SHA512 4a0a548881b1e31e8bcdaca02fac5a24df9e9c773fdba0fdd2a6d7f4ccac56d8cff5744ce49502bc943eb6610bf4b6a1e5a2715aaf21daee140b9b27845e97ec
-MISC metadata.xml 3035 BLAKE2B 02b40c2c8b11edf3e5d24f4fcec3e99369924cf1067e72c5a64d3a8e2373e318e2d8131b3b47e09527051fb6027af833f29488cab833dc7b71d2a76367b5e5f7 SHA512 a841d52fc997a447ec98335dad7cbb2971a0498754eb86942d6a9aa9f14cdb3b8687f78e882adc8b84c1967a16f75239e8fda6bfedc58622b052bdadda719dcb
+MISC metadata.xml 2857 BLAKE2B 89f6ea04a550e2e590f9e041c435fe578691118e24265d0f3c2465480cb32cbf4f5ca4d6c8fb2a08a665061347e19e361160f73aea080b1f67a4c9c743f6c23c SHA512 6b28c7f0be77e23656df143940074658a71ea872ba12238d3dc206f25662ddd589e3ebee11d5ca06498cfbbc651ae0effc95235feed91e853616706c87ca5bc4
diff --git a/dev-python/ipython/files/ipython-3.2.1-Don-t-redirect-from-edit-to-files.patch b/dev-python/ipython/files/ipython-3.2.1-Don-t-redirect-from-edit-to-files.patch
deleted file mode 100644
index 5ec742c34cf8..000000000000
--- a/dev-python/ipython/files/ipython-3.2.1-Don-t-redirect-from-edit-to-files.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-Upstream patch to fix
-"Maliciously crafted text files in IPython/Jupyter editor".
-
-http://seclists.org/oss-sec/2015/q3/558
-https://bugs.gentoo.org/show_bug.cgi?id=560708
-
-
-From 2b835ca6daec2592d9127dc85bf2cdcfb718edf2 Mon Sep 17 00:00:00 2001
-From: Min RK <benjaminrk@gmail.com>
-Date: Mon, 20 Jul 2015 12:11:23 -0700
-Subject: [PATCH 4/4] Don't redirect from /edit/ to /files/
-
-show failure to decode, instead
----
- IPython/html/static/edit/js/editor.js | 15 +++------------
- 1 file changed, 3 insertions(+), 12 deletions(-)
-
-diff --git a/IPython/html/static/edit/js/editor.js b/IPython/html/static/edit/js/editor.js
-index dd12ea4..75d65e0 100644
---- a/IPython/html/static/edit/js/editor.js
-+++ b/IPython/html/static/edit/js/editor.js
-@@ -90,19 +90,10 @@ function($,
- }).catch(
- function(error) {
- that.events.trigger("file_load_failed.Editor", error);
-- if (((error.xhr||{}).responseJSON||{}).reason === 'bad format') {
-- window.location = utils.url_path_join(
-- that.base_url,
-- 'files',
-- that.file_path
-- );
-- } else {
-- console.warn('Error while loading: the error was:')
-- console.warn(error)
-- }
-+ console.warn('Error loading: ', error);
- cm.setValue("Error! " + error.message +
- "\nSaving disabled.\nSee Console for more details.");
-- cm.setOption('readOnly','nocursor')
-+ cm.setOption('readOnly','nocursor');
- that.save_enabled = false;
- }
- );
-@@ -186,7 +177,7 @@ function($,
- Editor.prototype._clean_state = function(){
- var clean = this.codemirror.isClean(this.generation);
- if (clean === this.clean){
-- return
-+ return;
- } else {
- this.clean = clean;
- }
---
-2.4.6
-
diff --git a/dev-python/ipython/files/ipython-3.2.1-only-redirect-to-editor-for-text-documents.patch b/dev-python/ipython/files/ipython-3.2.1-only-redirect-to-editor-for-text-documents.patch
deleted file mode 100644
index 4b1f7d3686c0..000000000000
--- a/dev-python/ipython/files/ipython-3.2.1-only-redirect-to-editor-for-text-documents.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-Upstream patch to fix
-"Maliciously crafted text files in IPython/Jupyter editor".
-
-http://seclists.org/oss-sec/2015/q3/558
-https://bugs.gentoo.org/show_bug.cgi?id=560708
-
-
-From df24d9153b86863ccfa98bf509704d9304143ce1 Mon Sep 17 00:00:00 2001
-From: Min RK <benjaminrk@gmail.com>
-Date: Mon, 20 Jul 2015 12:11:04 -0700
-Subject: [PATCH 3/4] only redirect to editor for text documents
-
-treat unidentified mime-types as text
----
- IPython/html/static/tree/js/notebooklist.js | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/IPython/html/static/tree/js/notebooklist.js b/IPython/html/static/tree/js/notebooklist.js
-index 0065143..d8c7b2a 100644
---- a/IPython/html/static/tree/js/notebooklist.js
-+++ b/IPython/html/static/tree/js/notebooklist.js
-@@ -532,6 +532,13 @@ define([
- icon = 'running_' + icon;
- }
- var uri_prefix = NotebookList.uri_prefixes[model.type];
-+ if (model.type === 'file' &&
-+ model.mimetype && model.mimetype.substr(0,5) !== 'text/'
-+ ) {
-+ // send text/unidentified files to editor, others go to raw viewer
-+ uri_prefix = 'files';
-+ }
-+
- item.find(".item_icon").addClass(icon).addClass('icon-fixed-width');
- var link = item.find("a.item_link")
- .attr('href',
---
-2.4.6
-
diff --git a/dev-python/ipython/files/ipython-3.2.1-set-mime-type-on-files.patch b/dev-python/ipython/files/ipython-3.2.1-set-mime-type-on-files.patch
deleted file mode 100644
index b5d4b5fbd668..000000000000
--- a/dev-python/ipython/files/ipython-3.2.1-set-mime-type-on-files.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Upstream patch to fix
-"Maliciously crafted text files in IPython/Jupyter editor".
-
-http://seclists.org/oss-sec/2015/q3/558
-https://bugs.gentoo.org/show_bug.cgi?id=560708
-
-
-From d729ce7c2063c0de746a7c2ea39697040d0af5bf Mon Sep 17 00:00:00 2001
-From: Min RK <benjaminrk@gmail.com>
-Date: Mon, 20 Jul 2015 12:10:10 -0700
-Subject: [PATCH 1/4] set mime-type on /files/
-
----
- IPython/html/files/handlers.py | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/IPython/html/files/handlers.py b/IPython/html/files/handlers.py
-index 7727d08..b358d94 100644
---- a/IPython/html/files/handlers.py
-+++ b/IPython/html/files/handlers.py
-@@ -40,6 +40,11 @@ def get(self, path):
- cur_mime = mimetypes.guess_type(name)[0]
- if cur_mime is not None:
- self.set_header('Content-Type', cur_mime)
-+ else:
-+ if model['format'] == 'base64':
-+ self.set_header('Content-Type', 'application/octet-stream')
-+ else:
-+ self.set_header('Content-Type', 'text/plain')
-
- if model['format'] == 'base64':
- b64_bytes = model['content'].encode('ascii')
---
-2.4.6
-
diff --git a/dev-python/ipython/files/ipython-3.2.1-set-model-mimetype-even-when-content-False.patch b/dev-python/ipython/files/ipython-3.2.1-set-model-mimetype-even-when-content-False.patch
deleted file mode 100644
index a69f746f64c0..000000000000
--- a/dev-python/ipython/files/ipython-3.2.1-set-model-mimetype-even-when-content-False.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-Upstream patch to fix
-"Maliciously crafted text files in IPython/Jupyter editor".
-
-http://seclists.org/oss-sec/2015/q3/558
-https://bugs.gentoo.org/show_bug.cgi?id=560708
-
-
-From 50a1366a8fcfb94671c87199515ebc922882f447 Mon Sep 17 00:00:00 2001
-From: Min RK <benjaminrk@gmail.com>
-Date: Mon, 20 Jul 2015 12:10:25 -0700
-Subject: [PATCH 2/4] set model mimetype, even when content=False
-
----
- IPython/html/services/contents/filemanager.py | 12 +++++++-----
- IPython/html/services/contents/handlers.py | 3 ---
- 2 files changed, 7 insertions(+), 8 deletions(-)
-
-diff --git a/IPython/html/services/contents/filemanager.py b/IPython/html/services/contents/filemanager.py
-index 01ce07b..c869c75 100644
---- a/IPython/html/services/contents/filemanager.py
-+++ b/IPython/html/services/contents/filemanager.py
-@@ -277,18 +277,20 @@ def _file_model(self, path, content=True, format=None):
- model['type'] = 'file'
-
- os_path = self._get_os_path(path)
-+ model['mimetype'] = mimetypes.guess_type(os_path)[0]
-
- if content:
- content, format = self._read_file(os_path, format)
-- default_mime = {
-- 'text': 'text/plain',
-- 'base64': 'application/octet-stream'
-- }[format]
-+ if model['mimetype'] is None:
-+ default_mime = {
-+ 'text': 'text/plain',
-+ 'base64': 'application/octet-stream'
-+ }[format]
-+ model['mimetype'] = default_mime
-
- model.update(
- content=content,
- format=format,
-- mimetype=mimetypes.guess_type(os_path)[0] or default_mime,
- )
-
- return model
-diff --git a/IPython/html/services/contents/handlers.py b/IPython/html/services/contents/handlers.py
-index 5cd849e..d77e70e 100644
---- a/IPython/html/services/contents/handlers.py
-+++ b/IPython/html/services/contents/handlers.py
-@@ -52,9 +52,6 @@ def validate_model(model, expect_content):
- )
-
- maybe_none_keys = ['content', 'format']
-- if model['type'] == 'file':
-- # mimetype should be populated only for file models
-- maybe_none_keys.append('mimetype')
- if expect_content:
- errors = [key for key in maybe_none_keys if model[key] is None]
- if errors:
---
-2.4.6
-
diff --git a/dev-python/ipython/ipython-3.2.1-r1.ebuild b/dev-python/ipython/ipython-3.2.1-r1.ebuild
deleted file mode 100644
index 912566cbee2b..000000000000
--- a/dev-python/ipython/ipython-3.2.1-r1.ebuild
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
-PYTHON_REQ_USE='readline,sqlite,threads(+)'
-
-inherit distutils-r1 eutils virtualx
-
-DESCRIPTION="Advanced interactive shell for Python"
-HOMEPAGE="http://ipython.org/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~mips ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="doc examples matplotlib mongodb notebook nbconvert octave qt4 +smp test wxwidgets"
-
-REQUIRED_USE="
- test? ( doc matplotlib mongodb notebook nbconvert octave qt4 wxwidgets )
- doc? ( mongodb )"
-
-CDEPEND="
- dev-python/decorator[${PYTHON_USEDEP}]
- dev-python/pexpect[${PYTHON_USEDEP}]
- dev-python/pyparsing[${PYTHON_USEDEP}]
- dev-python/simplegeneric[${PYTHON_USEDEP}]
- matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] )
- mongodb? ( <dev-python/pymongo-3[${PYTHON_USEDEP}] )
- octave? ( dev-python/oct2py[${PYTHON_USEDEP}] )
- smp? ( >=dev-python/pyzmq-13[${PYTHON_USEDEP}] )
- wxwidgets? ( $(python_gen_cond_dep 'dev-python/wxpython:*[${PYTHON_USEDEP}]' python2_7) )"
-RDEPEND="${CDEPEND}
- notebook? (
- dev-libs/mathjax
- dev-python/jinja[${PYTHON_USEDEP}]
- >=dev-python/jsonschema-2.0[${PYTHON_USEDEP}]
- >=dev-python/mistune-0.5[${PYTHON_USEDEP}]
- dev-python/pygments[${PYTHON_USEDEP}]
- >=dev-python/pyzmq-13[${PYTHON_USEDEP}]
- >=dev-python/terminado-0.3.3[${PYTHON_USEDEP}]
- >=www-servers/tornado-4.0[${PYTHON_USEDEP}]
- )
- nbconvert? (
- || ( >=net-libs/nodejs-0.9.12 >=app-text/pandoc-1.12.1 )
- dev-python/jinja[${PYTHON_USEDEP}]
- >=dev-python/jsonschema-2.0[${PYTHON_USEDEP}]
- >=dev-python/mistune-0.5[${PYTHON_USEDEP}]
- dev-python/pygments[${PYTHON_USEDEP}]
- dev-python/sphinx[${PYTHON_USEDEP}]
- )
- qt4? (
- || (
- dev-python/PyQt4[${PYTHON_USEDEP},svg]
- dev-python/PyQt5[${PYTHON_USEDEP},svg]
- dev-python/pyside[${PYTHON_USEDEP},svg]
- )
- dev-python/pygments[${PYTHON_USEDEP}]
- >=dev-python/pyzmq-13[${PYTHON_USEDEP}] )"
-DEPEND="${CDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
- test? (
- app-text/dvipng
- dev-python/jinja[${PYTHON_USEDEP}]
- $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7)
- >=dev-python/nose-0.10.1[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/sphinx[${PYTHON_USEDEP}]
- >=www-servers/tornado-4.0[${PYTHON_USEDEP}]
- )
- doc? (
- dev-python/cython[${PYTHON_USEDEP}]
- $(python_gen_cond_dep 'dev-python/fabric[${PYTHON_USEDEP}]' python2_7)
- >=dev-python/jsonschema-2.0[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}]
- >=dev-python/nose-0.10.1[${PYTHON_USEDEP}]
- dev-python/numpydoc[${PYTHON_USEDEP}]
- dev-python/rpy[${PYTHON_USEDEP}]
- >=dev-python/sphinx-1.1[${PYTHON_USEDEP}]
- >=www-servers/tornado-4.0[${PYTHON_USEDEP}]
- )"
-
-PATCHES=(
- "${FILESDIR}"/2.1.0-substitute-files.patch
- "${FILESDIR}/${P}"-set-mime-type-on-files.patch
- "${FILESDIR}/${P}"-set-model-mimetype-even-when-content-False.patch
- "${FILESDIR}/${P}"-only-redirect-to-editor-for-text-documents.patch
- "${FILESDIR}/${P}"-Don-t-redirect-from-edit-to-files.patch
- )
-
-DISTUTILS_IN_SOURCE_BUILD=1
-
-python_prepare_all() {
- # Remove out of date insource files
- rm IPython/extensions/rmagic.py || 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() {
- use doc && emake -C docs html_noapi
-}
-
-python_test() {
- distutils_install_for_testing
- # https://github.com/ipython/ipython/issues/8639
- # Failure of some modules only in python3.4
- local fail
- run_tests() {
- pushd ${TEST_DIR} > /dev/null || die
- "${PYTHON}" -m IPython.testing.iptestcontroller --all || fail=1
- popd > /dev/null || die
- }
- VIRTUALX_COMMAND=run_tests virtualmake
- [[ ${fail} ]] && die "Tests fail with ${EPYTHON}"
-}
-
-python_install() {
- distutils-r1_python_install
- use notebook && \
- ln -sf "${EPREFIX}/usr/share/mathjax" "${D}$(python_get_sitedir)/IPython/html/static/mathjax"
-
- # Create ipythonX.Y symlinks.
- # TODO:
- # 1. do we want them for pypy? No. pypy has no numpy
- # 2. handle it in the eclass instead (use _python_ln_rel).
- # With pypy not an option the dosym becomes unconditional
- dosym ../lib/python-exec/${EPYTHON}/ipython \
- /usr/bin/ipython${EPYTHON#python}
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( docs/build/html/. )
- use examples && local EXAMPLES=( examples/. )
- distutils-r1_python_install_all
-}
-
-pkg_postinst() {
- optfeature "sympyprinting" dev-python/sympy
- optfeature "cythonmagic" dev-python/cython
- optfeature "%lprun magic command" dev-python/line_profiler
- optfeature "%mprun magic command" dev-python/memory_profiler
- if use nbconvert; then
- if ! has_version app-text/pandoc ; then
- einfo "Node.js will be used to convert notebooks to other formats"
- einfo "like HTML. Support for that is still experimental. If you"
- einfo "encounter any problems, please use app-text/pandoc instead."
- fi
- fi
-}
diff --git a/dev-python/ipython/ipython-5.4.1.ebuild b/dev-python/ipython/ipython-5.4.1.ebuild
index d78839e211a0..b582ab8ce93b 100644
--- a/dev-python/ipython/ipython-5.4.1.ebuild
+++ b/dev-python/ipython/ipython-5.4.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test wxwidgets"
CDEPEND="
diff --git a/dev-python/ipython/metadata.xml b/dev-python/ipython/metadata.xml
index f9fc713b4c4d..2d738f93e425 100644
--- a/dev-python/ipython/metadata.xml
+++ b/dev-python/ipython/metadata.xml
@@ -43,10 +43,8 @@
</longdescription>
<use>
<flag name="matplotlib">Add support for <pkg>dev-python/matplotlib</pkg></flag>
- <flag name="mongodb">Enable support for MongoDB via <pkg>dev-python/pymongo</pkg></flag>
<flag name="notebook">Install requirements for the web notebook based on <pkg>www-servers/tornado</pkg></flag>
<flag name="nbconvert">Enable support for converting notebooks to various formats using <pkg>app-text/pandoc</pkg></flag>
- <flag name="octave">Enable octave bridge via <pkg>dev-python/oct2py</pkg></flag>
</use>
<upstream>
<remote-id type="pypi">ipython</remote-id>