git: 75a5fd317dd7 - main - devel/py-nbclient: Update to 0.7.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 30 Jan 2023 13:09:12 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=75a5fd317dd7ef721521a3871d8b9ab2dc8aa382
commit 75a5fd317dd7ef721521a3871d8b9ab2dc8aa382
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:31:38 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 12:59:52 +0000
devel/py-nbclient: Update to 0.7.2
Changes: https://github.com/jupyter/nbclient/releases
---
devel/py-nbclient/Makefile | 13 +++++----
devel/py-nbclient/distinfo | 6 ++--
devel/py-nbclient/files/setup.py | 63 ++++++++++++++++++++++++++++++++++++++++
3 files changed, 74 insertions(+), 8 deletions(-)
diff --git a/devel/py-nbclient/Makefile b/devel/py-nbclient/Makefile
index e1a09a6f6ee4..387cb5b9edd4 100644
--- a/devel/py-nbclient/Makefile
+++ b/devel/py-nbclient/Makefile
@@ -1,5 +1,5 @@
PORTNAME= nbclient
-PORTVERSION= 0.7.0
+PORTVERSION= 0.7.2
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,14 +11,17 @@ WWW= https://github.com/jupyter/nbclient
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jupyter-client>=6.1.5:devel/py-jupyter-client@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}nbformat>=5.0:devel/py-nbformat@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}nest-asyncio>=0:devel/py-nest-asyncio@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}traitlets>=5.0.0:devel/py-traitlets@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jupyter-client>=6.1.12:devel/py-jupyter-client@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}jupyter-core>=4.12:devel/py-jupyter-core@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}nbformat>=5.1:devel/py-nbformat@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}traitlets>=5.3:devel/py-traitlets@${PY_FLAVOR}
USES= python:3.7+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
+post-patch:
+ @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py
+
.include <bsd.port.mk>
diff --git a/devel/py-nbclient/distinfo b/devel/py-nbclient/distinfo
index 9ac7c56258fa..8c559fb07e6d 100644
--- a/devel/py-nbclient/distinfo
+++ b/devel/py-nbclient/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1665330634
-SHA256 (nbclient-0.7.0.tar.gz) = a1d844efd6da9bc39d2209bf996dbd8e07bf0f36b796edfabaa8f8a9ab77c3aa
-SIZE (nbclient-0.7.0.tar.gz) = 79032
+TIMESTAMP = 1674589832
+SHA256 (nbclient-0.7.2.tar.gz) = 884a3f4a8c4fc24bb9302f263e0af47d97f0d01fe11ba714171b320c8ac09547
+SIZE (nbclient-0.7.2.tar.gz) = 59103
diff --git a/devel/py-nbclient/files/setup.py b/devel/py-nbclient/files/setup.py
new file mode 100644
index 000000000000..deeffe0ed6d0
--- /dev/null
+++ b/devel/py-nbclient/files/setup.py
@@ -0,0 +1,63 @@
+# -*- coding: utf-8 -*-
+from setuptools import setup
+
+setup(
+ name='nbclient',
+ version='%%PORTVERSION%%',
+ description="A client library for executing notebooks. Formerly nbconvert's ExecutePreprocessor.",
+ long_description="[](https://mybinder.org/v2/gh/jupyter/nbclient/main?filepath=binder%2Frun_nbclient.ipynb)\n[](https://github.com/jupyter/nbclient/actions)\n[](https://nbclient.readthedocs.io/en/latest/?badge=latest)\n[](https://codecov.io/github/jupyter/nbclient?branch=main)\n[](https://www.python.org/downloads/release/python-370/)\n[](https://www.python.org/downloads/release/python-380/)\n[](https://www.python.org/downloads/release/python-390/)\n[](https://www.python.org/downloads/release/python-3100/)\n[](https://www.python.org/downloads/release/python-3110/)\n[](https://github.com/ambv/black)\n\n# nbclient\n\n**NBClient** lets you **execute** notebooks.\n\nA client library for programmatic notebook execution, **NBClient** is a tool for running Jupyter Notebooks in\ndifferent execution contexts, including the command line.\n\n## Interactive Demo\n\nTo demo **NBClient** interactively, click this Binder badge to start the demo:\n\n[](https://mybinder.org/v2/gh/jupyter/nbclient/main?filepath=binder%2Frun_nbclient.ipynb)\n\n## Installation\n\nIn a terminal, run:\n\n```\npython3 -m pip install nbclient\n```\n\n## Documentation\n\nSee [ReadTheDocs](https://nbclient.readthedocs.io/en/latest/) for more in-depth details about the project and th
e\n[API Reference](https://nbclient.readthed!
ocs.io/en/latest/reference/index.html).\n\n## Python Version Support\n\nThis library currently supports Python 3.6+ versions. As minor Python\nversions are officially sunset by the Python org, nbclient will similarly\ndrop support in the future.\n\n## Origins\n\nThis library used to be part of the [nbconvert](https://nbconvert.readthedocs.io/en/latest/) project. NBClient extracted nbconvert's `ExecutePreprocessor`into its own library for easier updating and importing by downstream libraries and applications.\n\n## Relationship to JupyterClient\n\nNBClient and JupyterClient are distinct projects.\n\n`jupyter_client` is a client library for the jupyter protocol. Specifically, `jupyter_client` provides the Python API\nfor starting, managing and communicating with Jupyter kernels.\n\nWhile, nbclient allows notebooks to be run in different execution contexts.\n",
+ 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',
+ 'Programming Language :: Python :: 3.11',
+ ],
+ install_requires=[
+ 'jupyter-client>=6.1.12',
+ 'jupyter-core!=5.0.*,>=4.12',
+ 'nbformat>=5.1',
+ 'traitlets>=5.3',
+ ],
+ extras_require={
+ 'dev': [
+ 'pre-commit',
+ ],
+ 'docs': [
+ 'autodoc-traits',
+ 'mock',
+ 'moto',
+ 'myst-parser',
+ 'nbclient[test]',
+ 'sphinx-book-theme',
+ 'sphinx>=1.7',
+ ],
+ 'test': [
+ 'ipykernel',
+ 'ipython',
+ 'ipywidgets',
+ 'nbconvert>=7.0.0',
+ 'pytest-asyncio',
+ 'pytest-cov>=4.0',
+ 'pytest>=7.0',
+ 'testpath',
+ 'xmltodict',
+ ],
+ },
+ entry_points={
+ 'console_scripts': [
+ 'jupyter-execute = nbclient.cli:main',
+ ],
+ },
+ packages=[
+ 'nbclient',
+ 'nbclient.tests',
+ ],
+)