summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-11-03 05:12:04 +0100
committerMichał Górny <mgorny@gentoo.org>2022-11-03 06:32:46 +0100
commit51baf78182576a1390d01656346280c5ef979612 (patch)
treeb61b3b0f62ba8e2e7f7f9aa8b912e2eeabbbbaf9 /dev-python/notebook_shim
parentsci-geosciences/gpxsee: remove old version (diff)
downloadgentoo-51baf78182576a1390d01656346280c5ef979612.tar.gz
gentoo-51baf78182576a1390d01656346280c5ef979612.tar.bz2
gentoo-51baf78182576a1390d01656346280c5ef979612.zip
dev-python/notebook_shim: Bump to 0.2.2
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.2.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/notebook_shim/Manifest b/dev-python/notebook_shim/Manifest
index c54511b25daa..5805fea7f18d 100644
--- a/dev-python/notebook_shim/Manifest
+++ b/dev-python/notebook_shim/Manifest
@@ -1,2 +1,3 @@
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
+DIST notebook_shim-0.2.2.tar.gz 12947 BLAKE2B 5a04944be3f8de7bd7b1c10f59d73869b7aed670c3afebf79e7780d5992f9af2929529498604c1a5c0d164467681ffa0e8924e1c9a7945e52ae353bdb710c7bc SHA512 42cf9153495e4ab8230ef560d36381a5aa1d9bbd583ed140e04e9850f4a82bab06ecf36e45b88595e8686d8122c9a52eee8133a7f1b622d75d326ebf36519d30
diff --git a/dev-python/notebook_shim/notebook_shim-0.2.2.ebuild b/dev-python/notebook_shim/notebook_shim-0.2.2.ebuild
new file mode 100644
index 000000000000..17126685a250
--- /dev/null
+++ b/dev-python/notebook_shim/notebook_shim-0.2.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+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_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -p pytest_tornasync.plugin
+}