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 218C9158086 for ; Tue, 23 Nov 2021 08:12:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D051EE0863; Tue, 23 Nov 2021 08:12:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 9EA90E0863 for ; Tue, 23 Nov 2021 08:12:19 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 456BF342FB8 for ; Tue, 23 Nov 2021 08:12:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ABCA78E for ; Tue, 23 Nov 2021 08:12:16 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1637655131.c489f1c82c631b0d95eb9f305823368a7ca3a3e4.mgorny@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.12.0.ebuild X-VCS-Directories: dev-python/jupyter_server/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c489f1c82c631b0d95eb9f305823368a7ca3a3e4 X-VCS-Branch: master Date: Tue, 23 Nov 2021 08:12:16 +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: 97fdae73-e081-458d-b612-8e9dcfdda2a6 X-Archives-Hash: 6e01c8c1cbe1be373fa3e0e9661754d5 commit: c489f1c82c631b0d95eb9f305823368a7ca3a3e4 Author: Michał Górny gentoo org> AuthorDate: Tue Nov 23 07:44:08 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Nov 23 08:12:11 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c489f1c8 dev-python/jupyter_server: Bump to 1.12.0 Signed-off-by: Michał Górny gentoo.org> dev-python/jupyter_server/Manifest | 1 + .../jupyter_server/jupyter_server-1.12.0.ebuild | 59 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/dev-python/jupyter_server/Manifest b/dev-python/jupyter_server/Manifest index 0fc23026facf..d82cbafbbcea 100644 --- a/dev-python/jupyter_server/Manifest +++ b/dev-python/jupyter_server/Manifest @@ -1 +1,2 @@ DIST jupyter_server-1.11.1.tar.gz 420035 BLAKE2B 0676b0e126752ebeaa45e2325c34fe787756265f5ad35e356660485e5e7fd98a9ecaa029badf4c45815f25425e5a8a44133b6595698dca212f871b898c6ef76c SHA512 537bb9dbacabe396761a17be3280ecc0d28d63116a72386a7ff69bd8467f38909b7c2491eeb1f6b8bb7618b7fe661cd583d9efb8597ecbe88941c35096e0b1a8 +DIST jupyter_server-1.12.0.tar.gz 422318 BLAKE2B 9aa4843d02bfd918b0df13d94fc0058e6a6dee74f634dac359f7f6b4ca85e6cd4f91e8ddafb873647cd672284fb3eff087e05c3fcb6eff1621c7beb4b99030ee SHA512 28de049051852ae5d2bc10f2a0643a1441c2df3c229348e8d45e7031cc1c85a118124bc0b3bf7f101fd912ee25cd9cbf3e9b1b633fee20d70f43152e1e03e12c diff --git a/dev-python/jupyter_server/jupyter_server-1.12.0.ebuild b/dev-python/jupyter_server/jupyter_server-1.12.0.ebuild new file mode 100644 index 000000000000..50269cac749e --- /dev/null +++ b/dev-python/jupyter_server/jupyter_server-1.12.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" + +RDEPEND=" + dev-python/jinja[${PYTHON_USEDEP}] + >=www-servers/tornado-6.1[${PYTHON_USEDEP}] + >=dev-python/pyzmq-17[${PYTHON_USEDEP}] + dev-python/argon2-cffi[${PYTHON_USEDEP}] + dev-python/ipython_genutils[${PYTHON_USEDEP}] + >=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}] + >=dev-python/jupyter_core-4.6.0[${PYTHON_USEDEP}] + >=dev-python/jupyter_client-6.1.1[${PYTHON_USEDEP}] + dev-python/nbformat[${PYTHON_USEDEP}] + dev-python/nbconvert[${PYTHON_USEDEP}] + dev-python/send2trash[${PYTHON_USEDEP}] + >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] + dev-python/prometheus_client[${PYTHON_USEDEP}] + dev-python/anyio[${PYTHON_USEDEP}] + dev-python/websocket-client[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + )" + +# TODO: Package 'myst_parser' +# distutils_enable_sphinx docs/source +# dev-python/pydata-sphinx-theme +distutils_enable_tests --install pytest + +python_prepare_all() { + # Defining 'pytest_plugins' in a non-top-level conftest is no longer supported: + mv jupyter_server/conftest.py . || die + + # This fails if your terminal is zsh (and maybe other non-bash as well?) + sed -i \ + -e 's:est_terminal_create_with_cwd:_&:' \ + -e 's:test_culling:_&:' \ + jupyter_server/tests/test_terminal.py || die + + distutils-r1_python_prepare_all +}