pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-notebook py-notebook: update to 5.2.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/02786b5468ca
branches:  trunk
changeset: 370521:02786b5468ca
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Oct 18 08:29:27 2017 +0000

description:
py-notebook: update to 5.2.0

5.2.0
Allow setting token via jupyter_token env.
Fix some errors caused by raising 403 in get_current_user.
Register contents_manager.files_handler_class directly.
Ensure that keyboard shortcuts are disabled when editing them.
Make all files in the dashboard editable by default and provide a whitelist of viewable file extensions.
The root directory of the notebook server should never be hidden.
Fix notebook require config to match tools/build-main.
Give page constructor default arguments.
Fix codemirror.less to match codemirror's expected padding layout.
Addx-xsrftoken to access-control-allow-headers.
Buffer messages when websocket connection is interrupted.
Load locale dynamically only when not en-us.
Changed key strength to 2048 bits.
Resyncjsversion with python version.
Allow copy operation on modified, read-only notebook.
Update error handling on apihandlers.
Test python 3.6 on travis, drop 3.3.
Avoid base64-literals in image tests.
Upgrade xterm.js to 2.9.2.
Changed all python variables named file to file_name to not override built_in file.
Add more doc tests.
Typos fix.
Rename and update license.
Travis builds doc.
Pull request i18n.
Factor out output_prompt_function, as is done with input prompt.
Use rfc5987 encoding for filenames.
Added path to the resources metadata, the same as in from_filename(...) in nbconvert.exporters.py.
Make "extrakeys" consistent for notebook and editor.
Bidi support.

diffstat:

 www/py-notebook/ALTERNATIVES |   1 -
 www/py-notebook/Makefile     |  34 +++++++++++---------------
 www/py-notebook/PLIST        |  56 +++++++++++++++++++++++++++++++++++++++----
 www/py-notebook/distinfo     |  10 +++---
 4 files changed, 69 insertions(+), 32 deletions(-)

diffs (238 lines):

diff -r 718e2ec6b1f1 -r 02786b5468ca www/py-notebook/ALTERNATIVES
--- a/www/py-notebook/ALTERNATIVES      Wed Oct 18 07:22:53 2017 +0000
+++ b/www/py-notebook/ALTERNATIVES      Wed Oct 18 08:29:27 2017 +0000
@@ -2,4 +2,3 @@
 bin/jupyter-nbextension @PREFIX@/bin/jupyter-nbextension@PYVERSSUFFIX@
 bin/jupyter-notebook @PREFIX@/bin/jupyter-notebook@PYVERSSUFFIX@
 bin/jupyter-serverextension @PREFIX@/bin/jupyter-serverextension@PYVERSSUFFIX@
-bin/less-watch @PREFIX@/bin/less-watch@PYVERSSUFFIX@
diff -r 718e2ec6b1f1 -r 02786b5468ca www/py-notebook/Makefile
--- a/www/py-notebook/Makefile  Wed Oct 18 07:22:53 2017 +0000
+++ b/www/py-notebook/Makefile  Wed Oct 18 08:29:27 2017 +0000
@@ -1,36 +1,30 @@
-# $NetBSD: Makefile,v 1.1 2017/04/23 05:23:27 markd Exp $
+# $NetBSD: Makefile,v 1.2 2017/10/18 08:29:27 adam Exp $
 
-DISTNAME=      notebook-5.0.0rc2
+DISTNAME=      notebook-5.2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    www
+CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=n/notebook/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://jupyter.org
-COMMENT=       web-based notebook environment for interactive computing
+HOMEPAGE=      http://jupyter.org/
+COMMENT=       Web-based notebook environment for interactive computing
 LICENSE=       modified-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-terminado>=0.3.3:../../www/py-terminado
-DEPENDS+=      ${PYPKGPREFIX}-traitlets>=4.2.1:../../devel/py-traitlets
-DEPENDS+=      ${PYPKGPREFIX}-tornado>=4:../../www/py-tornado
-DEPENDS+=      ${PYPKGPREFIX}-nbformat-[0-9]*:../../www/py-nbformat
-DEPENDS+=      ${PYPKGPREFIX}-nbconvert-[0-9]*:../../www/py-nbconvert
+DEPENDS+=      ${PYPKGPREFIX}-ipykernel-[0-9]*:../../devel/py-ipykernel
+DEPENDS+=      ${PYPKGPREFIX}-ipython_genutils-[0-9]*:../../devel/py-ipython_genutils
+DEPENDS+=      ${PYPKGPREFIX}-jupyter_client-[0-9]*:../../devel/py-jupyter_client
 DEPENDS+=      ${PYPKGPREFIX}-jupyter_core-[0-9]*:../../devel/py-jupyter_core
-DEPENDS+=      ${PYPKGPREFIX}-jupyter_client-[0-9]*:../../devel/py-jupyter_client
 DEPENDS+=      ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2
-DEPENDS+=      ${PYPKGPREFIX}-ipython_genutils-[0-9]*:../../devel/py-ipython_genutils
-DEPENDS+=      ${PYPKGPREFIX}-ipykernel-[0-9]*:../../devel/py-ipykernel
-DEPENDS+=      nodejs-[0-9]*:../../lang/nodejs
-
-REPLACE_INTERPRETER+=  node
-REPLACE.node.old=      .*node[^ ]*
-REPLACE.node.new=      ${PREFIX}/bin/node
-REPLACE_FILES.node=    scripts/less-watch
+DEPENDS+=      ${PYPKGPREFIX}-nbconvert-[0-9]*:../../www/py-nbconvert
+DEPENDS+=      ${PYPKGPREFIX}-nbformat-[0-9]*:../../www/py-nbformat
+DEPENDS+=      ${PYPKGPREFIX}-terminado>=0.3.3:../../www/py-terminado
+DEPENDS+=      ${PYPKGPREFIX}-tornado>=4:../../www/py-tornado
+DEPENDS+=      ${PYPKGPREFIX}-traitlets>=4.2.1:../../devel/py-traitlets
 
 USE_LANGUAGES= # none
 
 post-install:
-       for f in jupyter-bundlerextension jupyter-nbextension jupyter-notebook jupyter-serverextension less-watch; do \
+       for f in jupyter-bundlerextension jupyter-nbextension jupyter-notebook jupyter-serverextension; do \
                ${MV} ${DESTDIR}${PREFIX}/bin/$$f ${DESTDIR}${PREFIX}/bin/$${f}${PYVERSSUFFIX} || ${TRUE}; \
        done
 
diff -r 718e2ec6b1f1 -r 02786b5468ca www/py-notebook/PLIST
--- a/www/py-notebook/PLIST     Wed Oct 18 07:22:53 2017 +0000
+++ b/www/py-notebook/PLIST     Wed Oct 18 08:29:27 2017 +0000
@@ -1,9 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2017/04/23 05:23:27 markd Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/10/18 08:29:27 adam Exp $
 bin/jupyter-bundlerextension${PYVERSSUFFIX}
 bin/jupyter-nbextension${PYVERSSUFFIX}
 bin/jupyter-notebook${PYVERSSUFFIX}
 bin/jupyter-serverextension${PYVERSSUFFIX}
-bin/less-watch${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_FILE}
 ${PYSITELIB}/notebook/__init__.py
 ${PYSITELIB}/notebook/__init__.pyc
@@ -20,9 +19,6 @@
 ${PYSITELIB}/notebook/_version.py
 ${PYSITELIB}/notebook/_version.pyc
 ${PYSITELIB}/notebook/_version.pyo
-${PYSITELIB}/notebook/allow76.py
-${PYSITELIB}/notebook/allow76.pyc
-${PYSITELIB}/notebook/allow76.pyo
 ${PYSITELIB}/notebook/auth/__init__.py
 ${PYSITELIB}/notebook/auth/__init__.pyc
 ${PYSITELIB}/notebook/auth/__init__.pyo
@@ -277,6 +273,9 @@
 ${PYSITELIB}/notebook/services/sessions/tests/test_sessions_api.py
 ${PYSITELIB}/notebook/services/sessions/tests/test_sessions_api.pyc
 ${PYSITELIB}/notebook/services/sessions/tests/test_sessions_api.pyo
+${PYSITELIB}/notebook/services/shutdown.py
+${PYSITELIB}/notebook/services/shutdown.pyc
+${PYSITELIB}/notebook/services/shutdown.pyo
 ${PYSITELIB}/notebook/static/auth/css/override.css
 ${PYSITELIB}/notebook/static/auth/js/loginmain.js
 ${PYSITELIB}/notebook/static/auth/js/loginwidget.js
@@ -284,18 +283,28 @@
 ${PYSITELIB}/notebook/static/auth/js/main.js
 ${PYSITELIB}/notebook/static/auth/js/main.min.js
 ${PYSITELIB}/notebook/static/auth/js/main.min.js.map
-${PYSITELIB}/notebook/static/base/images/favicon-busy.ico
+${PYSITELIB}/notebook/static/base/images/favicon-busy-1.ico
+${PYSITELIB}/notebook/static/base/images/favicon-busy-2.ico
+${PYSITELIB}/notebook/static/base/images/favicon-busy-3.ico
+${PYSITELIB}/notebook/static/base/images/favicon-file.ico
+${PYSITELIB}/notebook/static/base/images/favicon-notebook.ico
+${PYSITELIB}/notebook/static/base/images/favicon-terminal.ico
 ${PYSITELIB}/notebook/static/base/images/favicon.ico
 ${PYSITELIB}/notebook/static/base/images/logo.png
 ${PYSITELIB}/notebook/static/base/js/dialog.js
 ${PYSITELIB}/notebook/static/base/js/events.js
+${PYSITELIB}/notebook/static/base/js/i18n.js
+${PYSITELIB}/notebook/static/base/js/i18nload.js
 ${PYSITELIB}/notebook/static/base/js/keyboard.js
 ${PYSITELIB}/notebook/static/base/js/namespace.js
 ${PYSITELIB}/notebook/static/base/js/notificationarea.js
 ${PYSITELIB}/notebook/static/base/js/notificationwidget.js
 ${PYSITELIB}/notebook/static/base/js/page.js
+${PYSITELIB}/notebook/static/base/js/promises.js
 ${PYSITELIB}/notebook/static/base/js/security.js
 ${PYSITELIB}/notebook/static/base/js/utils.js
+${PYSITELIB}/notebook/static/bidi/bidi.js
+${PYSITELIB}/notebook/static/bidi/numericshaping.js
 ${PYSITELIB}/notebook/static/components/MathJax/MathJax.js
 ${PYSITELIB}/notebook/static/components/MathJax/config/Safe.js
 ${PYSITELIB}/notebook/static/components/MathJax/config/TeX-AMS-MML_HTMLorMML-full.js
@@ -394,6 +403,26 @@
 ${PYSITELIB}/notebook/static/components/MathJax/fonts/HTML-CSS/STIX-Web/woff/STIXMathJax_Variants-BoldItalic.woff
 ${PYSITELIB}/notebook/static/components/MathJax/fonts/HTML-CSS/STIX-Web/woff/STIXMathJax_Variants-Italic.woff
 ${PYSITELIB}/notebook/static/components/MathJax/fonts/HTML-CSS/STIX-Web/woff/STIXMathJax_Variants-Regular.woff
+${PYSITELIB}/notebook/static/components/MathJax/jax/element/mml/jax.js
+${PYSITELIB}/notebook/static/components/MathJax/jax/element/mml/optable/Arrows.js
+${PYSITELIB}/notebook/static/components/MathJax/jax/element/mml/optable/BasicLatin.js
+${PYSITELIB}/notebook/static/components/MathJax/jax/element/mml/optable/CombDiacritMarks.js
+${PYSITELIB}/notebook/static/components/MathJax/jax/element/mml/optable/CombDiactForSymbols.js
+${PYSITELIB}/notebook/static/components/MathJax/jax/element/mml/optable/Dingbats.js
+${PYSITELIB}/notebook/static/components/MathJax/jax/element/mml/optable/GeneralPunctuation.js
+${PYSITELIB}/notebook/static/components/MathJax/jax/element/mml/optable/GeometricShapes.js
+${PYSITELIB}/notebook/static/components/MathJax/jax/element/mml/optable/GreekAndCoptic.js
+${PYSITELIB}/notebook/static/components/MathJax/jax/element/mml/optable/Latin1Supplement.js
+${PYSITELIB}/notebook/static/components/MathJax/jax/element/mml/optable/LetterlikeSymbols.js
+${PYSITELIB}/notebook/static/components/MathJax/jax/element/mml/optable/MathOperators.js
+${PYSITELIB}/notebook/static/components/MathJax/jax/element/mml/optable/MiscMathSymbolsA.js
+${PYSITELIB}/notebook/static/components/MathJax/jax/element/mml/optable/MiscMathSymbolsB.js
+${PYSITELIB}/notebook/static/components/MathJax/jax/element/mml/optable/MiscSymbolsAndArrows.js
+${PYSITELIB}/notebook/static/components/MathJax/jax/element/mml/optable/MiscTechnical.js
+${PYSITELIB}/notebook/static/components/MathJax/jax/element/mml/optable/SpacingModLetters.js
+${PYSITELIB}/notebook/static/components/MathJax/jax/element/mml/optable/SuppMathOperators.js
+${PYSITELIB}/notebook/static/components/MathJax/jax/element/mml/optable/SupplementalArrowsA.js
+${PYSITELIB}/notebook/static/components/MathJax/jax/element/mml/optable/SupplementalArrowsB.js
 ${PYSITELIB}/notebook/static/components/MathJax/jax/input/TeX/config.js
 ${PYSITELIB}/notebook/static/components/MathJax/jax/input/TeX/jax.js
 ${PYSITELIB}/notebook/static/components/MathJax/jax/output/CommonHTML/autoload/annotation-xml.js
@@ -1084,6 +1113,7 @@
 ${PYSITELIB}/notebook/static/components/codemirror/src/input/input.js
 ${PYSITELIB}/notebook/static/components/codemirror/src/input/keymap.js
 ${PYSITELIB}/notebook/static/components/codemirror/src/input/keynames.js
+${PYSITELIB}/notebook/static/components/codemirror/src/input/movement.js
 ${PYSITELIB}/notebook/static/components/codemirror/src/line/highlight.js
 ${PYSITELIB}/notebook/static/components/codemirror/src/line/line_data.js
 ${PYSITELIB}/notebook/static/components/codemirror/src/line/pos.js
@@ -1168,7 +1198,9 @@
 ${PYSITELIB}/notebook/static/components/font-awesome/fonts/fontawesome-webfont.svg
 ${PYSITELIB}/notebook/static/components/font-awesome/fonts/fontawesome-webfont.ttf
 ${PYSITELIB}/notebook/static/components/font-awesome/fonts/fontawesome-webfont.woff
+${PYSITELIB}/notebook/static/components/font-awesome/fonts/fontawesome-webfont.woff2
 ${PYSITELIB}/notebook/static/components/google-caja/html-css-sanitizer-minified.js
+${PYSITELIB}/notebook/static/components/jed/jed.js
 ${PYSITELIB}/notebook/static/components/jquery-typeahead/dist/jquery.typeahead.min.css
 ${PYSITELIB}/notebook/static/components/jquery-typeahead/dist/jquery.typeahead.min.js
 ${PYSITELIB}/notebook/static/components/jquery-ui/themes/smoothness/images/animated-overlay.gif
@@ -1189,11 +1221,17 @@
 ${PYSITELIB}/notebook/static/components/jquery-ui/ui/minified/jquery-ui.min.js
 ${PYSITELIB}/notebook/static/components/jquery/jquery.min.js
 ${PYSITELIB}/notebook/static/components/marked/lib/marked.js
+${PYSITELIB}/notebook/static/components/moment/min/locales.js
+${PYSITELIB}/notebook/static/components/moment/min/locales.min.js
+${PYSITELIB}/notebook/static/components/moment/min/moment-with-locales.js
+${PYSITELIB}/notebook/static/components/moment/min/moment-with-locales.min.js
 ${PYSITELIB}/notebook/static/components/moment/min/moment.min.js
 ${PYSITELIB}/notebook/static/components/moment/moment.js
 ${PYSITELIB}/notebook/static/components/preact-compat/index.js
 ${PYSITELIB}/notebook/static/components/preact/index.js
 ${PYSITELIB}/notebook/static/components/proptypes/index.js
+${PYSITELIB}/notebook/static/components/requirejs-plugins/src/json.js
+${PYSITELIB}/notebook/static/components/requirejs-text/text.js
 ${PYSITELIB}/notebook/static/components/requirejs/require.js
 ${PYSITELIB}/notebook/static/components/text-encoding/lib/encoding.js
 ${PYSITELIB}/notebook/static/components/underscore/underscore-min.js
@@ -1208,6 +1246,7 @@
 ${PYSITELIB}/notebook/static/edit/js/menubar.js
 ${PYSITELIB}/notebook/static/edit/js/notificationarea.js
 ${PYSITELIB}/notebook/static/edit/js/savewidget.js
+${PYSITELIB}/notebook/static/favicon.ico
 ${PYSITELIB}/notebook/static/notebook/css/override.css
 ${PYSITELIB}/notebook/static/notebook/js/about.js
 ${PYSITELIB}/notebook/static/notebook/js/actions.js
@@ -1238,6 +1277,7 @@
 ${PYSITELIB}/notebook/static/notebook/js/notificationarea.js
 ${PYSITELIB}/notebook/static/notebook/js/outputarea.js
 ${PYSITELIB}/notebook/static/notebook/js/pager.js
+${PYSITELIB}/notebook/static/notebook/js/promises.js
 ${PYSITELIB}/notebook/static/notebook/js/quickhelp.js
 ${PYSITELIB}/notebook/static/notebook/js/savewidget.js
 ${PYSITELIB}/notebook/static/notebook/js/scrollmanager.js
@@ -1247,6 +1287,7 @@
 ${PYSITELIB}/notebook/static/notebook/js/toolbar.js
 ${PYSITELIB}/notebook/static/notebook/js/tooltip.js
 ${PYSITELIB}/notebook/static/notebook/js/tour.js
+${PYSITELIB}/notebook/static/robots.txt
 ${PYSITELIB}/notebook/static/services/config.js
 ${PYSITELIB}/notebook/static/services/contents.js
 ${PYSITELIB}/notebook/static/services/kernels/comm.js
@@ -1364,6 +1405,9 @@
 ${PYSITELIB}/notebook/tests/test_utils.pyo
 ${PYSITELIB}/notebook/tests/tree/dashboard_nav.js
 ${PYSITELIB}/notebook/tests/util.js
+${PYSITELIB}/notebook/transutils.py
+${PYSITELIB}/notebook/transutils.pyc
+${PYSITELIB}/notebook/transutils.pyo
 ${PYSITELIB}/notebook/tree/__init__.py
 ${PYSITELIB}/notebook/tree/__init__.pyc
 ${PYSITELIB}/notebook/tree/__init__.pyo
diff -r 718e2ec6b1f1 -r 02786b5468ca www/py-notebook/distinfo
--- a/www/py-notebook/distinfo  Wed Oct 18 07:22:53 2017 +0000
+++ b/www/py-notebook/distinfo  Wed Oct 18 08:29:27 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2017/04/23 05:23:27 markd Exp $
+$NetBSD: distinfo,v 1.2 2017/10/18 08:29:27 adam Exp $
 
-SHA1 (notebook-5.0.0rc2.tar.gz) = 4912e8bfa85e7fa16702ad3ff977f2eb30f65914
-RMD160 (notebook-5.0.0rc2.tar.gz) = dfc67cdc071a9330068fa93f0e74c648a6577a90
-SHA512 (notebook-5.0.0rc2.tar.gz) = 3af823f048c52a4f09c2d07137df2aee75e15c3880993c4c3de7c45830345874989819fea0ad44a66dcfdb14c3de217d98d3454a878e8936145f8f6b173c15ee
-Size (notebook-5.0.0rc2.tar.gz) = 10947570 bytes
+SHA1 (notebook-5.2.0.tar.gz) = c8e21837026b14409ae670e678eba5ee101cdd65
+RMD160 (notebook-5.2.0.tar.gz) = a24edc21a0ea5d403e961b0abef399edc8fe993a
+SHA512 (notebook-5.2.0.tar.gz) = a4dddb972e6ccd450b10e176a78a08315be124bca1425cdd96d56ebab6846f65c84e532769f14f01acceef213bc25e15bfbf975915b5bb1c5ad195a0256689ff
+Size (notebook-5.2.0.tar.gz) = 12457840 bytes



Home | Main Index | Thread Index | Old Index