devel/py-nbformat: Update to 5.6.1

Changes:	https://github.com/jupyter/nbformat/blob/main/docs/changelog.rst
This commit is contained in:
Po-Chuan Hsieh 2022-10-04 01:07:53 +08:00
parent 81b14d8b9b
commit 77d8b715a3
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
3 changed files with 67 additions and 44 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= nbformat
PORTVERSION= 5.5.0
PORTVERSION= 5.6.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -24,7 +24,13 @@ USE_PYTHON= autoplist concurrent distutils pytest
NO_ARCH= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 30800
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=3.6:devel/py-importlib-metadata@${PY_FLAVOR}
.endif
post-patch:
@${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1663673074
SHA256 (nbformat-5.5.0.tar.gz) = 9ebe30e6c3b3e5b47d39ff0a3897a1acf523d2bfafcb4e2d04cdb70f8a66c507
SIZE (nbformat-5.5.0.tar.gz) = 141188
TIMESTAMP = 1664768204
SHA256 (nbformat-5.6.1.tar.gz) = 146b5b9969391387c2089256359f5da7c718b1d8a88ba814320273ea410e646e
SIZE (nbformat-5.6.1.tar.gz) = 136804

View file

@ -1,40 +1,57 @@
#!/usr/bin/env python
# setup.py generated by flit for tools that don't yet use PEP 517
# -*- coding: utf-8 -*-
from setuptools import setup
from distutils.core import setup
packages = \
['nbformat',
'nbformat.corpus',
'nbformat.corpus.tests',
'nbformat.v1',
'nbformat.v2',
'nbformat.v3',
'nbformat.v4']
package_data = \
{'': ['*']}
install_requires = \
['fastjsonschema', 'jsonschema>=2.6', 'jupyter_core', 'traitlets>=5.1']
extras_require = \
{'test': ['check-manifest', 'testpath', 'pytest', 'pre-commit', 'pep440']}
entry_points = \
{'console_scripts': ['jupyter-trust = '
'nbformat.sign:TrustNotebookApp.launch_instance']}
setup(name='nbformat',
version='%%PORTVERSION%%',
description='The Jupyter Notebook format',
author=None,
author_email='Jupyter Development Team <jupyter@googlegroups.com>',
url=None,
packages=packages,
package_data=package_data,
install_requires=install_requires,
extras_require=extras_require,
entry_points=entry_points,
python_requires='>=3.7',
)
setup(
name='nbformat',
version='%%PORTVERSION%%',
description='The Jupyter Notebook format',
long_description='This package contains the base implementation of the Jupyter Notebook format,\nand Python APIs for working with notebooks.',
author_email='Jupyter Development Team <jupyter@googlegroups.com>',
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
install_requires=[
'fastjsonschema',
'importlib-metadata>=3.6; python_version < "3.8"',
'jsonschema>=2.6',
'jupyter-core',
'traitlets>=5.1',
],
extras_require={
'test': [
'check-manifest',
'pep440',
'pre-commit',
'pytest',
'testpath',
],
},
entry_points={
'console_scripts': [
'jupyter-trust = nbformat.sign:TrustNotebookApp.launch_instance',
],
},
packages=[
'nbformat',
'nbformat.corpus',
'nbformat.corpus.tests',
'nbformat.v1',
'nbformat.v2',
'nbformat.v3',
'nbformat.v4',
'tests',
'tests.v1',
'tests.v2',
'tests.v3',
'tests.v4',
],
)