From cb9a501c2ed1312c376917c1cbfc79542d799806 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 18 Oct 2022 13:56:32 +0100 Subject: gentoo auto-resync : 18:10:2022 - 13:56:32 --- dev-python/notebook_shim/Manifest | 2 + .../notebook_shim/notebook_shim-0.2.0.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 dev-python/notebook_shim/notebook_shim-0.2.0.ebuild (limited to 'dev-python/notebook_shim') diff --git a/dev-python/notebook_shim/Manifest b/dev-python/notebook_shim/Manifest index df1d30dc09b2..dd4a5fa5ad2b 100644 --- a/dev-python/notebook_shim/Manifest +++ b/dev-python/notebook_shim/Manifest @@ -1,3 +1,5 @@ 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 EBUILD notebook_shim-0.1.0.ebuild 963 BLAKE2B 0350f66265a980d4f30efb50fd832ca498497f40bef9ff0e95df9b9cd4f5e11597facbe18461fc01c334b847e2f5f9dd319e8ebf42f256883acbb6d2de13a750 SHA512 51c4c1d523c396425ef105b820c4992d8327797d17ede1f7bfb06c9a8f760f1284bdfa1f16388855d4d58dc19aede7785dbe52727d43ddb5902f4c05a4b9c466 +EBUILD notebook_shim-0.2.0.ebuild 970 BLAKE2B c5f9895ce6ff2b8dbfb74359d3105262e5a8d971e19a21dc20617a2c241ca4ec73abc168043be339ab65a5bd7696b966fb81fe56ed9717b4714db67dad71c51d SHA512 57711abf02e2971ebe02bad7d06492b32a89aeb75e6610d20f5fef129c0920ae7d1527b0dc1a78e19e7eb373d62efe325532e9ad9267d2707b8626a65d32771b MISC metadata.xml 535 BLAKE2B 074e2bbcdd15078aaba2c65641a16ca7ce27e0c412d48f2a48a4cd80459a948abc478baa28b3e7417dde2bf13717040dc083711b114d61dfd2a7f7aaac1295ca SHA512 9ff7408848878f74eb9f10ec5aded639a749635851385b6679a72112c253a7427f65ac3e3c41f21f9e8551a439a7c00c4e28a5d70b3529ab9e687a5d0e7abeb9 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 +} -- cgit v1.2.3