From nobody Tue Mar 21 19:27:52 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 4Ph1pc4PS4z40hp6; Tue, 21 Mar 2023 19:27:52 +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 4Ph1pc3GXbz4NYw; Tue, 21 Mar 2023 19:27:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679426872; 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=Y4ALSWoax0i35IPV4wXe1CL9xht0LosGEfXANdNmusM=; b=VCytlBoaKGr6z4wmmDtk/9r6rAZQHaM7grOvpA0LP3ccABjk0qZdahtM39uHGZmVLJjb+I +gGDs/59lMfwIQ4Imi3PPFEijlnmJsg5CK4l3jcsitOK0e4xDkEeouoNMidLLsx4a9wxvO z2HhhBjtNxDtRD42Whfi93G8StpwbVI/diowTw+ZTXwPiiDrRwsOqdKzZ2hTylxPYWu6PD EiMbpmYKgUbwG0dkNtrTH38nhuI3vS9XCgpJPc+FEUZt0FeTu4Czi0jf4inLC9sg2Bb+l9 BW98uUNrYMyZhzTgAJLLPI1bpebygNwe/yqdqb2aSx2Ic9ytTfy8wM9yOaGHsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679426872; 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=Y4ALSWoax0i35IPV4wXe1CL9xht0LosGEfXANdNmusM=; b=QmeDXTAvgJXbNxZWBS9mzMNfj1b6CkLJtWt7RtWq2iB0KEACEQcSz4T3AK/kQA0ZypMcqm oi9qm5jgJhgQPTco4vbvZE5a76p/XphkLo5SBL5jhCxPt7ntgDcDaqdE3rF05RYunKfo8y sKBHYREM1GhFXGz6WKf+s/NLPsfhN8CLS+bGdOMUhwNR1xd9HQYwJCivtxORIAxEPeYUfW ucM1++B5JHILyVG+lR12QSBCryL5Tqsb2+ryYOsNSFpnIb7Z57nb3yvt8emWHbtk+nHy2m IFFQ0necJ6rVnUbxNnz8Y6G5VPdvrw49afw7X3IQhSnFGwOHl3QpKo4dxQnWOQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679426872; a=rsa-sha256; cv=none; b=vW8IohK0Yp29Dx3Ctu6J1r2ODPMVhokR7Llfd/jHwgqS3D6wEp3ibiWl8c7jWmwubIm9kF qIelWm2hzoKrFL9ByQoUvrNkdxs3OwFQPoCdScytRmyMARN0+PA/zZZKCbEIkmsYoVZtc0 92u5mSWXaTCCXXk8YT/0nr2hCbdzYHbtcA81k8KTDGPjFhtkvAnPqVVbcN6TTG/F5ugwT1 WyH7273rpzmQLHg3NHygeI22U6vl8Uvk1gliejL1LmogKNzmUGJtSI2okL6HwallUrZTQD Spgv1UAFyhnppk7IOfMOcw2uqu9uVQnI3QvFNLREPEx8JO2O2+wXEvOb88951w== 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 4Ph1pc2LMnzPdY; Tue, 21 Mar 2023 19:27:52 +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 32LJRq2X031423; Tue, 21 Mar 2023 19:27:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32LJRqH0031422; Tue, 21 Mar 2023 19:27:52 GMT (envelope-from git) Date: Tue, 21 Mar 2023 19:27:52 GMT Message-Id: <202303211927.32LJRqH0031422@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: 32a753382c6a - main - devel/py-nbclient: Convert to USE_PYTHON=pep517 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: 32a753382c6ae01cf81f9a72a40889a2d52d1f78 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=32a753382c6ae01cf81f9a72a40889a2d52d1f78 commit 32a753382c6ae01cf81f9a72a40889a2d52d1f78 Author: Po-Chuan Hsieh AuthorDate: 2023-03-21 18:44:28 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-03-21 19:20:47 +0000 devel/py-nbclient: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for dependency and package change --- devel/py-nbclient/Makefile | 7 ++--- devel/py-nbclient/files/setup.py | 63 ---------------------------------------- 2 files changed, 3 insertions(+), 67 deletions(-) diff --git a/devel/py-nbclient/Makefile b/devel/py-nbclient/Makefile index 387cb5b9edd4..d28b24febff9 100644 --- a/devel/py-nbclient/Makefile +++ b/devel/py-nbclient/Makefile @@ -1,5 +1,6 @@ PORTNAME= nbclient PORTVERSION= 0.7.2 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,17 +12,15 @@ WWW= https://github.com/jupyter/nbclient LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.10.0:devel/py-hatchling@${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 +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -post-patch: - @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py - .include diff --git a/devel/py-nbclient/files/setup.py b/devel/py-nbclient/files/setup.py deleted file mode 100644 index deeffe0ed6d0..000000000000 --- a/devel/py-nbclient/files/setup.py +++ /dev/null @@ -1,63 +0,0 @@ -# -*- 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', - ], -)