From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 940B3158095 for ; Tue, 27 Sep 2022 06:00:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0AFD1E0BA6; Tue, 27 Sep 2022 06:00:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E6907E0BA6 for ; Tue, 27 Sep 2022 06:00:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BAD5D3412CF for ; Tue, 27 Sep 2022 06:00:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 285C95EC for ; Tue, 27 Sep 2022 06:00:34 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1664258421.0d65dad59e834b20340718dabea6ea3574bd2ebf.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jupyter_server/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/jupyter_server/Manifest dev-python/jupyter_server/jupyter_server-1.19.0.ebuild X-VCS-Directories: dev-python/jupyter_server/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 0d65dad59e834b20340718dabea6ea3574bd2ebf X-VCS-Branch: master Date: Tue, 27 Sep 2022 06:00:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 59f1b53e-a826-4083-9d05-052e926a1d6d X-Archives-Hash: 839372adabca4a54afdd2b28499a4523 commit: 0d65dad59e834b20340718dabea6ea3574bd2ebf Author: Arthur Zamarin gentoo org> AuthorDate: Tue Sep 27 05:22:18 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Tue Sep 27 06:00:21 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d65dad5 dev-python/jupyter_server: add 1.19.0 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/jupyter_server/Manifest | 1 + .../jupyter_server/jupyter_server-1.19.0.ebuild | 76 ++++++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/dev-python/jupyter_server/Manifest b/dev-python/jupyter_server/Manifest index 4cd01ec114aa..0f8ae1aeb44c 100644 --- a/dev-python/jupyter_server/Manifest +++ b/dev-python/jupyter_server/Manifest @@ -1 +1,2 @@ DIST jupyter_server-1.18.1.tar.gz 451117 BLAKE2B ac9088f8f5c5afa6455f41b4006c0d49286006574101b42dd8e28501c97dcf10d7ee534d54b8cf26a8f34c7d2ba446485ce273ce04e22c39a22e5346d55ea4f5 SHA512 7acf101f337af903318de263dcf78cf3b45b799bb6095bc79568fde7f3f56ca508d39a1d40ffe2a4ab0bdc0173f0ee2f4a7426f41e0855c1b7f9dfd86f7e6d73 +DIST jupyter_server-1.19.0.tar.gz 453227 BLAKE2B c411ea965bd1948cfff488be278e9d6d4374482f0017e8e6f0b557628f1b571735008db3217035344ee1d38bed45e9c74c16fb365899408e0565d31740ee1a78 SHA512 ba1316418662bf465f5252de97efa58ecea237b51dfd83b17643176f95382d47759b88a2a79945e6bbf688dcdb3f99d091a035ab0a8a04706c6e6ba0c8a7fcc8 diff --git a/dev-python/jupyter_server/jupyter_server-1.19.0.ebuild b/dev-python/jupyter_server/jupyter_server-1.19.0.ebuild new file mode 100644 index 000000000000..296736ccc44c --- /dev/null +++ b/dev-python/jupyter_server/jupyter_server-1.19.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=jupyter +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Core services, APIs, and REST endpoints to Jupyter web applications" +HOMEPAGE="https://jupyter.org" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/anyio-3.1.0[${PYTHON_USEDEP}] + =dev-python/jupyter_client-6.1.1[${PYTHON_USEDEP}] + >=dev-python/jupyter_core-4.7.0[${PYTHON_USEDEP}] + >=dev-python/nbconvert-6.4.4[${PYTHON_USEDEP}] + >=dev-python/nbformat-5.2.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/prometheus_client[${PYTHON_USEDEP}] + >=dev-python/pyzmq-17[${PYTHON_USEDEP}] + dev-python/send2trash[${PYTHON_USEDEP}] + >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] + >=dev-python/tornado-6.1[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.1[${PYTHON_USEDEP}] + dev-python/websocket-client[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + dev-python/pydata-sphinx-theme \ + dev-python/myst_parser \ + dev-python/ipython \ + dev-python/sphinxemoji \ + dev-python/sphinxcontrib-github-alt \ + dev-python/sphinxcontrib-openapi +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # This fails if your terminal is zsh (and maybe other non-bash as well?) + tests/test_terminal.py::test_culling + tests/test_terminal.py::test_terminal_create_with_cwd + tests/test_terminal.py::test_terminal_create_with_relative_cwd +) + +src_prepare() { + # disable npm use + sed -i -e '/\[tool\.jupyter-packaging\.builder\]/,+1d' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest \ + -p pytest_tornasync.plugin \ + -p jupyter_server.pytest_plugin \ + -p pytest_console_scripts \ + -p pytest_timeout +}