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 3A9E8158090 for ; Mon, 2 May 2022 10:56:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 61228E0B0A; Mon, 2 May 2022 10:56:44 +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 34B7AE0B06 for ; Mon, 2 May 2022 10:56:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 0AEBD3410AD for ; Mon, 2 May 2022 10:56:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 90513447 for ; Mon, 2 May 2022 10:56:41 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1651488992.3b65c278178a021a609fefbaaee67c84c844013f.andrewammerlaan@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/metadata.xml dev-python/notebook_shim/notebook_shim-0.1.0.ebuild X-VCS-Directories: dev-python/notebook_shim/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 3b65c278178a021a609fefbaaee67c84c844013f X-VCS-Branch: master Date: Mon, 2 May 2022 10:56:41 +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: 04ff7deb-0416-4cc1-8ce8-3928480b8ce9 X-Archives-Hash: 8cd631eb3e387f1046c1ed564ad07fe5 commit: 3b65c278178a021a609fefbaaee67c84c844013f Author: Andrew Ammerlaan gentoo org> AuthorDate: Mon May 2 10:46:41 2022 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Mon May 2 10:56:32 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b65c278 dev-python/notebook_shim: new package, add 0.1.0 Signed-off-by: Andrew Ammerlaan gentoo.org> dev-python/notebook_shim/Manifest | 1 + dev-python/notebook_shim/metadata.xml | 17 +++++++++ .../notebook_shim/notebook_shim-0.1.0.ebuild | 43 ++++++++++++++++++++++ 3 files changed, 61 insertions(+) diff --git a/dev-python/notebook_shim/Manifest b/dev-python/notebook_shim/Manifest new file mode 100644 index 000000000000..0b785dd05afb --- /dev/null +++ b/dev-python/notebook_shim/Manifest @@ -0,0 +1 @@ +DIST notebook_shim-0.1.0.tar.gz 12275 BLAKE2B 47e975cd91b9ee1e6436db099b13ff664b25c96f3fd7fa39b54d5daad5154976bdf877607156688d118c6bfc458f941151fc9763c596458432e70e17de77eb59 SHA512 7814b5bb4d4c4dd39b1ce3629e77513bdc3069a553208ee5a2bb6432fda5d20dcf48bbf5d8f61b9bc1f2ea666abd8706a8e8ba627b27ff4561eb4982ba04b1dc diff --git a/dev-python/notebook_shim/metadata.xml b/dev-python/notebook_shim/metadata.xml new file mode 100644 index 000000000000..7093f58896b9 --- /dev/null +++ b/dev-python/notebook_shim/metadata.xml @@ -0,0 +1,17 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + + python@gentoo.org + Python + + + + notebook-shim + jupyter/notebook_shim + + diff --git a/dev-python/notebook_shim/notebook_shim-0.1.0.ebuild b/dev-python/notebook_shim/notebook_shim-0.1.0.ebuild new file mode 100644 index 000000000000..58ed446a042d --- /dev/null +++ b/dev-python/notebook_shim/notebook_shim-0.1.0.ebuild @@ -0,0 +1,43 @@ +# 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=jupyter +inherit distutils-r1 + +DESCRIPTION="A shim layer for notebook traits and config" +HOMEPAGE="https://jupyter.org" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/jupyter_server-1.8[${PYTHON_USEDEP}] +" + +BDEPEND=" + >=dev-python/jupyter_packaging-0.9[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + 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 ${PN}/conftest.py . || die + + distutils-r1_python_prepare_all +} + +python_install_all() { + distutils-r1_python_install_all + # move /usr/etc stuff to /etc + mv "${ED}/usr/etc" "${ED}/etc" || die +}