Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-nbformat py-nbformat: updated to 5.0.6



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a9e1f429371e
branches:  trunk
changeset: 431962:a9e1f429371e
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun May 17 20:26:52 2020 +0000

description:
py-nbformat: updated to 5.0.6

5.0.6
=====
- nbformat.read() function has a better duck-type interface and will raise more
  meaningful error messages if it can't parse a notebook document.

5.0.5
=====
- Allow notebook format 4.0 and 4.1 to have the arbitrary JSON mimebundles
  from format 4.2 for pragmatic purposes.
- Support reading/writing path-like objects has been added to read operations.

5.0.4
=====
- Fixed issue causing python 2 to pick up 5.0.x releases.

5.0.3
=====
- Removed debug print statements from project.

5.0.2
=====
- Added schema validation files for older versions. This was breaking notebook generation.

5.0
===
`5.0 on GitHub <https://github.com/jupyter/nbformat/milestone/5>`__

- Starting with 5.0, ``nbformat`` is now Python 3 only (>= 3.5)
- Add execution timings in code cell metadata for v4 spec.
  ``"metadata": { "execution": {...}}`` should be populated with kernel-specific
  timing information.
- Documentation for how markup is used in notebooks added
- Link to json schema docs from format page added
- Documented the editable metadata flag
- Update description for collapsed field
- Documented notebook format versions 4.0-4.3 with accurate json schema specification files
- Clarified info about :ref:`name`'s meaning for cells
- Added a default execution_count of None for new_output_cell('execute_result')
- Added support for handling nbjson kwargs
- Wheels now correctly have a LICENSE file
- Travis builds now have a few more execution environments

diffstat:

 www/py-nbformat/ALTERNATIVES |   1 -
 www/py-nbformat/Makefile     |  17 ++++++++---------
 www/py-nbformat/PLIST        |  15 +++++++++++++--
 www/py-nbformat/distinfo     |  10 +++++-----
 4 files changed, 26 insertions(+), 17 deletions(-)

diffs (105 lines):

diff -r 97d3f9992b1d -r a9e1f429371e www/py-nbformat/ALTERNATIVES
--- a/www/py-nbformat/ALTERNATIVES      Sun May 17 20:18:35 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-bin/jupyter-trust @PREFIX@/bin/jupyter-trust@PYVERSSUFFIX@
diff -r 97d3f9992b1d -r a9e1f429371e www/py-nbformat/Makefile
--- a/www/py-nbformat/Makefile  Sun May 17 20:18:35 2020 +0000
+++ b/www/py-nbformat/Makefile  Sun May 17 20:26:52 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2019/07/22 08:42:50 nia Exp $
+# $NetBSD: Makefile,v 1.4 2020/05/17 20:26:52 adam Exp $
 
-DISTNAME=      nbformat-4.4.0
+DISTNAME=      nbformat-5.0.6
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=n/nbformat/}
@@ -12,19 +12,18 @@
 
 DEPENDS+=      ${PYPKGPREFIX}-ipython_genutils-[0-9]*:../../devel/py-ipython_genutils
 DEPENDS+=      ${PYPKGPREFIX}-jupyter_core-[0-9]*:../../devel/py-jupyter_core
-DEPENDS+=      ${PYPKGPREFIX}-jsonschema>=2.4:../../textproc/py-jsonschema
+DEPENDS+=      ${PYPKGPREFIX}-jsonschema>=2.5.1:../../textproc/py-jsonschema
 DEPENDS+=      ${PYPKGPREFIX}-traitlets>=4.1:../../devel/py-traitlets
-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}-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-trust jupyter-trust${PYVERSSUFFIX} || ${TRUE}
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 do-test:
-       cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
+       cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
 
 .include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 97d3f9992b1d -r a9e1f429371e www/py-nbformat/PLIST
--- a/www/py-nbformat/PLIST     Sun May 17 20:18:35 2020 +0000
+++ b/www/py-nbformat/PLIST     Sun May 17 20:26:52 2020 +0000
@@ -1,9 +1,11 @@
-@comment $NetBSD: PLIST,v 1.2 2017/10/17 18:30:02 adam Exp $
-bin/jupyter-trust${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.3 2020/05/17 20:26:52 adam Exp $
 ${PYSITELIB}/${EGG_FILE}
 ${PYSITELIB}/nbformat/__init__.py
 ${PYSITELIB}/nbformat/__init__.pyc
 ${PYSITELIB}/nbformat/__init__.pyo
+${PYSITELIB}/nbformat/_compat.py
+${PYSITELIB}/nbformat/_compat.pyc
+${PYSITELIB}/nbformat/_compat.pyo
 ${PYSITELIB}/nbformat/_version.py
 ${PYSITELIB}/nbformat/_version.pyc
 ${PYSITELIB}/nbformat/_version.pyo
@@ -38,6 +40,7 @@
 ${PYSITELIB}/nbformat/tests/test4custom.ipynb
 ${PYSITELIB}/nbformat/tests/test4docinfo.ipynb
 ${PYSITELIB}/nbformat/tests/test4jupyter_metadata.ipynb
+${PYSITELIB}/nbformat/tests/test4jupyter_metadata_timings.ipynb
 ${PYSITELIB}/nbformat/tests/test4plus.ipynb
 ${PYSITELIB}/nbformat/tests/test_api.py
 ${PYSITELIB}/nbformat/tests/test_api.pyc
@@ -45,6 +48,9 @@
 ${PYSITELIB}/nbformat/tests/test_convert.py
 ${PYSITELIB}/nbformat/tests/test_convert.pyc
 ${PYSITELIB}/nbformat/tests/test_convert.pyo
+${PYSITELIB}/nbformat/tests/test_nbformat.py
+${PYSITELIB}/nbformat/tests/test_nbformat.pyc
+${PYSITELIB}/nbformat/tests/test_nbformat.pyo
 ${PYSITELIB}/nbformat/tests/test_reader.py
 ${PYSITELIB}/nbformat/tests/test_reader.pyc
 ${PYSITELIB}/nbformat/tests/test_reader.pyo
@@ -166,6 +172,11 @@
 ${PYSITELIB}/nbformat/v4/nbbase.py
 ${PYSITELIB}/nbformat/v4/nbbase.pyc
 ${PYSITELIB}/nbformat/v4/nbbase.pyo
+${PYSITELIB}/nbformat/v4/nbformat.v4.0.schema.json
+${PYSITELIB}/nbformat/v4/nbformat.v4.1.schema.json
+${PYSITELIB}/nbformat/v4/nbformat.v4.2.schema.json
+${PYSITELIB}/nbformat/v4/nbformat.v4.3.schema.json
+${PYSITELIB}/nbformat/v4/nbformat.v4.4.schema.json
 ${PYSITELIB}/nbformat/v4/nbformat.v4.schema.json
 ${PYSITELIB}/nbformat/v4/nbjson.py
 ${PYSITELIB}/nbformat/v4/nbjson.pyc
diff -r 97d3f9992b1d -r a9e1f429371e www/py-nbformat/distinfo
--- a/www/py-nbformat/distinfo  Sun May 17 20:18:35 2020 +0000
+++ b/www/py-nbformat/distinfo  Sun May 17 20:26:52 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2017/10/17 18:30:02 adam Exp $
+$NetBSD: distinfo,v 1.3 2020/05/17 20:26:52 adam Exp $
 
-SHA1 (nbformat-4.4.0.tar.gz) = f3d7723747a1587d3e1ad8bd2836dbe192a843cb
-RMD160 (nbformat-4.4.0.tar.gz) = 8317a6ae2072eeb3a860dbe4080a918cdd203e51
-SHA512 (nbformat-4.4.0.tar.gz) = 46cb78bca374ef49c4461f230cbb8eb4af611d7be395a448680964c759d47fa8558dd07de96c43921ca171c486707dc823e278b724d9dab51bd30c3dab47ff6e
-Size (nbformat-4.4.0.tar.gz) = 113683 bytes
+SHA1 (nbformat-5.0.6.tar.gz) = 41c0f096597510a9c7a1c0f856c45242d1da0138
+RMD160 (nbformat-5.0.6.tar.gz) = e8a997aef0081cc4017cff48608d74ec8e364aa1
+SHA512 (nbformat-5.0.6.tar.gz) = 5976080ee8cf5cf067f89941b5088f8b063267a5f228ac61fe69c67e546e53ae95367ebee48718f962679274f8446d6af213ca5fc4e7251955995b2e62aaa473
+Size (nbformat-5.0.6.tar.gz) = 112341 bytes



Home | Main Index | Thread Index | Old Index