pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-nbconvert py-nbconvert: updated to 5.4.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3455490a4a78
branches:  trunk
changeset: 315789:3455490a4a78
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Nov 29 18:26:33 2018 +0000

description:
py-nbconvert: updated to 5.4.0

5.4.0:

New Features
- No input flag (--no-input)
- Add alias --to ipynb for notebook exporter
- Add export_from_notebook
- If set, use nb.metadata.authors for LaTeX author line
- Populate language_info metadata when executing
- Support for \mathscr
- Allow the execute preprocessor to make use of an existing kernel
- Refactor ExecutePreprocessor
- Update widgets CDN for ipywidgets 7 w/fallback
- Add support for adding custom exporters to the "Download as" menu.
- Enable ANSI underline and inverse
- Update notebook css to 5.4.0
- Change default for slides to direct to the reveal cdn rather than locally
- Use "title" instead of "name" for metadata to match the notebook format
- Img filename metadata
- Added MathJax compatibility definitions
- Per cell exception
- Simple API for in-memory templates
- Set BIBINPUTS and BSTINPUTS environment variables when making PDF
- If nb.metadata.title is set, default to that for notebook

Deprecations
- Drop support for python 3.3

Fixing Problems
- Fix api break
- Don't remove empty cells by default
- Handle attached images in html converter
- No need to check for the channels already running
- Update font-awesome version for slides
- Properly treat JSON data
- Skip executing empty code cells
- Ppdate log.warn (deprecated) to log.warning
- Cleanup notebook.tex during PDF generation
- Windows unicode error fixed, nosetest added to setup.py
- Better content hiding; template & testing improvements
- Fix Jinja syntax in custom template example.
- Fix for an issue with empty math block
- Add parser for Multiline math for LaTeX blocks
- Use defusedxml to parse potentially untrusted XML
- Fixes for traitlets 4.1 deprecation warnings

Testing, Docs, and Builds
- A couple of typos
- Add python_requires metadata.
- Document --inplace command line flag.
- Fix minor typo in usage.rst
- Add note about local reveal_url_prefix
- Move onlyif_cmds_exist decorator to test-specific utils
- Include LICENSE file in wheels
- Added Ubuntu Linux Instructions
- Check for too recent of pandoc version
- Removing more nose remnants via dependencies.
- Remove offline statement and add some clarifications in slides docs
- Linkify PR number
- Added shebang for python
- Upgrade mistune dependency
- add feature to improve docs by having links to prs
- Update notebook CSS from version 4.3.0 to 5.1.0
- Explicitly exclude or include all files in Manifest.

diffstat:

 www/py-nbconvert/ALTERNATIVES |   2 +-
 www/py-nbconvert/Makefile     |  18 ++++++++++--------
 www/py-nbconvert/PLIST        |  13 +++++++++++--
 www/py-nbconvert/distinfo     |  10 +++++-----
 4 files changed, 27 insertions(+), 16 deletions(-)

diffs (120 lines):

diff -r 1a7b635083e4 -r 3455490a4a78 www/py-nbconvert/ALTERNATIVES
--- a/www/py-nbconvert/ALTERNATIVES     Thu Nov 29 18:24:36 2018 +0000
+++ b/www/py-nbconvert/ALTERNATIVES     Thu Nov 29 18:26:33 2018 +0000
@@ -1,1 +1,1 @@
-bin/jupyter-nbconvert @PREFIX@/bin/jupyter-nbconvert@PYVERSSUFFIX@
+bin/jupyter-nbconvert @PREFIX@/bin/jupyter-nbconvert-@PYVERSSUFFIX@
diff -r 1a7b635083e4 -r 3455490a4a78 www/py-nbconvert/Makefile
--- a/www/py-nbconvert/Makefile Thu Nov 29 18:24:36 2018 +0000
+++ b/www/py-nbconvert/Makefile Thu Nov 29 18:26:33 2018 +0000
@@ -1,16 +1,17 @@
-# $NetBSD: Makefile,v 1.2 2017/10/17 18:31:40 adam Exp $
+# $NetBSD: Makefile,v 1.3 2018/11/29 18:26:33 adam Exp $
 
-DISTNAME=      nbconvert-5.3.1
+DISTNAME=      nbconvert-5.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=n/nbconvert/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://jupyter.org
+HOMEPAGE=      http://jupyter.org/
 COMMENT=       Converting Jupyter Notebooks
 LICENSE=       modified-bsd
 
 DEPENDS+=      ${PYPKGPREFIX}-bleach-[0-9]*:../../www/py-bleach
+DEPENDS+=      ${PYPKGPREFIX}-defusedxml-[0-9]*:../../textproc/py-defusedxml
 DEPENDS+=      ${PYPKGPREFIX}-entrypoints>=0.2.2:../../devel/py-entrypoints
 DEPENDS+=      ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2
 DEPENDS+=      ${PYPKGPREFIX}-jupyter_client>=4.2:../../devel/py-jupyter_client
@@ -22,15 +23,16 @@
 DEPENDS+=      ${PYPKGPREFIX}-testpath-[0-9]*:../../devel/py-testpath
 DEPENDS+=      ${PYPKGPREFIX}-tornado>=4.0:../../www/py-tornado
 DEPENDS+=      ${PYPKGPREFIX}-traitlets>=4.2:../../devel/py-traitlets
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-ipykernel-[0-9]*:../../devel/py-ipykernel
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-testpath-[0-9]*:../../devel/py-testpath
+TEST_DEPENDS+= ${PYPKGPREFIX}-ipykernel-[0-9]*:../../devel/py-ipykernel
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-testpath-[0-9]*:../../devel/py-testpath
 
 USE_LANGUAGES= # none
 
 post-install:
-       cd ${DESTDIR}${PREFIX}/bin && ${MV} jupyter-nbconvert jupyter-nbconvert${PYVERSSUFFIX} || ${TRUE}
+       cd ${DESTDIR}${PREFIX}/bin && \
+               ${MV} jupyter-nbconvert jupyter-nbconvert-${PYVERSSUFFIX} || ${TRUE}
 
 do-test:
        cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
diff -r 1a7b635083e4 -r 3455490a4a78 www/py-nbconvert/PLIST
--- a/www/py-nbconvert/PLIST    Thu Nov 29 18:24:36 2018 +0000
+++ b/www/py-nbconvert/PLIST    Thu Nov 29 18:26:33 2018 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.2 2017/10/17 18:31:40 adam Exp $
-bin/jupyter-nbconvert${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.3 2018/11/29 18:26:33 adam Exp $
+bin/jupyter-nbconvert-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_FILE}/PKG-INFO
 ${PYSITELIB}/${EGG_FILE}/SOURCES.txt
 ${PYSITELIB}/${EGG_FILE}/dependency_links.txt
@@ -72,6 +72,7 @@
 ${PYSITELIB}/nbconvert/exporters/tests/cheese.py
 ${PYSITELIB}/nbconvert/exporters/tests/cheese.pyc
 ${PYSITELIB}/nbconvert/exporters/tests/cheese.pyo
+${PYSITELIB}/nbconvert/exporters/tests/files/attachment.ipynb
 ${PYSITELIB}/nbconvert/exporters/tests/files/notebook2.ipynb
 ${PYSITELIB}/nbconvert/exporters/tests/files/pngmetadata.ipynb
 ${PYSITELIB}/nbconvert/exporters/tests/files/prompt_numbers.ipynb
@@ -249,11 +250,13 @@
 ${PYSITELIB}/nbconvert/preprocessors/tests/fake_kernelmanager.pyo
 ${PYSITELIB}/nbconvert/preprocessors/tests/files/Clear Output.ipynb
 ${PYSITELIB}/nbconvert/preprocessors/tests/files/Disable Stdin.ipynb
+${PYSITELIB}/nbconvert/preprocessors/tests/files/Empty Cell.ipynb
 ${PYSITELIB}/nbconvert/preprocessors/tests/files/Factorials.ipynb
 ${PYSITELIB}/nbconvert/preprocessors/tests/files/HelloWorld.ipynb
 ${PYSITELIB}/nbconvert/preprocessors/tests/files/Inline Image.ipynb
 ${PYSITELIB}/nbconvert/preprocessors/tests/files/Interrupt.ipynb
 ${PYSITELIB}/nbconvert/preprocessors/tests/files/SVG.ipynb
+${PYSITELIB}/nbconvert/preprocessors/tests/files/Skip Exceptions with Cell Tags.ipynb
 ${PYSITELIB}/nbconvert/preprocessors/tests/files/Skip Exceptions.ipynb
 ${PYSITELIB}/nbconvert/preprocessors/tests/files/Unicode.ipynb
 ${PYSITELIB}/nbconvert/preprocessors/tests/files/python.png
@@ -353,6 +356,9 @@
 ${PYSITELIB}/nbconvert/tests/test_nbconvertapp.py
 ${PYSITELIB}/nbconvert/tests/test_nbconvertapp.pyc
 ${PYSITELIB}/nbconvert/tests/test_nbconvertapp.pyo
+${PYSITELIB}/nbconvert/tests/utils.py
+${PYSITELIB}/nbconvert/tests/utils.pyc
+${PYSITELIB}/nbconvert/tests/utils.pyo
 ${PYSITELIB}/nbconvert/utils/__init__.py
 ${PYSITELIB}/nbconvert/utils/__init__.pyc
 ${PYSITELIB}/nbconvert/utils/__init__.pyo
@@ -380,6 +386,9 @@
 ${PYSITELIB}/nbconvert/utils/tests/test_pandoc.py
 ${PYSITELIB}/nbconvert/utils/tests/test_pandoc.pyc
 ${PYSITELIB}/nbconvert/utils/tests/test_pandoc.pyo
+${PYSITELIB}/nbconvert/utils/tests/test_version.py
+${PYSITELIB}/nbconvert/utils/tests/test_version.pyc
+${PYSITELIB}/nbconvert/utils/tests/test_version.pyo
 ${PYSITELIB}/nbconvert/utils/version.py
 ${PYSITELIB}/nbconvert/utils/version.pyc
 ${PYSITELIB}/nbconvert/utils/version.pyo
diff -r 1a7b635083e4 -r 3455490a4a78 www/py-nbconvert/distinfo
--- a/www/py-nbconvert/distinfo Thu Nov 29 18:24:36 2018 +0000
+++ b/www/py-nbconvert/distinfo Thu Nov 29 18:26:33 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2017/10/17 18:31:40 adam Exp $
+$NetBSD: distinfo,v 1.3 2018/11/29 18:26:33 adam Exp $
 
-SHA1 (nbconvert-5.3.1.tar.gz) = cab9b6e972e18dce1b1ef9562a7a1d36ede5fade
-RMD160 (nbconvert-5.3.1.tar.gz) = e31538b2929d3d9aae4f2a72eaa7ac188f8a77cc
-SHA512 (nbconvert-5.3.1.tar.gz) = ef5e91478ca28f734e9425c36282867710af5f444b310232e524924bfcb443766957407183d5d865413c041e089826fe9cdb0474815a0c8729a26fc7a6999530
-Size (nbconvert-5.3.1.tar.gz) = 516541 bytes
+SHA1 (nbconvert-5.4.0.tar.gz) = 5c78227dbf8f9851d6eccd6715d07cdf63f61f00
+RMD160 (nbconvert-5.4.0.tar.gz) = dafca6b9d5ff6a9711a9c51a268a0a25320fa466
+SHA512 (nbconvert-5.4.0.tar.gz) = 12a8925ce50782046510115f08a42c367f9c6c6031eb871ae8d82860d485d7f6a533c446c4175607854137fc8f17fb152333d11971ee365b12390aec14a834ba
+Size (nbconvert-5.4.0.tar.gz) = 539634 bytes



Home | Main Index | Thread Index | Old Index