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 7C9B215808B for ; Thu, 15 Feb 2024 04:11:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5BE25E2A7E; Thu, 15 Feb 2024 04:11:21 +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 029E4E2A7D for ; Thu, 15 Feb 2024 04:11:20 +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 E3875343082 for ; Thu, 15 Feb 2024 04:11:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 07CF214D0 for ; Thu, 15 Feb 2024 04:11:15 +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: <1707970203.490f271fc6fee5e9d5a1d9cd647e58ca3c2a6090.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/notebook-shim/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/notebook-shim/Manifest dev-python/notebook-shim/notebook-shim-0.2.4.ebuild X-VCS-Directories: dev-python/notebook-shim/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 490f271fc6fee5e9d5a1d9cd647e58ca3c2a6090 X-VCS-Branch: master Date: Thu, 15 Feb 2024 04:11:15 +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: 0e2f2d6e-3987-4749-8700-76abbca31101 X-Archives-Hash: c5367c14c947097c806c74055b42753a commit: 490f271fc6fee5e9d5a1d9cd647e58ca3c2a6090 Author: Michał Górny gentoo org> AuthorDate: Thu Feb 15 03:52:07 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Feb 15 04:10:03 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=490f271f dev-python/notebook-shim: Bump to 0.2.4 Signed-off-by: Michał Górny gentoo.org> dev-python/notebook-shim/Manifest | 1 + .../notebook-shim/notebook-shim-0.2.4.ebuild | 44 ++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-python/notebook-shim/Manifest b/dev-python/notebook-shim/Manifest index d0da0f05cc7e..d1e02fd379ab 100644 --- a/dev-python/notebook-shim/Manifest +++ b/dev-python/notebook-shim/Manifest @@ -1 +1,2 @@ DIST notebook_shim-0.2.3.tar.gz 13082 BLAKE2B 5e988605ee01a49f31bf2dcdbe86d2f8e12f3e314d962f619068c57b13ed144643db1b08d5afed7a91ddfcde82497e49fe643d9fdd1c43a9535d7468794dfe7e SHA512 87114ea915ab5160b11023dddcc622aafba315fe07de21cedbed1e374ec2406eba378575e903377dbb9cc69e7449eb184cb0420513b7dc05078af0e91bc5f884 +DIST notebook_shim-0.2.4.tar.gz 13167 BLAKE2B ae1dbd61c38c569f411698a8ef2c5b48fed186b9a3c661aefdf276cc241e446e3a964b46daedb4b4e66d02bf62f489a659d654b5874a0bd604bd635eb98214b3 SHA512 74b43e39b39ce91ee8ec2c4da2915fb7accc0992730fa4c9a6ef5037327afd5393ab11f576dd21033769ace3e5f0d44b9d6de76da0d3cd147064739b67b50719 diff --git a/dev-python/notebook-shim/notebook-shim-0.2.4.ebuild b/dev-python/notebook-shim/notebook-shim-0.2.4.ebuild new file mode 100644 index 000000000000..e1d24c476ee4 --- /dev/null +++ b/dev-python/notebook-shim/notebook-shim-0.2.4.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A shim layer for notebook traits and config" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter/notebook_shim/ + https://pypi.org/project/notebook-shim/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + =dev-python/jupyter-server-1.8[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + dev-python/pytest-jupyter[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_tornasync.plugin +} + +src_install() { + distutils-r1_src_install + mv "${ED}/usr/etc" "${ED}/etc" || die +}