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,25 +1,29 @@ PORTNAME= jupyter-core -PORTVERSION= 4.10.0 +PORTVERSION= 4.11.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= jupyter_core-${PORTVERSION} MAINTAINER= python@FreeBSD.org COMMENT= Jupyter core package 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} USES= python:3.7+ 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 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 ', + 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', + ], +)