From nobody Tue Mar 21 19:27:29 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 4Ph1pD4vfsz40hf5; Tue, 21 Mar 2023 19:27:32 +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 4Ph1pD2JJfz4MP5; Tue, 21 Mar 2023 19:27:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679426852; 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=fwHck0gh06gajOAdAZ56XA1TYyLs4qRKutATvoR+gq0=; b=uvKJtW03LDmkpd1IaRWsfwMKdm5UkJxfFvXp6/YiHJ/f47k3fc/4JClIISrGK2OimTbn7g v0hSbZGBKJ4Ym7ksgJfgDE7fOCkwJP5+lPD9AbFlxTk1DuVg7qLR/kib3sC/77c84UnZy4 Km9a/uDatJPpe8wfGLs4Z3bqVdmOeIx2SbWDB4mUjUmlOlZUVhmJ56OkmDs0W/MV3d4lXU t9AjQz5EpPL2RYG6gMGe49uermKyQV7BW58h5p+siWM9qqm5yyIVOK9WX2t6js55/ZfiQL JN9/b9TduckKyY0jO78P9F5knLYmx0RKxIlViVYj1R9Oni7ouuqfZfwdauwsmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679426852; 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=fwHck0gh06gajOAdAZ56XA1TYyLs4qRKutATvoR+gq0=; b=jp1skPHL9EoPQodE+e7DDCGuh+FN3kZvPq2WSolIlvSgi/OHoPEnl8C7UGlPZeSqAuR/qN xGaolsK9l1FAcpxbPBrCGXNf3nyDuNHcypPn6PhRQYvrN8IPe9FCTyR8socUbFMoKefXYS u+Lc7N2N8ggORxGb0fs5L97/DuMoTO5YVwQ6RyCwaWcG6fgZmxTZpnfyHFq36JehKjHPuH tBIMmQeHRB1Bjx0f7rumgprPiOCvIRleO1tOvmorrVBBG7MrtISxxzG0A9JpHooqueouVv XeePnITn9mgC0k8qP421QpgKC3VzbXkjHAEeGLPaxyMPiD4Np97uEuBZi946SA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679426852; a=rsa-sha256; cv=none; b=GQFUx5Ileb9qrqGqUbPLSHiiUsdNp47kUCgSofBiIhQo8HbP1jn+k1zFU7l4UCkN1qPUFt 2B4HkEaYWP7SDFiNunGrAHKDsiAu7xsXUX8B2WlQ2T6WRO0m3wUuM3f9t9ALwp4DsPEIds oHFUgj4DgmUNUe988eM21qSS9vssN99S0s8BFPQqHnB+Y64YRjfP/gPOBDGI40aF23/kAA KGkJMYVy3wJxIpKnZJ9ELXPXzkZJqziTjYXfrnXLTXxHVFEepDQzFNaS/1yb8UkRFNdPk4 bqDN/3ChZtjrW5lEY3y3mE3LZRSxdgdL6LHIyr8yN6DRyeu1n8QXrbrObua7hw== 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 4Ph1pB1Y9BzPYG; Tue, 21 Mar 2023 19:27:30 +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 32LJRUIU031018; Tue, 21 Mar 2023 19:27:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32LJRTsl031017; Tue, 21 Mar 2023 19:27:29 GMT (envelope-from git) Date: Tue, 21 Mar 2023 19:27:29 GMT Message-Id: <202303211927.32LJRTsl031017@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: 3daf9238af0a - main - devel/py-ipykernel: 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: 3daf9238af0a06737482afbec0a6f2985fd3d194 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=3daf9238af0a06737482afbec0a6f2985fd3d194 commit 3daf9238af0a06737482afbec0a6f2985fd3d194 Author: Po-Chuan Hsieh AuthorDate: 2023-03-21 18:44:07 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-03-21 19:20:42 +0000 devel/py-ipykernel: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for dependency and package change --- devel/py-ipykernel/Makefile | 8 ++--- devel/py-ipykernel/files/setup.py | 75 --------------------------------------- 2 files changed, 4 insertions(+), 79 deletions(-) diff --git a/devel/py-ipykernel/Makefile b/devel/py-ipykernel/Makefile index 726878b53c68..846a6b4e6994 100644 --- a/devel/py-ipykernel/Makefile +++ b/devel/py-ipykernel/Makefile @@ -1,5 +1,6 @@ PORTNAME= ipykernel PORTVERSION= 6.20.2 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,6 +12,8 @@ WWW= https://ipython.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING.md +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.4:devel/py-hatchling@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}jupyter-client>=6:devel/py-jupyter-client@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}comm>=0.1.1:devel/py-comm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}debugpy>=1.0:devel/py-debugpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ipython>=7.23.1:devel/ipython@${PY_FLAVOR} \ @@ -24,11 +27,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}comm>=0.1.1:devel/py-comm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}traitlets>=5.4.0:devel/py-traitlets@${PY_FLAVOR} USES= python:3.8+ -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-ipykernel/files/setup.py b/devel/py-ipykernel/files/setup.py deleted file mode 100644 index d38309a685be..000000000000 --- a/devel/py-ipykernel/files/setup.py +++ /dev/null @@ -1,75 +0,0 @@ -# -*- coding: utf-8 -*- -from setuptools import setup - -setup( - name='ipykernel', - version='%%PORTVERSION%%', - description='IPython Kernel for Jupyter', - long_description='# IPython Kernel for Jupyter\n\nThis package provides the IPython kernel for Jupyter.\n\n## Installation from source\n\n1. `git clone`\n2. `cd ipykernel`\n3. `pip install -e ".[test]"`\n\nAfter that, all normal `ipython` commands will use this newly-installed version of the kernel.\n\n## Running tests\n\nFollow the instructions from `Installation from source`.\n\nand then from the root directory\n\n```bash\npytest ipykernel\n```\n\n## Running tests with coverage\n\nFollow the instructions from `Installation from source`.\n\nand then from the root directory\n\n```bash\npytest ipykernel -vv -s --cov ipykernel --cov-branch --cov-report term-missing:skip-covered --durations 10\n```\n', - author_email='IPython 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.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - ], - install_requires=[ - 'appnope; platform_system == "Darwin"', - 'comm>=0.1.1', - 'debugpy>=1.0', - 'ipython>=7.23.1', - 'jupyter-client>=6.1.12', - 'matplotlib-inline>=0.1', - 'nest-asyncio', - 'packaging', - 'psutil', - 'pyzmq>=17', - 'tornado>=6.1', - 'traitlets>=5.4.0', - ], - extras_require={ - 'doc': [ - 'myst_parser', - 'pydata_sphinx_theme', - 'sphinx', - 'sphinxcontrib_github_alt', - 'sphinxcontrib-spelling', - 'sphinx-autodoc-typehints', - 'trio', - ], - 'test': [ - 'flaky', - 'ipyparallel', - 'pre-commit', - 'pytest-cov', - 'pytest-asyncio', - 'pytest-timeout', - 'pytest>=7.0', - ], - 'cov': [ - 'coverage[toml]', - 'pytest-cov', - 'matplotlib', - 'curio', - 'trio', - ], - 'pyqt5': ['pyqt5'], - 'pyside6': ['pyside6'], - }, - py_modules=['ipykernel_launcher'], - packages=[ - 'ipykernel', - 'ipykernel.comm', - 'ipykernel.gui', - 'ipykernel.inprocess', - 'ipykernel.inprocess.tests', - 'ipykernel.pylab', - 'ipykernel.tests', - ], -)