commit: 467fd76212365bfc385d5e9e92097294a02766f1 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue Oct 18 05:30:46 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> 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 <mgorny <AT> 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-3[${PYTHON_USEDEP}] + >=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 +}