summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2022-04-07 07:01:44 +0000
committeradam <adam@pkgsrc.org>2022-04-07 07:01:44 +0000
commita1ee58dbe6b22f06925e1236abc41db312fb372b (patch)
tree89b1a187555524cd7efd6fecd0dbdc18a551a6fd /www
parent81d2b666399589dc49390cf2e9d480ac19978695 (diff)
downloadpkgsrc-a1ee58dbe6b22f06925e1236abc41db312fb372b.tar.gz
py-nbformat: updated to 5.3.0
5.3.0 ===== - Use `f`astjsonschema`` by default - Adopt ``pre-commit`` and auto-formatters - Increase minimum ``jsonschema`` to 2.6, handle warnings 5.2.0 ===== - Add ability to capture validation errors - Update supported python versions - Ensure nbformat minor version is present when upgrading - Only fix cell ID validation issues if asked - Return the notebook when no conversion is needed - Catch AttributeErrors stemming from ipython_genutils as ValidationErrors on read - Don't list pytest-cov as a test dependency - Remove dependency on IPython genutils - Include tests in sdist but not wheel
Diffstat (limited to 'www')
-rw-r--r--www/py-nbformat/Makefile12
-rw-r--r--www/py-nbformat/PLIST80
-rw-r--r--www/py-nbformat/distinfo8
3 files changed, 17 insertions, 83 deletions
diff --git a/www/py-nbformat/Makefile b/www/py-nbformat/Makefile
index b64fc649379..652253f4055 100644
--- a/www/py-nbformat/Makefile
+++ b/www/py-nbformat/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2022/01/05 15:41:30 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2022/04/07 07:01:44 adam Exp $
-DISTNAME= nbformat-5.1.3
+DISTNAME= nbformat-5.3.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 3
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=n/nbformat/}
@@ -11,9 +10,9 @@ HOMEPAGE= https://jupyter.org/
COMMENT= Jupyter Notebook format
LICENSE= modified-bsd
-DEPENDS+= ${PYPKGPREFIX}-ipython_genutils-[0-9]*:../../devel/py-ipython_genutils
+DEPENDS+= ${PYPKGPREFIX}-fastjsonschema-[0-9]*:../../textproc/py-fastjsonschema
DEPENDS+= ${PYPKGPREFIX}-jupyter_core-[0-9]*:../../devel/py-jupyter_core
-DEPENDS+= ${PYPKGPREFIX}-jsonschema>=2.5.1:../../textproc/py-jsonschema
+DEPENDS+= ${PYPKGPREFIX}-jsonschema>=2.6:../../textproc/py-jsonschema
DEPENDS+= ${PYPKGPREFIX}-traitlets>=4.1:../../devel/py-traitlets
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
@@ -26,7 +25,8 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_PKG_RESOURCES= yes
post-install:
- cd ${DESTDIR}${PREFIX}/bin && mv jupyter-trust jupyter-trust-${PYVERSSUFFIX} || ${TRUE}
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} jupyter-trust jupyter-trust-${PYVERSSUFFIX} || ${TRUE}
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
diff --git a/www/py-nbformat/PLIST b/www/py-nbformat/PLIST
index b662b81f893..d73e16ccb16 100644
--- a/www/py-nbformat/PLIST
+++ b/www/py-nbformat/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2022/01/02 00:14:29 wiz Exp $
+@comment $NetBSD: PLIST,v 1.7 2022/04/07 07:01:44 adam Exp $
bin/jupyter-trust-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -9,9 +9,12 @@ ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${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/_imports.py
+${PYSITELIB}/nbformat/_imports.pyc
+${PYSITELIB}/nbformat/_imports.pyo
+${PYSITELIB}/nbformat/_struct.py
+${PYSITELIB}/nbformat/_struct.pyc
+${PYSITELIB}/nbformat/_struct.pyo
${PYSITELIB}/nbformat/_version.py
${PYSITELIB}/nbformat/_version.pyc
${PYSITELIB}/nbformat/_version.pyo
@@ -63,18 +66,6 @@ ${PYSITELIB}/nbformat/v1/nbjson.pyo
${PYSITELIB}/nbformat/v1/rwbase.py
${PYSITELIB}/nbformat/v1/rwbase.pyc
${PYSITELIB}/nbformat/v1/rwbase.pyo
-${PYSITELIB}/nbformat/v1/tests/__init__.py
-${PYSITELIB}/nbformat/v1/tests/__init__.pyc
-${PYSITELIB}/nbformat/v1/tests/__init__.pyo
-${PYSITELIB}/nbformat/v1/tests/nbexamples.py
-${PYSITELIB}/nbformat/v1/tests/nbexamples.pyc
-${PYSITELIB}/nbformat/v1/tests/nbexamples.pyo
-${PYSITELIB}/nbformat/v1/tests/test_json.py
-${PYSITELIB}/nbformat/v1/tests/test_json.pyc
-${PYSITELIB}/nbformat/v1/tests/test_json.pyo
-${PYSITELIB}/nbformat/v1/tests/test_nbbase.py
-${PYSITELIB}/nbformat/v1/tests/test_nbbase.pyc
-${PYSITELIB}/nbformat/v1/tests/test_nbbase.pyo
${PYSITELIB}/nbformat/v2/__init__.py
${PYSITELIB}/nbformat/v2/__init__.pyc
${PYSITELIB}/nbformat/v2/__init__.pyo
@@ -96,21 +87,6 @@ ${PYSITELIB}/nbformat/v2/nbxml.pyo
${PYSITELIB}/nbformat/v2/rwbase.py
${PYSITELIB}/nbformat/v2/rwbase.pyc
${PYSITELIB}/nbformat/v2/rwbase.pyo
-${PYSITELIB}/nbformat/v2/tests/__init__.py
-${PYSITELIB}/nbformat/v2/tests/__init__.pyc
-${PYSITELIB}/nbformat/v2/tests/__init__.pyo
-${PYSITELIB}/nbformat/v2/tests/nbexamples.py
-${PYSITELIB}/nbformat/v2/tests/nbexamples.pyc
-${PYSITELIB}/nbformat/v2/tests/nbexamples.pyo
-${PYSITELIB}/nbformat/v2/tests/test_json.py
-${PYSITELIB}/nbformat/v2/tests/test_json.pyc
-${PYSITELIB}/nbformat/v2/tests/test_json.pyo
-${PYSITELIB}/nbformat/v2/tests/test_nbbase.py
-${PYSITELIB}/nbformat/v2/tests/test_nbbase.pyc
-${PYSITELIB}/nbformat/v2/tests/test_nbbase.pyo
-${PYSITELIB}/nbformat/v2/tests/test_nbpy.py
-${PYSITELIB}/nbformat/v2/tests/test_nbpy.pyc
-${PYSITELIB}/nbformat/v2/tests/test_nbpy.pyo
${PYSITELIB}/nbformat/v3/__init__.py
${PYSITELIB}/nbformat/v3/__init__.pyc
${PYSITELIB}/nbformat/v3/__init__.pyo
@@ -130,27 +106,6 @@ ${PYSITELIB}/nbformat/v3/nbpy.pyo
${PYSITELIB}/nbformat/v3/rwbase.py
${PYSITELIB}/nbformat/v3/rwbase.pyc
${PYSITELIB}/nbformat/v3/rwbase.pyo
-${PYSITELIB}/nbformat/v3/tests/__init__.py
-${PYSITELIB}/nbformat/v3/tests/__init__.pyc
-${PYSITELIB}/nbformat/v3/tests/__init__.pyo
-${PYSITELIB}/nbformat/v3/tests/formattest.py
-${PYSITELIB}/nbformat/v3/tests/formattest.pyc
-${PYSITELIB}/nbformat/v3/tests/formattest.pyo
-${PYSITELIB}/nbformat/v3/tests/nbexamples.py
-${PYSITELIB}/nbformat/v3/tests/nbexamples.pyc
-${PYSITELIB}/nbformat/v3/tests/nbexamples.pyo
-${PYSITELIB}/nbformat/v3/tests/test_json.py
-${PYSITELIB}/nbformat/v3/tests/test_json.pyc
-${PYSITELIB}/nbformat/v3/tests/test_json.pyo
-${PYSITELIB}/nbformat/v3/tests/test_misc.py
-${PYSITELIB}/nbformat/v3/tests/test_misc.pyc
-${PYSITELIB}/nbformat/v3/tests/test_misc.pyo
-${PYSITELIB}/nbformat/v3/tests/test_nbbase.py
-${PYSITELIB}/nbformat/v3/tests/test_nbbase.pyc
-${PYSITELIB}/nbformat/v3/tests/test_nbbase.pyo
-${PYSITELIB}/nbformat/v3/tests/test_nbpy.py
-${PYSITELIB}/nbformat/v3/tests/test_nbpy.pyc
-${PYSITELIB}/nbformat/v3/tests/test_nbpy.pyo
${PYSITELIB}/nbformat/v4/__init__.py
${PYSITELIB}/nbformat/v4/__init__.pyc
${PYSITELIB}/nbformat/v4/__init__.pyo
@@ -173,27 +128,6 @@ ${PYSITELIB}/nbformat/v4/nbjson.pyo
${PYSITELIB}/nbformat/v4/rwbase.py
${PYSITELIB}/nbformat/v4/rwbase.pyc
${PYSITELIB}/nbformat/v4/rwbase.pyo
-${PYSITELIB}/nbformat/v4/tests/__init__.py
-${PYSITELIB}/nbformat/v4/tests/__init__.pyc
-${PYSITELIB}/nbformat/v4/tests/__init__.pyo
-${PYSITELIB}/nbformat/v4/tests/formattest.py
-${PYSITELIB}/nbformat/v4/tests/formattest.pyc
-${PYSITELIB}/nbformat/v4/tests/formattest.pyo
-${PYSITELIB}/nbformat/v4/tests/nbexamples.py
-${PYSITELIB}/nbformat/v4/tests/nbexamples.pyc
-${PYSITELIB}/nbformat/v4/tests/nbexamples.pyo
-${PYSITELIB}/nbformat/v4/tests/test_convert.py
-${PYSITELIB}/nbformat/v4/tests/test_convert.pyc
-${PYSITELIB}/nbformat/v4/tests/test_convert.pyo
-${PYSITELIB}/nbformat/v4/tests/test_json.py
-${PYSITELIB}/nbformat/v4/tests/test_json.pyc
-${PYSITELIB}/nbformat/v4/tests/test_json.pyo
-${PYSITELIB}/nbformat/v4/tests/test_nbbase.py
-${PYSITELIB}/nbformat/v4/tests/test_nbbase.pyc
-${PYSITELIB}/nbformat/v4/tests/test_nbbase.pyo
-${PYSITELIB}/nbformat/v4/tests/test_validate.py
-${PYSITELIB}/nbformat/v4/tests/test_validate.pyc
-${PYSITELIB}/nbformat/v4/tests/test_validate.pyo
${PYSITELIB}/nbformat/validator.py
${PYSITELIB}/nbformat/validator.pyc
${PYSITELIB}/nbformat/validator.pyo
diff --git a/www/py-nbformat/distinfo b/www/py-nbformat/distinfo
index 25ceeb1a1ea..773ccfa9729 100644
--- a/www/py-nbformat/distinfo
+++ b/www/py-nbformat/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2021/10/26 11:30:44 nia Exp $
+$NetBSD: distinfo,v 1.9 2022/04/07 07:01:44 adam Exp $
-BLAKE2s (nbformat-5.1.3.tar.gz) = 35a81f8ac49d75d69a32c32551d9d928e79e64fd40b0f461b263e9bbcd3fdac5
-SHA512 (nbformat-5.1.3.tar.gz) = 442c8e9fbc0fe33830a16a38278195469438c7ad28b4270e203284c49dc747f541c1ed9f2a19aca9bf705f0615d4b8402f0492e1ca6715bfbd8be2a5e505fa7c
-Size (nbformat-5.1.3.tar.gz) = 73703 bytes
+BLAKE2s (nbformat-5.3.0.tar.gz) = d71006e08f37cc484afa28a7b9e9bbb9f5ac0a952d47084e3717aca9f4136816
+SHA512 (nbformat-5.3.0.tar.gz) = 49826d34807242213d087aaf16ec1b04cbc91551c7bc2d647f11950548807d971a0d880f2c3c6fc5e8eb50ed2ebe3674de12636e16ba7e0c3777484adbe494fe
+Size (nbformat-5.3.0.tar.gz) = 136855 bytes