git: c75e89ac48c4 - main - devel/py-jupyterlab-server: Update to 2.16.3

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 30 Dec 2022 09:10:47 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c75e89ac48c4f907f5ab79295810922e6843302a

commit c75e89ac48c4f907f5ab79295810922e6843302a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-12-30 08:42:36 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-12-30 09:04:40 +0000

    devel/py-jupyterlab-server: Update to 2.16.3
    
    Changes:        https://github.com/jupyterlab/jupyterlab_server/releases
---
 devel/py-jupyterlab-server/Makefile       |  4 ++--
 devel/py-jupyterlab-server/distinfo       |  6 +++---
 devel/py-jupyterlab-server/files/setup.py | 20 ++++++++++++++++----
 3 files changed, 21 insertions(+), 9 deletions(-)

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,5 +1,5 @@
 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}/
@@ -35,7 +35,7 @@ OPENAPI_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}openapi-core>=0.14.2:devel/py-openap
 .include <bsd.port.pre.mk>
 
 .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:
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
@@ -16,22 +16,33 @@ setup(
         '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',
@@ -42,9 +53,10 @@ setup(
             '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',
         ],