ports/devel/py-jupyterlab-server/Makefile
Vsevolod Stakhov b66e4949cb security/libsodium: update to 1.0.19, bump dependent ports
PR:	278259
Reported by:	Andrey Korobkov <alster-vinterdalen.se>
2024-05-20 10:33:03 +00:00

44 lines
1.6 KiB
Makefile

PORTNAME= jupyterlab-server
PORTVERSION= 2.27.1
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI \
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://jupyterlab-server.readthedocs.io/en/stable/ \
https://github.com/jupyterlab/jupyterlab_server
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.7:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=2.10:devel/py-babel@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Jinja2>=3.0.3:devel/py-Jinja2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}json5>=0.9.0:devel/py-json5@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jsonschema>=4.18.0:devel/py-jsonschema@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jupyter-server>=1.21<3:devel/py-jupyter-server@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>=21.3:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.31:www/py-requests@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
OPTIONS_DEFINE= OPENAPI
OPENAPI_DESC= OpenAPI support
OPENAPI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openapi-core>=0.18.0<0.19:devel/py-openapi-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0:devel/py-ruamel.yaml@${PY_FLAVOR}
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 31000
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.8.3:devel/py-importlib-metadata@${PY_FLAVOR}
.endif
.include <bsd.port.post.mk>