head	1.20;
access;
symbols
	pkgsrc-2026Q1:1.20.0.16
	pkgsrc-2026Q1-base:1.20
	pkgsrc-2025Q4:1.20.0.14
	pkgsrc-2025Q4-base:1.20
	pkgsrc-2025Q3:1.20.0.12
	pkgsrc-2025Q3-base:1.20
	pkgsrc-2025Q2:1.20.0.10
	pkgsrc-2025Q2-base:1.20
	pkgsrc-2025Q1:1.20.0.8
	pkgsrc-2025Q1-base:1.20
	pkgsrc-2024Q4:1.20.0.6
	pkgsrc-2024Q4-base:1.20
	pkgsrc-2024Q3:1.20.0.4
	pkgsrc-2024Q3-base:1.20
	pkgsrc-2024Q2:1.20.0.2
	pkgsrc-2024Q2-base:1.20
	pkgsrc-2024Q1:1.19.0.2
	pkgsrc-2024Q1-base:1.19
	pkgsrc-2023Q4:1.18.0.2
	pkgsrc-2023Q4-base:1.18
	pkgsrc-2023Q3:1.17.0.2
	pkgsrc-2023Q3-base:1.17
	pkgsrc-2023Q2:1.16.0.2
	pkgsrc-2023Q2-base:1.16
	pkgsrc-2023Q1:1.15.0.2
	pkgsrc-2023Q1-base:1.15
	pkgsrc-2022Q4:1.14.0.6
	pkgsrc-2022Q4-base:1.14
	pkgsrc-2022Q3:1.14.0.4
	pkgsrc-2022Q3-base:1.14
	pkgsrc-2022Q2:1.14.0.2
	pkgsrc-2022Q2-base:1.14
	pkgsrc-2022Q1:1.12.0.2
	pkgsrc-2022Q1-base:1.12
	pkgsrc-2021Q4:1.8.0.4
	pkgsrc-2021Q4-base:1.8
	pkgsrc-2021Q3:1.8.0.2
	pkgsrc-2021Q3-base:1.8
	pkgsrc-2021Q2:1.7.0.2
	pkgsrc-2021Q2-base:1.7
	pkgsrc-2021Q1:1.6.0.4
	pkgsrc-2021Q1-base:1.6
	pkgsrc-2020Q4:1.6.0.2
	pkgsrc-2020Q4-base:1.6
	pkgsrc-2020Q3:1.5.0.2
	pkgsrc-2020Q3-base:1.5
	pkgsrc-2020Q2:1.4.0.2
	pkgsrc-2020Q2-base:1.4
	pkgsrc-2020Q1:1.3.0.4
	pkgsrc-2020Q1-base:1.3
	pkgsrc-2019Q4:1.3.0.6
	pkgsrc-2019Q4-base:1.3
	pkgsrc-2019Q3:1.3.0.2
	pkgsrc-2019Q3-base:1.3
	pkgsrc-2019Q2:1.2.0.14
	pkgsrc-2019Q2-base:1.2
	pkgsrc-2019Q1:1.2.0.12
	pkgsrc-2019Q1-base:1.2
	pkgsrc-2018Q4:1.2.0.10
	pkgsrc-2018Q4-base:1.2
	pkgsrc-2018Q3:1.2.0.8
	pkgsrc-2018Q3-base:1.2
	pkgsrc-2018Q2:1.2.0.6
	pkgsrc-2018Q2-base:1.2
	pkgsrc-2018Q1:1.2.0.4
	pkgsrc-2018Q1-base:1.2
	pkgsrc-2017Q4:1.2.0.2
	pkgsrc-2017Q4-base:1.2
	pkgsrc-2017Q3:1.1.0.6
	pkgsrc-2017Q3-base:1.1
	pkgsrc-2017Q2:1.1.0.2
	pkgsrc-2017Q2-base:1.1;
locks; strict;
comment	@# @;


1.20
date	2024.04.08.05.15.14;	author adam;	state Exp;
branches;
next	1.19;
commitid	N1kcRndvvpDMCi5F;

1.19
date	2024.03.24.10.54.59;	author adam;	state Exp;
branches;
next	1.18;
commitid	qErPhJbyp4n6Zo3F;

1.18
date	2023.10.28.19.57.24;	author wiz;	state Exp;
branches;
next	1.17;
commitid	jP8MYROLWZ3yJqKE;

1.17
date	2023.08.25.21.58.01;	author adam;	state Exp;
branches;
next	1.16;
commitid	AbFoEui7GgiQsdCE;

1.16
date	2023.04.25.11.39.57;	author adam;	state Exp;
branches;
next	1.15;
commitid	YD3oj3KEsLeeYtmE;

1.15
date	2023.02.14.08.48.16;	author adam;	state Exp;
branches;
next	1.14;
commitid	MRGdizFXO5dxgtdE;

1.14
date	2022.05.04.07.30.55;	author adam;	state Exp;
branches;
next	1.13;
commitid	PzJT4tisubul2ICD;

1.13
date	2022.04.07.07.01.44;	author adam;	state Exp;
branches;
next	1.12;
commitid	w6HOD8kKbZT8KezD;

1.12
date	2022.01.05.15.41.30;	author wiz;	state Exp;
branches;
next	1.11;
commitid	FQ77UruBIUsgzsnD;

1.11
date	2022.01.04.20.55.32;	author wiz;	state Exp;
branches;
next	1.10;
commitid	CYyhdK9qtoffkmnD;

1.10
date	2022.01.02.00.14.29;	author wiz;	state Exp;
branches;
next	1.9;
commitid	lnIxiZ6NOTDMxZmD;

1.9
date	2021.12.30.13.05.41;	author adam;	state Exp;
branches;
next	1.8;
commitid	w23rFuQ4pTWhUFmD;

1.8
date	2021.06.29.08.34.18;	author nia;	state Exp;
branches;
next	1.7;
commitid	8EPaGMIU3xEUj0ZC;

1.7
date	2021.06.10.18.57.58;	author adam;	state Exp;
branches;
next	1.6;
commitid	uUjXbKCjZ77GnCWC;

1.6
date	2020.10.15.13.49.22;	author adam;	state Exp;
branches;
next	1.5;
commitid	NzjcddmQVrTak0sC;

1.5
date	2020.07.21.07.55.57;	author adam;	state Exp;
branches;
next	1.4;
commitid	Fq09PQVmuzVi8VgC;

1.4
date	2020.05.17.20.26.52;	author adam;	state Exp;
branches;
next	1.3;
commitid	aOP1JAfEvUinnD8C;

1.3
date	2019.07.22.08.42.50;	author nia;	state Exp;
branches;
next	1.2;
commitid	nenIA4KxEt9P71wB;

1.2
date	2017.10.17.18.30.02;	author adam;	state Exp;
branches;
next	1.1;
commitid	O04SfBi2LhuD2rbA;

1.1
date	2017.04.23.05.00.06;	author markd;	state Exp;
branches;
next	;
commitid	PohqkatSALgvfCOz;


desc
@@


1.20
log
@py-nbformat: updated to 5.10.4

5.10.4

Maintenance and upkeep improvements

- Set all min deps
- chore: update pre-commit hooks
@
text
@# $NetBSD: Makefile,v 1.19 2024/03/24 10:54:59 adam Exp $

DISTNAME=	nbformat-5.10.4
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	www python
MASTER_SITES=	${MASTER_SITE_PYPI:=n/nbformat/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://jupyter.org/
COMMENT=	Jupyter Notebook format
LICENSE=	modified-bsd

TOOL_DEPENDS+=	${PYPKGPREFIX}-hatchling>=1.5:../../devel/py-hatchling
TOOL_DEPENDS+=	${PYPKGPREFIX}-hatch-nodejs-version-[0-9]*:../../devel/py-hatch-nodejs-version
DEPENDS+=	${PYPKGPREFIX}-fastjsonschema>=2.15:../../textproc/py-fastjsonschema
DEPENDS+=	${PYPKGPREFIX}-jsonschema>=2.6:../../textproc/py-jsonschema
DEPENDS+=	${PYPKGPREFIX}-jupyter_core>=4.12:../../devel/py-jupyter_core
DEPENDS+=	${PYPKGPREFIX}-traitlets>=5.1:../../devel/py-traitlets
TEST_DEPENDS+=	${PYPKGPREFIX}-pep440-[0-9]*:../../misc/py-pep440
TEST_DEPENDS+=	${PYPKGPREFIX}-testpath-[0-9]*:../../devel/py-testpath

USE_LANGUAGES=	# none

PYTHON_VERSIONS_INCOMPATIBLE=	27

post-install:
	cd ${DESTDIR}${PREFIX}/bin && \
	${MV} jupyter-trust jupyter-trust-${PYVERSSUFFIX} || ${TRUE}

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.19
log
@py-nbformat: updated to 5.10.3

5.10.3

Bugs fixed

- Revert 378 (Simplify NotebookNotary.\_data_dir_default)

5.10.2

Maintenance and upkeep improvements

- Restore usage of npm token

5.10.1

No merged PRs

5.10.0

Maintenance and upkeep improvements

- Update Release Scripts
- chore: update pre-commit hooks
- chore: update pre-commit hooks
- Update ruff and typings
- update incorrect warning text
- chore: update pre-commit hooks
- Clean up lint handling
- Adopt ruff format
- Update typings for mypy 1.6
- chore: update pre-commit hooks
- Fix typing error
- Simplify NotebookNotary.\_data_dir_default
- Adopt sp-repo-review
- Bump actions/checkout from 3 to 4

Documentation improvements

- update incorrect warning text
- Improve project URLs that display on PyPI
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2023/10/28 19:57:24 wiz Exp $
d3 1
a3 1
DISTNAME=	nbformat-5.10.3
d15 1
a15 1
DEPENDS+=	${PYPKGPREFIX}-fastjsonschema-[0-9]*:../../textproc/py-fastjsonschema
d17 1
a17 1
DEPENDS+=	${PYPKGPREFIX}-jupyter_core-[0-9]*:../../devel/py-jupyter_core
@


1.18
log
@python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2023/08/25 21:58:01 adam Exp $
d3 1
a3 1
DISTNAME=	nbformat-5.9.2
a4 1
PKGREVISION=	1
a19 1
TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
a29 3
do-test:
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests

@


1.17
log
@py-nbformat: updated to 5.9.2

5.9.2

Bugs fixed

- Fix version handling

Maintenance and upkeep improvements

- Fix encoding warnings
- Update link to notebook security

Documentation improvements

- Update link to notebook security


5.9.1

Maintenance and upkeep improvements

- Fix deprecation warning when importing from jsonschema


5.9.0

Maintenance and upkeep improvements

- Support Python 3.12
- Use local coverage
- Bump actions/checkout from 2 to 3
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2023/04/25 11:39:57 adam Exp $
d5 1
@


1.16
log
@py-nbformat: updated to 5.8.0

5.8.0

Enhancements made
- Add strip_invalid_metadata argument to validator normalize method

Maintenance and upkeep improvements
- Fix codecov badge
- Add license
- Add more linting
- Only add ellipsis to NotJSONError message if message is truncated

Documentation improvements
- DOC: README: capitalization, title
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2023/02/14 08:48:16 adam Exp $
d3 1
a3 1
DISTNAME=	nbformat-5.8.0
d19 1
a20 1
TEST_DEPENDS+=	${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
d32 1
a32 1
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
@


1.15
log
@py-nbformat: updated to 5.7.3

5.7.3

Maintenance and upkeep improvements

- Undeprecate validate(nb, relax_add_props=True)


5.7.2

Bugs fixed

- Only require nbformat_minor for v4

Maintenance and upkeep improvements

- Fix check release
- Add spell checker and enforce docstrings
- Fix docs build


5.7.1

Maintenance and upkeep improvements

- Expose more attributes for typing
- Fix lint
- Adopt ruff and address lint
- Use base setup dependency type
- Switch to using Jupyter Releaser
- More maintenance cleanup
- Handle warning from jupyter client
- Add dependabot
- Clean up docs and maintenance

Documentation improvements

- Fix changelog target
- Clean up docs and maintenance


5.7.0

- Always use jsonschema to handle error reporting.
- Fix deprecation warning suggestion.

5.6.1

- Fix handling of `__version__` on Python 3.7.

5.6.0

- Fix docs and type annotations for `validator.normalize`.
- Switch to hatch build backend.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2022/05/04 07:30:55 adam Exp $
d3 1
a3 1
DISTNAME=	nbformat-5.7.3
d16 1
a17 1
DEPENDS+=	${PYPKGPREFIX}-jsonschema>=2.6:../../textproc/py-jsonschema
@


1.14
log
@py-nbformat: updated to 5.4.0

5.4.0
=====
* Add project URLs to ``setup.py``
* Fix import in ``nbformat.current``
* Add ``mypy`` and typings support
* Improve CI
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2022/04/07 07:01:44 adam Exp $
d3 1
a3 1
DISTNAME=	nbformat-5.4.0
d13 2
d18 1
a18 1
DEPENDS+=	${PYPKGPREFIX}-traitlets>=4.1:../../devel/py-traitlets
a26 2
USE_PKG_RESOURCES=	yes

d34 1
a34 1
.include "../../lang/python/egg.mk"
@


1.13
log
@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
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2022/01/05 15:41:30 wiz Exp $
d3 1
a3 1
DISTNAME=	nbformat-5.3.0
@


1.12
log
@python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2022/01/04 20:55:32 wiz Exp $
d3 1
a3 1
DISTNAME=	nbformat-5.1.3
a4 1
PKGREVISION=	3
d13 1
a13 1
DEPENDS+=	${PYPKGPREFIX}-ipython_genutils-[0-9]*:../../devel/py-ipython_genutils
d15 1
a15 1
DEPENDS+=	${PYPKGPREFIX}-jsonschema>=2.5.1:../../textproc/py-jsonschema
d28 2
a29 1
	cd ${DESTDIR}${PREFIX}/bin && mv jupyter-trust jupyter-trust-${PYVERSSUFFIX} || ${TRUE}
@


1.11
log
@*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2022/01/02 00:14:29 wiz Exp $
d5 1
a5 1
PKGREVISION=	2
d26 2
@


1.10
log
@py-nbformat: convert to egg.mk

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2021/12/30 13:05:41 adam Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.9
log
@Forget about Python 3.6
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2021/06/29 08:34:18 nia Exp $
d5 1
d26 3
d32 1
a32 1
.include "../../lang/python/distutils.mk"
@


1.8
log
@py-traitlets: doesn't support Python 3.6 in version 5
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2021/06/10 18:57:58 adam Exp $
d23 1
a23 1
PYTHON_VERSIONS_INCOMPATIBLE=	27 36
@


1.7
log
@py-nbformat: updated to 5.1.3

5.1.3
=====
- Change id generation to be hash based to avoid problematic word combinations
- Added tests for python 3.9
- Fixed setup.py build operations to include package data

5.1.2
=====
- Fixed missing file in manifest

5.1.1
=====
- Changes convert.upgrade to upgrade minor 4.x versions to 4.5

5.1.0
=====
- Implemented CellIds from JEP-62
- Fixed a regression introduced when using fastjsonschema,
  which does not directly support to validate a "reference"/"subschema"
- Removed unreachable/unneeded code
- Added CI workflow for package release on tag push
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2020/10/15 13:49:22 adam Exp $
d23 1
a23 1
PYTHON_VERSIONS_INCOMPATIBLE=	27
@


1.6
log
@py-nbformat: updated to 5.0.8

5.0.8
- Add optional support for using `fastjsonschema` as the JSON validation library.
  To enable fast validation, install `fastjsonschema` and set the environment
  variable `NBFORMAT_VALIDATOR` to the value `fastjsonschema`.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2020/07/21 07:55:57 adam Exp $
d3 1
a3 1
DISTNAME=	nbformat-5.0.8
d26 1
a26 1
	cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
@


1.5
log
@py-nbformat: updated to 5.0.7

5.0.7
- Fixed a bug where default values for validator.get_validator() failed with an import error
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2020/05/17 20:26:52 adam Exp $
d3 1
a3 1
DISTNAME=	nbformat-5.0.7
@


1.4
log
@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
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2019/07/22 08:42:50 nia Exp $
d3 1
a3 1
DISTNAME=	nbformat-5.0.6
@


1.3
log
@Use https for jupyter.org.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2017/10/17 18:30:02 adam Exp $
d3 1
a3 1
DISTNAME=	nbformat-4.4.0
d15 1
a15 1
DEPENDS+=	${PYPKGPREFIX}-jsonschema>=2.4:../../textproc/py-jsonschema
d17 3
a19 3
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
d23 1
a23 2
post-install:
	cd ${DESTDIR}${PREFIX}/bin && ${MV} jupyter-trust jupyter-trust${PYVERSSUFFIX} || ${TRUE}
d26 1
a26 1
	cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
@


1.2
log
@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()`.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2017/04/23 05:00:06 markd Exp $
d9 1
a9 1
HOMEPAGE=	http://jupyter.org/
@


1.1
log
@Add py-nbformat 4.3.0

This package contains the base implementation of the Jupyter Notebook format,
and Python APIs for working with notebooks.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2016/06/09 02:06:18 markd Exp $
d3 1
a3 1
DISTNAME=	nbformat-4.3.0
d5 1
a5 1
CATEGORIES=	www
d9 1
a9 1
HOMEPAGE=	http://jupyter.org
d15 5
a19 2
DEPENDS+=	${PYPKGPREFIX}-jsonschema-[0-9]*:../../textproc/py-jsonschema
DEPENDS+=	${PYPKGPREFIX}-traitlets>=4.2.1:../../devel/py-traitlets
d24 4
a27 1
	${MV} ${DESTDIR}${PREFIX}/bin/jupyter-trust ${DESTDIR}${PREFIX}/bin/jupyter-trust${PYVERSSUFFIX}
a29 1
.include "../../lang/python/application.mk"
@

