Skip to content

Commit

Permalink
devel/py-nbformat: Update to 5.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Oct 3, 2022
1 parent 81b14d8 commit 77d8b71
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 44 deletions.
10 changes: 8 additions & 2 deletions devel/py-nbformat/Makefile
@@ -1,5 +1,5 @@
PORTNAME= nbformat
PORTVERSION= 5.5.0
PORTVERSION= 5.6.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -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>
6 changes: 3 additions & 3 deletions devel/py-nbformat/distinfo
@@ -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
95 changes: 56 additions & 39 deletions devel/py-nbformat/files/setup.py
@@ -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',
],
)

0 comments on commit 77d8b71

Please sign in to comment.