summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2023-01-29 13:08:56 +0100
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2023-01-29 13:09:14 +0100
commit46a72e7c530b5f6847b6b711386f178a63a0bd55 (patch)
tree97e71c6b601d1914da4742ca14ccf020889f1dbb /dev-python
parentsys-fs/lvm2: fix botched musl patch on glibc (diff)
downloadgentoo-46a72e7c530b5f6847b6b711386f178a63a0bd55.tar.gz
gentoo-46a72e7c530b5f6847b6b711386f178a63a0bd55.tar.bz2
gentoo-46a72e7c530b5f6847b6b711386f178a63a0bd55.zip
dev-python/nbval: add 0.10.0
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/nbval/Manifest1
-rw-r--r--dev-python/nbval/nbval-0.10.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/nbval/Manifest b/dev-python/nbval/Manifest
index b8719d1548a3..954354fc1053 100644
--- a/dev-python/nbval/Manifest
+++ b/dev-python/nbval/Manifest
@@ -1 +1,2 @@
+DIST nbval-0.10.0.tar.gz 62727 BLAKE2B 5b8d2815ec38481da1c0b3b5b62f809a231c4d136499b73ef13dba6a5214c87a5d4f77db1d81488e1bf13bd3ff365414e75760763a56a3cc28e752dd316ac009 SHA512 3e0e495db40aa4969e03ed1359f0c509b7470a54b3d8b6a85731601af5da0407bd44b3f069178f1a6b3aca7bf243747aaeaca4cb2332912e917e360f705eae61
DIST nbval-0.9.6.tar.gz 60932 BLAKE2B 77f283279e16e03ec87f250b2012aabd8f580e24b222efcb0b21d9b0dadc381cea3c4a3f96a85df0104da86911de66e6c21bfd3985801fa9c3d8764b2fb26183 SHA512 d4261fc30e197e7350c07504649f0230751b5ed746fe4626b92c5920032dc15abe47ad421c93f4762e93a8b6afcbca440ca006bfd1cdbcba37d131c4e6decaa7
diff --git a/dev-python/nbval/nbval-0.10.0.ebuild b/dev-python/nbval/nbval-0.10.0.ebuild
new file mode 100644
index 000000000000..df76860af4f9
--- /dev/null
+++ b/dev-python/nbval/nbval-0.10.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..10} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="A pytest plugin to validate Jupyter notebooks"
+HOMEPAGE="https://github.com/computationalmodelling/nbval"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/coverage[${PYTHON_USEDEP}]
+ dev-python/ipykernel[${PYTHON_USEDEP}]
+ dev-python/jupyter_client[${PYTHON_USEDEP}]
+ dev-python/nbformat[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/nbdime[${PYTHON_USEDEP}]
+ dev-python/sympy[${PYTHON_USEDEP}]
+ )
+ doc? (
+ virtual/pandoc
+ )
+"
+
+EPYTEST_IGNORE=(
+ # Mocker not packaged
+ tests/test_nbdime_reporter.py
+
+ tests/test_coverage.py
+)
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs/source \
+ dev-python/sphinx_rtd_theme \
+ dev-python/numpy \
+ dev-python/nbsphinx \
+ dev-python/matplotlib