From nobody Tue Mar 21 19:27:43 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Ph1pS3Pngz40hnp; Tue, 21 Mar 2023 19:27:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ph1pS11gtz4Mww; Tue, 21 Mar 2023 19:27:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679426864; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9z6aiNIFVjIcYdXN/AeriCn40rZA4WehKBCKKTpB1Lo=; b=d9VsW9H34oxQJBit0tgyWqWnSnGTtUm7IRF3ZkvDlO4czED6YitdWyLzs5KCODxKREpDjC azSMug5MUe/cELOqNX7hgMcM9VsknR843KhKituzZy47gYRNNsT5fWL3IuyCsKiPBs6lSq 7Tf4l/PG+NOsDCdIRiTfHsVH9CklbCsGwDr5uscKwUFXIh9rPFXGKRp8M3cIPqzj5+XU/f 35WOtEyhQ3dn8TCOzarZBCAeur2pKDzBmwNynEZ/MtlxbrEe71HJVBJrQ3Lcmw9iYQUk8E JwP9JWKlYjSjxeZgNLHrSv3ybNNchyzhV3bCjYla/4G++pCPGpyfaQTDhcFMGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679426864; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9z6aiNIFVjIcYdXN/AeriCn40rZA4WehKBCKKTpB1Lo=; b=mLPrhCkWEO5QISYQlHAOJr2+yOMplRUmcle88WHgVHGugK4OhpB7Kigb3lTnF0cDhjUaJT li2GrMGnTc4La5+8Q0ExODo+PY8avFkjSro8iLeXUirYz+OWsctAKVJ9/70Cqcwh2AwfWr lFT6GnNl/tTpah8cM2wcR5YCaENWL1N0yftQz2nhJZRPLpuNh71E+ctWRIoILyXGNktG3a 3xN5gXQqIl8Ctbhw3+5qhczRrYA4XC8GkLE6yOqBbISpu6XrA4FFeIym1pA8i7GUWW/nS5 lDHuo7ueKI6a9qJ/5ukoLjJxGgaZPq6EBbOErJTF33+W3aIvZyvaxWCjKCnh9Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679426864; a=rsa-sha256; cv=none; b=OKfs51LS5t7CP+CY1ikfxLUMhnu3U77vfGX/8l8WaVZfra6kdfmMTwI+7Dks3AoRGNKfSP 5z7nikH92A3wFi3FgGk9FWYCtvtRGfXk6UA4VS+QjoJJl2cWnXNc6esdNaSOYMHXU0iAJ+ rQDVNTr+mbA5VGvwWpr62Xp8m6j8p58F1eeKORbnc4a3aKMaHMOa2t/gt+kbQdhH7eYNlb eilorbs/zXF6pFgtBciUf60NsQ2lAWz/q2KDgBymy3fnI6p7DWufVUAVr/Bagvo5jchCuy NsJFBwZIcrFajWS723f3xy2a2tJ0o3f5dvw1akm2fiD1r937ww6noX4XxBr2xw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Ph1pS05rqzPYL; Tue, 21 Mar 2023 19:27:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32LJRhME031276; Tue, 21 Mar 2023 19:27:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32LJRheu031275; Tue, 21 Mar 2023 19:27:43 GMT (envelope-from git) Date: Tue, 21 Mar 2023 19:27:43 GMT Message-Id: <202303211927.32LJRheu031275@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 33d02de1b7c6 - main - devel/py-jupyterlab-server: Convert to USE_PYTHON=pep517 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 33d02de1b7c696ff9d159095ea1b6d59d96b22f9 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=33d02de1b7c696ff9d159095ea1b6d59d96b22f9 commit 33d02de1b7c696ff9d159095ea1b6d59d96b22f9 Author: Po-Chuan Hsieh AuthorDate: 2023-03-21 18:44:19 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-03-21 19:20:45 +0000 devel/py-jupyterlab-server: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for dependency and package change --- devel/py-jupyterlab-server/Makefile | 9 ++--- devel/py-jupyterlab-server/files/setup.py | 67 ------------------------------- 2 files changed, 4 insertions(+), 72 deletions(-) diff --git a/devel/py-jupyterlab-server/Makefile b/devel/py-jupyterlab-server/Makefile index e28b8d960926..285e072c322f 100644 --- a/devel/py-jupyterlab-server/Makefile +++ b/devel/py-jupyterlab-server/Makefile @@ -1,5 +1,6 @@ PORTNAME= jupyterlab-server PORTVERSION= 2.16.3 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI \ https://github.com/jupyterlab/jupyterlab_server/releases/download/v${PORTVERSION}/ @@ -13,6 +14,7 @@ WWW= https://jupyter.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.5:devel/py-hatchling@${PY_FLAVOR} 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} \ @@ -22,7 +24,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=0:devel/py-babel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes @@ -35,10 +37,7 @@ OPENAPI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openapi-core>=0.14.2:devel/py-openap .include .if ${PYTHON_REL} < 31000 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.8.1:devel/py-importlib-metadata@${PY_FLAVOR} +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.8.3: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/files/setup.py b/devel/py-jupyterlab-server/files/setup.py deleted file mode 100644 index c6de97a47772..000000000000 --- a/devel/py-jupyterlab-server/files/setup.py +++ /dev/null @@ -1,67 +0,0 @@ -# -*- 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 o ptional `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.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - ], - install_requires=[ - 'babel', - 'importlib-metadata>=4.8.1; python_version < "3.10"', - 'jinja2>=3.0.3', - 'json5', - 'jsonschema>=3.0.1', - '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', - 'requests_mock', - 'ruamel-yaml', - 'strict-rfc3339', - ], - }, - packages=[ - 'jupyterlab_server', - ], -)