git: 72d29b43bf92 - main - devel/py-jupyter-core: Update to 5.3.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 May 2023 04:30:32 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=72d29b43bf92271e0da7aaa12153acdc2b0985dd commit 72d29b43bf92271e0da7aaa12153acdc2b0985dd Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-05-27 04:13:34 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-05-27 04:24:02 +0000 devel/py-jupyter-core: Update to 5.3.0 - Update LICENSE_FILE - Convert to USE_PYTHON=pep517 Changes: https://github.com/jupyter/jupyter_core/releases --- devel/py-jupyter-core/Makefile | 16 ++++++------- devel/py-jupyter-core/distinfo | 6 ++--- devel/py-jupyter-core/files/setup.py | 44 ------------------------------------ 3 files changed, 11 insertions(+), 55 deletions(-) diff --git a/devel/py-jupyter-core/Makefile b/devel/py-jupyter-core/Makefile index 5e02b3ef7d1e..d7d269a67f65 100644 --- a/devel/py-jupyter-core/Makefile +++ b/devel/py-jupyter-core/Makefile @@ -1,5 +1,5 @@ PORTNAME= jupyter-core -PORTVERSION= 4.12.0 +PORTVERSION= 5.3.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,21 +10,21 @@ COMMENT= Jupyter core package WWW= https://jupyter.org/ LICENSE= BSD3CLAUSE -LICENSE_FILE= ${WRKSRC}/COPYING.md +LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}traitlets>=0:devel/py-traitlets@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.4:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}platformdirs>=2.5:devel/py-platformdirs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}traitlets>=5.3:devel/py-traitlets@${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} -USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils pytest +USES= python:3.7+ shebangfix +USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes -post-patch: - @${RM} ${WRKSRC}/pyproject.toml - @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py +SHEBANG_FILES= jupyter_core/troubleshoot.py .include <bsd.port.mk> diff --git a/devel/py-jupyter-core/distinfo b/devel/py-jupyter-core/distinfo index 0a861951f323..0ea225654b16 100644 --- a/devel/py-jupyter-core/distinfo +++ b/devel/py-jupyter-core/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1674590808 -SHA256 (jupyter_core-4.12.0.tar.gz) = 87f39d7642412ae8a52291cc68e71ac01dfa2c735df2701f8108251d51b4f460 -SIZE (jupyter_core-4.12.0.tar.gz) = 74760 +TIMESTAMP = 1684104774 +SHA256 (jupyter_core-5.3.0.tar.gz) = 6db75be0c83edbf1b7c9f91ec266a9a24ef945da630f3120e1a0046dc13713fc +SIZE (jupyter_core-5.3.0.tar.gz) = 83909 diff --git a/devel/py-jupyter-core/files/setup.py b/devel/py-jupyter-core/files/setup.py deleted file mode 100644 index 399a779af641..000000000000 --- a/devel/py-jupyter-core/files/setup.py +++ /dev/null @@ -1,44 +0,0 @@ -# -*- 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', - ], -)