diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-02-15 04:52:07 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-02-15 05:10:03 +0100 |
commit | 490f271fc6fee5e9d5a1d9cd647e58ca3c2a6090 (patch) | |
tree | 9216825ced8f9a3fb659b31e10b04ea499ba2d3f /dev-python/notebook-shim | |
parent | dev-python/types-setuptools: Bump to 69.1.0.20240215 (diff) | |
download | gentoo-490f271fc6fee5e9d5a1d9cd647e58ca3c2a6090.tar.gz gentoo-490f271fc6fee5e9d5a1d9cd647e58ca3c2a6090.tar.bz2 gentoo-490f271fc6fee5e9d5a1d9cd647e58ca3c2a6090.zip |
dev-python/notebook-shim: Bump to 0.2.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/notebook-shim')
-rw-r--r-- | dev-python/notebook-shim/Manifest | 1 | ||||
-rw-r--r-- | dev-python/notebook-shim/notebook-shim-0.2.4.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
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-3[${PYTHON_USEDEP}] + >=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 +} |