summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-04-27 18:10:28 +0200
committerMichał Górny <mgorny@gentoo.org>2023-04-27 19:24:29 +0200
commitded486c43c30d6aa9d8645febccea608738ad8d2 (patch)
tree4ecf2a78bf93a86e0d234cb59eeef84a3ad13299 /dev-python/notebook-shim
parentRename dev-python/{notebook_shim → notebook-shim} (diff)
downloadgentoo-ded486c43c30d6aa9d8645febccea608738ad8d2.tar.gz
gentoo-ded486c43c30d6aa9d8645febccea608738ad8d2.tar.bz2
gentoo-ded486c43c30d6aa9d8645febccea608738ad8d2.zip
dev-python/notebook-shim: Bump to 0.2.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/notebook-shim')
-rw-r--r--dev-python/notebook-shim/Manifest1
-rw-r--r--dev-python/notebook-shim/notebook-shim-0.2.3.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/notebook-shim/Manifest b/dev-python/notebook-shim/Manifest
index e9a73821a6b4..4a62ab819254 100644
--- a/dev-python/notebook-shim/Manifest
+++ b/dev-python/notebook-shim/Manifest
@@ -1 +1,2 @@
DIST notebook_shim-0.2.2.tar.gz 12947 BLAKE2B 5a04944be3f8de7bd7b1c10f59d73869b7aed670c3afebf79e7780d5992f9af2929529498604c1a5c0d164467681ffa0e8924e1c9a7945e52ae353bdb710c7bc SHA512 42cf9153495e4ab8230ef560d36381a5aa1d9bbd583ed140e04e9850f4a82bab06ecf36e45b88595e8686d8122c9a52eee8133a7f1b622d75d326ebf36519d30
+DIST notebook_shim-0.2.3.tar.gz 13082 BLAKE2B 5e988605ee01a49f31bf2dcdbe86d2f8e12f3e314d962f619068c57b13ed144643db1b08d5afed7a91ddfcde82497e49fe643d9fdd1c43a9535d7468794dfe7e SHA512 87114ea915ab5160b11023dddcc622aafba315fe07de21cedbed1e374ec2406eba378575e903377dbb9cc69e7449eb184cb0420513b7dc05078af0e91bc5f884
diff --git a/dev-python/notebook-shim/notebook-shim-0.2.3.ebuild b/dev-python/notebook-shim/notebook-shim-0.2.3.ebuild
new file mode 100644
index 000000000000..7e177997b7f2
--- /dev/null
+++ b/dev-python/notebook-shim/notebook-shim-0.2.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{9..11} )
+
+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 ~hppa ~ia64 ~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
+}