From: "Virgil Dupras" <vdupras@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/notebook/
Date: Sat, 4 May 2019 22:58:38 +0000 (UTC) [thread overview]
Message-ID: <1557010684.70c1d39c5a1cc8dafd8c5baf942f082d1a41f455.vdupras@gentoo> (raw)
commit: 70c1d39c5a1cc8dafd8c5baf942f082d1a41f455
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
AuthorDate: Sat May 4 20:48:53 2019 +0000
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
CommitDate: Sat May 4 22:58:04 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70c1d39c
dev-python/notebook: bump to 5.7.8
Also, drop py2.
Bug: https://bugs.gentoo.org/685040
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
dev-python/notebook/Manifest | 1 +
dev-python/notebook/notebook-5.7.8.ebuild | 115 ++++++++++++++++++++++++++++++
2 files changed, 116 insertions(+)
diff --git a/dev-python/notebook/Manifest b/dev-python/notebook/Manifest
index 9cb654aa8f4..6997588e9ce 100644
--- a/dev-python/notebook/Manifest
+++ b/dev-python/notebook/Manifest
@@ -1,3 +1,4 @@
DIST notebook-5.0.0.tar.gz 11481080 BLAKE2B 3cc483d338ca22c6b4d7199100875e9425f90e1a7059c016cec07500f0558c437db5f7e367a5c4441520deb68fa891be31c07cd93e858c872a1f12d893530479 SHA512 fbee29cc554f36e94b1fe9804187a50581e840cfb5884bcdf2fef82ad9ae3ae0e2082ea0056f815bfa2a1c2f203679169155e61e53253aa2e9004a43ff7fbcae
DIST notebook-5.2.1.tar.gz 12458130 BLAKE2B f10a91fd79064fb09889c4ee30a84a0b34321d3a89f950609df9a90106ed4af75268cc1b087d0229882575d548b7b2b78632aa97452f89fc67910586911fc467 SHA512 defdb08e37dcec9fe799d0b03dc8dc2339f37c9417e4b138ba83b98433dd77f0dea3d83e07368e67f18155af1a67bbabea21ccd061d8a926b6b084fd25960576
DIST notebook-5.7.0.tar.gz 13394162 BLAKE2B b74be075ec97896d8ace2ce9f45d4759aee3dba1a7515a412daa8fda4606198d1487e6760ed01d8a2726ac3bf334f2335f40bf8938e8ae1ca23c9cbb5a52eded SHA512 bc5ff0316b0f89ae2c8b8bc271a8824848e2a3d93420e895557229663c889916aa98e4d1503957abbd38ca61a1b3f9d421946d6c98e36f1153b1833f473330b1
+DIST notebook-5.7.8.tar.gz 13371684 BLAKE2B 077a94ec7085ae7325a972efb58f8d7eee5a541186522402084dfa55e335163fee30e68476265e9825c3623408989b1a0782ff6a5af71af4d8ea5e6e308c3a45 SHA512 1cccb23ce6810df85b3b600c0e2e5d6599be5551ea5243c7b1a9c73ed45c34dea8b16b0fbb3624aefb9eda848bce2fdcea1f3add8df3f00a90c13a9b01ea3f07
diff --git a/dev-python/notebook/notebook-5.7.8.ebuild b/dev-python/notebook/notebook-5.7.8.ebuild
new file mode 100644
index 00000000000..11f00397f28
--- /dev/null
+++ b/dev-python/notebook/notebook-5.7.8.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{5,6,7} )
+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"
+IUSE="doc test"
+RDEPEND="
+ >=dev-libs/mathjax-2.4
+ dev-python/jinja[${PYTHON_USEDEP}]
+ >=dev-python/terminado-0.8.1[${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/pyzmq-17[${PYTHON_USEDEP}]
+ >=dev-python/jupyter_client-5.2[${PYTHON_USEDEP}]
+ dev-python/nbformat[${PYTHON_USEDEP}]
+ >=dev-python/nbconvert-4.2.0[${PYTHON_USEDEP}]
+ dev-python/ipykernel[${PYTHON_USEDEP}]
+ dev-python/send2trash[${PYTHON_USEDEP}]
+ dev-python/prometheus_client[${PYTHON_USEDEP}]"
+
+# sphinx 2+ seems to have a problem with its github plugin. temporarily adding
+# a version constraint.
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/nose-exclude[${PYTHON_USEDEP}]
+ dev-python/nose_warnings_filters[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ )
+ doc? (
+ app-text/pandoc
+ dev-python/ipython[${PYTHON_USEDEP}]
+ >=dev-python/sphinx-1.3.6[${PYTHON_USEDEP}]
+ <dev-python/sphinx-2[${PYTHON_USEDEP}]
+ dev-python/sphinxcontrib-github-alt[${PYTHON_USEDEP}]
+ dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
+ dev-python/nbsphinx[${PYTHON_USEDEP}]
+ test? (
+ dev-python/nbval[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ )
+ )
+ "
+
+PATCHES=( "${FILESDIR}/${PN}"-5.7.0-no-mathjax.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 \
+ --exclude-dir notebook/tests/selenium \
+ notebook || die
+
+ # These doc-based tests are broken on gentoo for permission-related errors
+ # (they try to write files in system's ipython folder). Disabled for now.
+ # if use doc; then
+ # pytest --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
+}
next reply other threads:[~2019-05-04 22:58 UTC|newest]
Thread overview: 199+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-04 22:58 Virgil Dupras [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-27 3:24 [gentoo-commits] repo/gentoo:master commit in: dev-python/notebook/ Michał Górny
2025-05-24 10:14 Arthur Zamarin
2025-05-07 2:07 Michał Górny
2025-04-05 17:28 Michał Górny
2025-03-15 7:45 Michał Górny
2025-03-07 12:45 Michał Górny
2025-01-11 9:41 Michał Górny
2025-01-11 9:19 Sam James
2024-12-28 12:53 Michał Górny
2024-12-28 12:24 Sam James
2024-12-28 10:53 Michał Górny
2024-12-22 8:07 Michał Górny
2024-12-05 14:54 Nowa Ammerlaan
2024-09-14 12:32 Michał Górny
2024-09-14 11:31 Arthur Zamarin
2024-08-28 3:43 Michał Górny
2024-06-22 15:01 Michał Górny
2024-06-22 13:48 Arthur Zamarin
2024-06-07 14:48 Michał Górny
2024-06-01 7:22 Michał Górny
2024-06-01 7:16 Arthur Zamarin
2024-05-17 6:25 Michał Górny
2024-05-04 7:43 Michał Górny
2024-05-04 7:28 Arthur Zamarin
2024-04-18 5:34 Michał Górny
2024-03-30 14:59 Michał Górny
2024-03-30 14:53 Michał Górny
2024-03-15 5:05 Michał Górny
2024-03-13 15:02 Michał Górny
2024-03-13 13:52 Arthur Zamarin
2024-02-26 17:48 Michał Górny
2024-02-24 10:22 Michał Górny
2024-02-24 10:07 Sam James
2024-02-13 19:12 Andrew Ammerlaan
2024-02-09 18:45 Arthur Zamarin
2024-02-03 11:44 Michał Górny
2024-02-03 10:47 Sam James
2024-01-19 18:28 Arthur Zamarin
2023-11-20 19:29 Michał Górny
2023-11-15 17:10 Michał Górny
2023-11-15 16:34 Arthur Zamarin
2023-10-24 17:51 Michał Górny
2023-10-17 18:57 Michał Górny
2023-10-15 16:05 Michał Górny
2023-10-15 15:46 Michał Górny
2023-10-13 16:45 Michał Górny
2023-10-13 15:27 Arthur Zamarin
2023-10-13 14:47 Arthur Zamarin
2023-10-13 4:44 Michał Górny
2023-10-06 17:47 Arthur Zamarin
2023-10-06 17:44 Arthur Zamarin
2023-10-06 14:52 Sam James
2023-10-06 14:52 Sam James
2023-10-03 5:11 Michał Górny
2023-09-21 9:54 Michał Górny
2023-09-10 5:27 WANG Xuerui
2023-08-31 13:22 Michał Górny
2023-08-16 20:17 Michael Orlitzky
2023-08-14 17:57 Jakov Smolić
2023-08-13 16:10 Arthur Zamarin
2023-08-13 16:08 Arthur Zamarin
2023-08-13 6:37 Joonas Niilola
2023-08-05 5:41 Michał Górny
2023-08-01 3:01 Michał Górny
2023-07-20 10:47 Andrew Ammerlaan
2023-06-13 18:23 Arthur Zamarin
2023-05-20 7:15 Michał Górny
2023-05-06 14:00 Michał Górny
2023-05-06 14:00 Michał Górny
2023-05-06 12:01 Sam James
2023-05-06 11:04 Arthur Zamarin
2023-05-06 10:37 Arthur Zamarin
2023-05-06 10:31 Arthur Zamarin
2023-05-06 10:30 Arthur Zamarin
2023-05-06 10:19 Arthur Zamarin
2023-05-06 10:13 Arthur Zamarin
2023-05-06 10:04 Arthur Zamarin
2023-04-16 12:11 WANG Xuerui
2023-04-14 22:30 Sam James
2023-04-14 21:02 Sam James
2023-04-14 20:43 Sam James
2023-04-14 20:25 Sam James
2023-04-14 20:07 Sam James
2023-04-14 4:19 Sam James
2023-04-14 4:05 Sam James
2023-04-07 6:38 Sam James
2023-03-11 6:37 Yixun Lan
2023-03-07 13:45 Andrew Ammerlaan
2022-10-27 9:48 Andrew Ammerlaan
2022-10-10 18:24 Andrew Ammerlaan
2022-07-10 19:09 Michał Górny
2022-07-10 18:04 Arthur Zamarin
2022-06-08 5:35 Michał Górny
2022-05-21 18:09 Jakov Smolić
2022-04-16 8:10 Arthur Zamarin
2022-04-15 15:26 Arthur Zamarin
2022-04-15 15:06 Arthur Zamarin
2022-04-15 15:04 Arthur Zamarin
2022-03-31 21:14 Arthur Zamarin
2022-03-18 9:54 Arthur Zamarin
2022-03-15 18:24 Michał Górny
2022-03-14 17:04 Michał Górny
2022-02-21 8:20 Michał Górny
2022-02-20 20:34 Sam James
2022-02-16 20:00 Arthur Zamarin
2022-02-13 15:13 Sam James
2022-02-13 10:38 Agostino Sarubbo
2022-01-29 9:22 Arthur Zamarin
2022-01-29 9:21 Arthur Zamarin
2022-01-29 9:21 Arthur Zamarin
2022-01-28 21:57 Sam James
2022-01-27 1:57 Yixun Lan
2022-01-26 22:15 Jakov Smolić
2022-01-26 19:47 Arthur Zamarin
2022-01-26 19:43 Arthur Zamarin
2022-01-26 19:41 Arthur Zamarin
2022-01-26 19:28 Arthur Zamarin
2022-01-26 7:33 Michał Górny
2022-01-12 21:12 Michał Górny
2021-12-17 18:57 Michał Górny
2021-12-17 16:37 Arthur Zamarin
2021-12-10 7:58 Michał Górny
2021-12-10 0:27 Sam James
2021-11-18 8:10 Sam James
2021-11-18 5:36 Sam James
2021-11-17 9:00 Michał Górny
2021-11-14 20:35 Sam James
2021-11-14 3:43 Sam James
2021-10-20 9:40 Michał Górny
2021-10-04 8:05 Michał Górny
2021-10-04 0:49 Sam James
2021-09-15 20:26 Michał Górny
2021-09-12 7:39 Michał Górny
2021-09-12 7:09 Agostino Sarubbo
2021-09-06 0:18 Sam James
2021-09-02 0:01 Marek Szuba
2021-08-12 5:39 Michał Górny
2021-08-07 6:33 Michał Górny
2021-08-06 6:22 Michał Górny
2021-07-24 17:30 Michał Górny
2021-07-24 15:12 Sam James
2021-07-12 6:41 Sam James
2021-07-11 10:19 Georgy Yakovlev
2021-07-11 10:14 Georgy Yakovlev
2021-07-11 10:14 Georgy Yakovlev
2021-07-01 17:53 Michał Górny
2021-06-20 1:45 Sam James
2021-05-17 16:35 Michał Górny
2021-04-28 17:47 Michał Górny
2021-04-28 17:00 Sam James
2021-03-22 23:53 Michał Górny
2021-03-22 23:53 Michał Górny
2021-03-22 21:33 Michał Górny
2021-03-17 7:48 Michał Górny
2021-03-16 22:32 Sam James
2021-01-27 9:00 Michał Górny
2021-01-27 3:06 Sam James
2021-01-13 19:32 Sam James
2021-01-13 19:32 Sam James
2020-12-24 0:19 Michał Górny
2020-12-17 17:09 Michał Górny
2020-11-06 23:14 Michał Górny
2020-10-18 19:17 Sam James
2020-10-18 18:51 Thomas Deutschmann
2020-09-08 19:11 Michał Górny
2020-09-05 15:25 Sam James
2020-09-05 7:24 Michał Górny
2020-09-02 9:12 Michał Górny
2020-08-13 10:04 Michał Górny
2020-08-04 13:48 Michał Górny
2020-08-01 10:09 Michał Górny
2020-07-31 0:50 Sam James
2020-07-07 20:01 Michał Górny
2020-06-09 20:07 Michał Górny
2020-06-09 20:06 Michał Górny
2020-06-09 20:00 Mart Raudsepp
2020-06-09 12:42 Michał Górny
2020-06-04 9:06 David Seifert
2020-05-04 11:26 Michał Górny
2020-03-28 9:20 Michał Górny
2020-03-28 9:20 Michał Górny
2019-12-15 14:50 Agostino Sarubbo
2019-12-04 17:15 Michał Górny
2018-11-19 6:31 Benda XU
2018-05-16 12:28 Agostino Sarubbo
2018-04-22 1:35 Thomas Deutschmann
2017-06-25 14:42 Alexis Ballier
2017-03-12 12:31 Zac Medico
2017-02-14 21:20 Patrice Clement
2017-02-14 21:20 Patrice Clement
2017-02-04 21:30 David Seifert
2017-01-04 10:15 David Seifert
2016-11-03 17:37 David Seifert
2016-09-20 21:12 David Seifert
2016-06-07 16:40 David Seifert
2016-01-10 8:23 Justin Lecher
2015-11-28 17:33 Justin Lecher
2015-11-28 17:33 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1557010684.70c1d39c5a1cc8dafd8c5baf942f082d1a41f455.vdupras@gentoo \
--to=vdupras@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox