diff --git a/devel/py-jupyterlab-server/Makefile b/devel/py-jupyterlab-server/Makefile index 234f7bf771f4..e7ec0dc790c9 100644 --- a/devel/py-jupyterlab-server/Makefile +++ b/devel/py-jupyterlab-server/Makefile @@ -1,44 +1,44 @@ PORTNAME= jupyterlab-server -PORTVERSION= 2.15.2 +PORTVERSION= 2.16.3 CATEGORIES= devel python MASTER_SITES= CHEESESHOP \ https://github.com/jupyterlab/jupyterlab_server/releases/download/v${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= jupyterlab_server-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= JupyterLab Server WWW= https://jupyter.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=0:devel/py-babel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.0.3:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}json5>=0:devel/py-json5@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonschema>=3.0.1:devel/py-jsonschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jupyter-server>=1.8<2:devel/py-jupyter-server@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes OPTIONS_DEFINE= OPENAPI OPENAPI_DESC= OpenAPI support OPENAPI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openapi-core>=0.14.2:devel/py-openapi-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0:devel/py-ruamel.yaml@${PY_FLAVOR} .include .if ${PYTHON_REL} < 31000 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=3.6:devel/py-importlib-metadata@${PY_FLAVOR} +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.8.1:devel/py-importlib-metadata@${PY_FLAVOR} .endif post-patch: @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py .include diff --git a/devel/py-jupyterlab-server/distinfo b/devel/py-jupyterlab-server/distinfo index 001aae503fbc..8497de564d74 100644 --- a/devel/py-jupyterlab-server/distinfo +++ b/devel/py-jupyterlab-server/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1664767932 -SHA256 (jupyterlab_server-2.15.2.tar.gz) = c0bcdd4606e640e6f16d236ceac55336dc8bf98cbbce067af27524ccc2fb2640 -SIZE (jupyterlab_server-2.15.2.tar.gz) = 62533 +TIMESTAMP = 1669057765 +SHA256 (jupyterlab_server-2.16.3.tar.gz) = 635a0b176a901f19351c02221a124e59317c476f511200409b7d867e8b2905c3 +SIZE (jupyterlab_server-2.16.3.tar.gz) = 66680 diff --git a/devel/py-jupyterlab-server/files/setup.py b/devel/py-jupyterlab-server/files/setup.py index 9caedea2da4d..c6de97a47772 100644 --- a/devel/py-jupyterlab-server/files/setup.py +++ b/devel/py-jupyterlab-server/files/setup.py @@ -1,55 +1,67 @@ # -*- coding: utf-8 -*- from setuptools import setup setup( name='jupyterlab-server', version='%%PORTVERSION%%', description='A set of server components for JupyterLab and JupyterLab like applications.', long_description='# jupyterlab server\n\n[![Coverage](https://codecov.io/gh/jupyterlab/jupyterlab_server/branch/master/graph/badge.svg)](https://codecov.io/gh/jupyterlab/jupyterlab_server)\n[![Build Status](https://github.com/jupyterlab/jupyterlab_server/workflows/Tests/badge.svg?branch=master)](https://github.com/jupyterlab/jupyterlab_server/actions?query=branch%3Amaster+workflow%3A%22Tests%22)\n[![Documentation Status](https://readthedocs.org/projects/jupyterlab_server/badge/?version=stable)](http://jupyterlab_server.readthedocs.io/en/stable/)\n\n## Motivation\n\nJupyterLab Server sits between JupyterLab and Jupyter Server, and provides a\nset of REST API handlers and utilities that are used by JupyterLab. It is a separate project in order to\naccommodate creating JupyterLab-like applications from a more limited scope.\n\n## Install\n\n`pip install jupyterlab_server`\n\nTo include optional `openapi` dependencies, use:\n\n`pip install jupyterlab_server[openapi]`\n\nTo include optional `pytest_plugin` dependencies, use:\n\n`pip install jupyterlab_server[test]`\n\n## Usage\n\nSee the full documentation for [API docs](https://jupyterlab-server.readthedocs.io/en/stable/api/index.html) and [REST endpoint descriptions](https://jupyterlab-server.readthedocs.io/en/stable/api/rest.html).\n\n## Extending the Application\n\nSubclass the `LabServerApp` and provide additional traits and handlers as appropriate for your application.\n\n## Contribution\n\nPlease see `CONTRIBUTING.md` for details.\n', author_email='Jupyter Development Team ', classifiers=[ 'Framework :: Jupyter', 'Framework :: Jupyter :: JupyterLab', 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python', 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', ], install_requires=[ 'babel', - 'importlib-metadata>=3.6; python_version < "3.10"', + 'importlib-metadata>=4.8.1; python_version < "3.10"', 'jinja2>=3.0.3', 'json5', 'jsonschema>=3.0.1', - 'jupyter-server<2,>=1.8', + 'jupyter-server<3,>=1.8', 'packaging', 'requests', ], extras_require={ + 'docs': [ + 'autodoc-traits', + 'docutils<0.19', + 'pydata_sphinx_theme', + 'sphinx', + 'sphinx-copybutton', + 'sphinxcontrib-openapi', + 'myst-parser', + 'mistune<1', + 'jinja2<3.1.0' + ], 'openapi': [ 'openapi-core>=0.14.2', 'ruamel-yaml', ], 'test': [ 'codecov', 'ipykernel', 'jupyter-server[test]', 'openapi_core~=0.14.2', 'openapi-spec-validator<0.5', + 'pytest>=7.0', 'pytest-console-scripts', 'pytest-cov', - 'pytest>=5.3.2', + 'requests_mock', 'ruamel-yaml', 'strict-rfc3339', ], }, packages=[ 'jupyterlab_server', ], )