From nobody Mon Jan 30 13:09:12 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P57mn1J5dz3cZ7T; Mon, 30 Jan 2023 13:09:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P57mm637Sz3QVl; Mon, 30 Jan 2023 13:09:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675084152; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=eOM2pBwK0unnPuVSK6uvty+i1zEVIjbpJbXYnXGPoxA=; b=T2fG31ScJ7rHeokarkoCXDN/2KQqbDZEao1xanHhY4NuC4tZ1EvWzoFKr/FnQptkPOTUF+ H+HzAijg2XYlJeis8YYxXqtHADpXOIThW52MTO7RxA7IEUIk184orexgZxYXEHD2SIfoIm akEbbEwYre2dYHT7yQhn8mJZI6rTfO01bR5ycFJ9tMrsDj+bapBXjyTgA5Qygsgqa7tsmc i0KRNFMZZbl/J/o+dfgVXrV8K7oR9ZABPm+LJ37Nwfm27Ngk4/eRgHeJVKCkSxxuO7BLSM 37yQtx/8OSP1YoAOP8PMbijw5DIbC9gKyWsFx9MnwVqEfurlm02es5/KU7Xv4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675084152; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=eOM2pBwK0unnPuVSK6uvty+i1zEVIjbpJbXYnXGPoxA=; b=TCDC1iNw4XnE0MnPRqUk19wgZCVPh1ivJWtihOZbZQmWT8gOjsvwDi063Bd9O9yhWB9BTJ vktLttvCE+e6Yx1zMlQEfTsYsRALfFfF5PG6xWeh4oUIS0LLJSXNkle+4/oM1wcwLbuzlR np/bSzsoPI4elnPiFkzBA1gdVcW7JFfjZGiM8qKEw+iq+cWIFgiodYVZXenSolcagtdA77 ifdr54tBGBiWKC2LG7jLj4G41Y0MGvYUl+JZ6ALtI7IJ45g2st79XXCDedwhZ+9VY+qjUw 0CjPLBpjMCnPw+a3tASlHUoZ64cEaNrRLDvfM8rWXBJS125q4RYW3KfuXof/FA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675084152; a=rsa-sha256; cv=none; b=wWYX8JoyMWi+cJdJFMuFQHoKh3voiDOYz8LXd+oK8v8ckFguajyL78foJgvXcisnhzQj7v 28QaPvLVs7eurzlNjfm9+KQX2fXl+qiuaU4Q4VH320Fsqb6iA1cRuATb8LkEEL58Juw37/ YnvZnOi6T/inZBCd8bNtsbaDS70+D13Qb7zw3Y3aFVYAN9jPVIyDhKZcqToCzYm92B3GtK tV0I9HTDkhl21YttG2dn0kv3VnRegKrEmoS6xSsWooXZouFQTCS2v1pg9Y0U+2Y3zqnrxh g3b7wU+EvsgFik1b1ttPejJOjcyXPnjGckWTJ0gWPdYikwctyEHxZDvoNQGf4Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P57mm58zXz18K9; Mon, 30 Jan 2023 13:09:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30UD9C2P057448; Mon, 30 Jan 2023 13:09:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30UD9CYT057447; Mon, 30 Jan 2023 13:09:12 GMT (envelope-from git) Date: Mon, 30 Jan 2023 13:09:12 GMT Message-Id: <202301301309.30UD9CYT057447@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 75a5fd317dd7 - main - devel/py-nbclient: Update to 0.7.2 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 75a5fd317dd7ef721521a3871d8b9ab2dc8aa382 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=75a5fd317dd7ef721521a3871d8b9ab2dc8aa382 commit 75a5fd317dd7ef721521a3871d8b9ab2dc8aa382 Author: Po-Chuan Hsieh AuthorDate: 2023-01-30 12:31:38 +0000 Commit: Po-Chuan Hsieh 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 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="[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/jupyter/nbclient/main?filepath=binder%2Frun_nbclient.ipynb)\n[![Build Status](https://github.com/jupyter/nbclient/workflows/CI/badge.svg)](https://github.com/jupyter/nbclient/actions)\n[![Documentation Status](https://readthedocs.org/projects/nbclient/badge/?version=latest)](https://nbclient.readthedocs.io/en/latest/?badge=latest)\n[![image](https://codecov.io/github/jupyter/nbclient/coverage.svg?branch=main)](https://codecov.io/github/jupyter/nbclient?branch=main)\n[![Python 3.7](https://img.shields.io/badge/python-3.7-blue.svg)](https://www.python.org/downloads/release/python-370/)\n[![Python 3.8](https://img.shields.io/badge/python-3.8-blue.svg)](https://www.python.org/downloads/release/python-380/)\n[![Python 3.9](https://img.shields.io/badge/python-3.9-blue.svg)](https://www.python.org/downloads/release/python-390/)\n[![Python 3.10](https://img.shields.io/badge/python-3.10-blue.svg )](https://www.python.org/downloads/release/python-3100/)\n[![Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg)](https://www.python.org/downloads/release/python-3110/)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](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[![Binder](https://mybinder.org/badge_logo.svg)](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 ', + 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', + ], +)