pkgsrc-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: update to 4.4.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e637c51394c
branches:  trunk
changeset: 370508:2e637c51394c
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Oct 17 18:30:02 2017 +0000

description:
py-nbformat: update to 4.4.0

4.4.0:
- Explicitly state that metadata fields can be ignored.
- Introduce official jupyter namespace inside metadata (``metadata.jupyter``).
- Introduce ``source_hidden`` and ``outputs_hidden`` as official front-end
  metadata fields to indicate hiding source and outputs areas. **NB**: These
  fields should not be used to hide elements in exported formats.
- Fix ending the redundant storage of signatures in the signature database.
- :func:`nbformat.validate` can be set to not raise a ValidationError if
  additional properties are included.
- Fix for errors with connecting and backing up the signature database.
- Dict-like objects added to NotebookNode attributes are now transformed to be
  NotebookNode objects; transformation also works for `.update()`.

diffstat:

 www/py-nbformat/Makefile |  21 +++++++++++++--------
 www/py-nbformat/PLIST    |   3 ++-
 www/py-nbformat/distinfo |  10 +++++-----
 3 files changed, 20 insertions(+), 14 deletions(-)

diffs (74 lines):

diff -r 5a6cbbed1436 -r 2e637c51394c www/py-nbformat/Makefile
--- a/www/py-nbformat/Makefile  Tue Oct 17 18:28:53 2017 +0000
+++ b/www/py-nbformat/Makefile  Tue Oct 17 18:30:02 2017 +0000
@@ -1,25 +1,30 @@
-# $NetBSD: Makefile,v 1.1 2017/04/23 05:00:06 markd Exp $
+# $NetBSD: Makefile,v 1.2 2017/10/17 18:30:02 adam Exp $
 
-DISTNAME=      nbformat-4.3.0
+DISTNAME=      nbformat-4.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    www
+CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=n/nbformat/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://jupyter.org
+HOMEPAGE=      http://jupyter.org/
 COMMENT=       Jupyter Notebook format
 LICENSE=       modified-bsd
 
 DEPENDS+=      ${PYPKGPREFIX}-ipython_genutils-[0-9]*:../../devel/py-ipython_genutils
 DEPENDS+=      ${PYPKGPREFIX}-jupyter_core-[0-9]*:../../devel/py-jupyter_core
-DEPENDS+=      ${PYPKGPREFIX}-jsonschema-[0-9]*:../../textproc/py-jsonschema
-DEPENDS+=      ${PYPKGPREFIX}-traitlets>=4.2.1:../../devel/py-traitlets
+DEPENDS+=      ${PYPKGPREFIX}-jsonschema>=2.4:../../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
 
 USE_LANGUAGES= # none
 
 post-install:
-       ${MV} ${DESTDIR}${PREFIX}/bin/jupyter-trust ${DESTDIR}${PREFIX}/bin/jupyter-trust${PYVERSSUFFIX}
+       cd ${DESTDIR}${PREFIX}/bin && ${MV} jupyter-trust jupyter-trust${PYVERSSUFFIX} || ${TRUE}
+
+do-test:
+       cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
 
 .include "../../lang/python/distutils.mk"
-.include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 5a6cbbed1436 -r 2e637c51394c www/py-nbformat/PLIST
--- a/www/py-nbformat/PLIST     Tue Oct 17 18:28:53 2017 +0000
+++ b/www/py-nbformat/PLIST     Tue Oct 17 18:30:02 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2017/04/23 05:00:06 markd Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/10/17 18:30:02 adam Exp $
 bin/jupyter-trust${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_FILE}
 ${PYSITELIB}/nbformat/__init__.py
@@ -37,6 +37,7 @@
 ${PYSITELIB}/nbformat/tests/test4.ipynb
 ${PYSITELIB}/nbformat/tests/test4custom.ipynb
 ${PYSITELIB}/nbformat/tests/test4docinfo.ipynb
+${PYSITELIB}/nbformat/tests/test4jupyter_metadata.ipynb
 ${PYSITELIB}/nbformat/tests/test4plus.ipynb
 ${PYSITELIB}/nbformat/tests/test_api.py
 ${PYSITELIB}/nbformat/tests/test_api.pyc
diff -r 5a6cbbed1436 -r 2e637c51394c www/py-nbformat/distinfo
--- a/www/py-nbformat/distinfo  Tue Oct 17 18:28:53 2017 +0000
+++ b/www/py-nbformat/distinfo  Tue Oct 17 18:30:02 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2017/04/23 05:00:06 markd Exp $
+$NetBSD: distinfo,v 1.2 2017/10/17 18:30:02 adam Exp $
 
-SHA1 (nbformat-4.3.0.tar.gz) = 0b6f25c0c2fd101b6a474f4c3ffd185003e34de5
-RMD160 (nbformat-4.3.0.tar.gz) = d30ccdc4a20057f811f531f0128c520cd092910d
-SHA512 (nbformat-4.3.0.tar.gz) = f4727466b96bb1e1524e9c496898bf0e868fd85b65e325a9741f0debc4f9fd908652b0eb4d0d20ed68332d7770c21dcb41b63ec76dc6a7d1b3267f03a7f96757
-Size (nbformat-4.3.0.tar.gz) = 578765 bytes
+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



Home | Main Index | Thread Index | Old Index