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 0BEAA158020 for ; Tue, 18 Oct 2022 06:36:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6A838E094F; Tue, 18 Oct 2022 06:36:39 +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 4ED3FE094F for ; Tue, 18 Oct 2022 06:36:39 +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 73E2D340C59 for ; Tue, 18 Oct 2022 06:36:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AEDE962A for ; Tue, 18 Oct 2022 06:36:35 +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: <1666074988.467fd76212365bfc385d5e9e92097294a02766f1.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.0.ebuild X-VCS-Directories: dev-python/notebook_shim/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 467fd76212365bfc385d5e9e92097294a02766f1 X-VCS-Branch: master Date: Tue, 18 Oct 2022 06:36:35 +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: 63d2ea13-6d4b-4922-aa02-83aaa8509873 X-Archives-Hash: 8204f13e3cdae504636a01af79c0411b commit: 467fd76212365bfc385d5e9e92097294a02766f1 Author: Michał Górny gentoo org> AuthorDate: Tue Oct 18 05:30:46 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Oct 18 06:36:28 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=467fd762 dev-python/notebook_shim: Bump to 0.2.0 Signed-off-by: Michał Górny gentoo.org> dev-python/notebook_shim/Manifest | 1 + .../notebook_shim/notebook_shim-0.2.0.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-python/notebook_shim/Manifest b/dev-python/notebook_shim/Manifest index 0b785dd05afb..c54511b25daa 100644 --- a/dev-python/notebook_shim/Manifest +++ b/dev-python/notebook_shim/Manifest @@ -1 +1,2 @@ DIST notebook_shim-0.1.0.tar.gz 12275 BLAKE2B 47e975cd91b9ee1e6436db099b13ff664b25c96f3fd7fa39b54d5daad5154976bdf877607156688d118c6bfc458f941151fc9763c596458432e70e17de77eb59 SHA512 7814b5bb4d4c4dd39b1ce3629e77513bdc3069a553208ee5a2bb6432fda5d20dcf48bbf5d8f61b9bc1f2ea666abd8706a8e8ba627b27ff4561eb4982ba04b1dc +DIST notebook_shim-0.2.0.tar.gz 12063 BLAKE2B 78c8bdc54cbfe93b5ad0801eef59b4e5b27b243c3f04619bd625960b99a98e02961eff59d1b085dd4fba0930ad10664568b53dd013df7d37922ccf2b0ea9b2c2 SHA512 78ae082fbd04e611af3bac75600cba7cc98f40019d9ed49981dacb5106687310b04f67810e4a35b96800d94b04b7ddca1fcd115a380f4c39847c6b4178bd9500 diff --git a/dev-python/notebook_shim/notebook_shim-0.2.0.ebuild b/dev-python/notebook_shim/notebook_shim-0.2.0.ebuild new file mode 100644 index 000000000000..a2adde6f8a4f --- /dev/null +++ b/dev-python/notebook_shim/notebook_shim-0.2.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=hatchling +inherit distutils-r1 + +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/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + =dev-python/jupyter_server-1.8[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # Defining 'pytest_plugins' in a non-top-level conftest is no longer supported: + mv notebook_shim/conftest.py . || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_tornasync.plugin +}