diff --git a/devel/py-ipykernel/Makefile b/devel/py-ipykernel/Makefile index 422839a6350a..3fb54edb9972 100644 --- a/devel/py-ipykernel/Makefile +++ b/devel/py-ipykernel/Makefile @@ -1,33 +1,34 @@ PORTNAME= ipykernel PORTVERSION= 6.16.0 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= IPython Kernel for Jupyter WWW= https://ipython.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING.md RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}debugpy>=1.0:devel/py-debugpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ipython>=7.23.1:devel/ipython@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jupyter-client>=6.1.12:devel/py-jupyter-client@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib-inline>=0.1:math/py-matplotlib-inline@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nest-asyncio>=0:devel/py-nest-asyncio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyzmq>=17:net/py-pyzmq@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tornado>=6.1:www/py-tornado@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}traitlets>=5.1.0: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-ipykernel/files/setup.py b/devel/py-ipykernel/files/setup.py index d38ee095c6b3..250d4fabc6e9 100644 --- a/devel/py-ipykernel/files/setup.py +++ b/devel/py-ipykernel/files/setup.py @@ -1,54 +1,55 @@ # -*- 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.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', ], install_requires=[ 'appnope; platform_system == "Darwin"', '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.1.0', ], extras_require={ 'test': [ 'flaky', 'ipyparallel', 'pre-commit', 'pytest-cov', 'pytest-timeout', 'pytest>=6.0', ], }, + py_modules=['ipykernel_launcher'], packages=[ 'ipykernel', 'ipykernel.comm', 'ipykernel.gui', 'ipykernel.inprocess', 'ipykernel.inprocess.tests', 'ipykernel.pylab', 'ipykernel.tests', ], )