git: 4527c2040c35 - main - devel/py-jupyter-core: Update to 4.11.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 07 Jul 2022 22:24:56 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=4527c2040c3544b0dca16833acd0b5741315c4cf commit 4527c2040c3544b0dca16833acd0b5741315c4cf Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-07-07 22:24:09 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-07-07 22:24:09 +0000 devel/py-jupyter-core: Update to 4.11.0 Changes: https://github.com/jupyter/jupyter_core/blob/main/docs/changelog.rst --- devel/py-jupyter-core/Makefile | 8 +++++-- devel/py-jupyter-core/distinfo | 6 ++--- devel/py-jupyter-core/files/setup.py | 44 ++++++++++++++++++++++++++++++++++++ 3 files changed, 53 insertions(+), 5 deletions(-) diff --git a/devel/py-jupyter-core/Makefile b/devel/py-jupyter-core/Makefile index 21fca7e9d25d..d9d0f55f0bb7 100644 --- a/devel/py-jupyter-core/Makefile +++ b/devel/py-jupyter-core/Makefile @@ -1,5 +1,5 @@ PORTNAME= jupyter-core -PORTVERSION= 4.10.0 +PORTVERSION= 4.11.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,7 +12,7 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING.md RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}traitlets>=0:devel/py-traitlets@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipython>=0:devel/ipython@${PY_FLAVOR} \ +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipykernel>=0:devel/py-ipykernel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pre-commit>=0:devel/py-pre-commit@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-timeout>=0:devel/py-pytest-timeout@${PY_FLAVOR} @@ -22,4 +22,8 @@ USE_PYTHON= autoplist concurrent distutils pytest NO_ARCH= yes +post-patch: + @${RM} ${WRKSRC}/pyproject.toml + @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py + .include <bsd.port.mk> diff --git a/devel/py-jupyter-core/distinfo b/devel/py-jupyter-core/distinfo index e1c56e7641da..8b11268e5d0b 100644 --- a/devel/py-jupyter-core/distinfo +++ b/devel/py-jupyter-core/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1650970325 -SHA256 (jupyter_core-4.10.0.tar.gz) = a6de44b16b7b31d7271130c71a6792c4040f077011961138afed5e5e73181aec -SIZE (jupyter_core-4.10.0.tar.gz) = 76535 +TIMESTAMP = 1657230938 +SHA256 (jupyter_core-4.11.0.tar.gz) = 7cf01bed6579e83241b655c76910f5d608c4b1265dbffc0ffd4df3244628e31e +SIZE (jupyter_core-4.11.0.tar.gz) = 73671 diff --git a/devel/py-jupyter-core/files/setup.py b/devel/py-jupyter-core/files/setup.py new file mode 100644 index 000000000000..399a779af641 --- /dev/null +++ b/devel/py-jupyter-core/files/setup.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +from setuptools import setup + +setup( + name='jupyter-core', + version='%%PORTVERSION%%', + description='Jupyter core package. A base package on which Jupyter projects rely.', + long_description='There is no reason to install this package on its own.', + author_email='Jupyter Development Team <jupyter@googlegroups.org>', + classifiers=[ + 'Framework :: Jupyter', + 'Intended Audience :: Developers', + 'Intended Audience :: Science/Research', + 'Intended Audience :: System Administrators', + 'License :: OSI Approved :: BSD License', + 'Programming Language :: Python', + 'Programming Language :: Python :: 3', + ], + install_requires=[ + 'pywin32>=1.0; sys_platform == "win32" and platform_python_implementation != "PyPy"', + 'traitlets', + ], + extras_require={ + 'test': [ + 'ipykernel', + 'pre-commit', + 'pytest', + 'pytest-cov', + 'pytest-timeout', + ], + }, + entry_points={ + 'console_scripts': [ + 'jupyter = jupyter_core.command:main', + 'jupyter-migrate = jupyter_core.migrate:main', + 'jupyter-troubleshoot = jupyter_core.troubleshoot:main', + ], + }, + packages=[ + 'jupyter_core', + 'jupyter_core.tests', + 'jupyter_core.utils', + ], +)