dev-python/nbval: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-03-22 04:35:07 +01:00
parent 3e075f9b44
commit 3e3421a7e9
2 changed files with 0 additions and 63 deletions

View File

@@ -1,2 +1 @@
DIST nbval-0.10.0.tar.gz 62727 BLAKE2B 5b8d2815ec38481da1c0b3b5b62f809a231c4d136499b73ef13dba6a5214c87a5d4f77db1d81488e1bf13bd3ff365414e75760763a56a3cc28e752dd316ac009 SHA512 3e0e495db40aa4969e03ed1359f0c509b7470a54b3d8b6a85731601af5da0407bd44b3f069178f1a6b3aca7bf243747aaeaca4cb2332912e917e360f705eae61
DIST nbval-0.11.0.tar.gz 62718 BLAKE2B c1f82c1333dadc348dd53008c554a07783ff0031b96b48127adffba47195a0b7f5591531443e24846337806e071ff0fa6b1c66d516feddbc26119a3292fe52fd SHA512 f47cfce7261612e59d61d0f9e4bc51fcc5d0305377f830e09ddd8b4e9854cff801a626431b4014f470457d55824c0424d5fec9d104cd9b0f36adb44fa72db757

View File

@@ -1,62 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 python3_{10..12} )
inherit distutils-r1 pypi
DESCRIPTION="A pytest plugin to validate Jupyter notebooks"
HOMEPAGE="
https://github.com/computationalmodelling/nbval/
https://pypi.org/project/nbval/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
RDEPEND="
dev-python/coverage[${PYTHON_USEDEP}]
dev-python/ipykernel[${PYTHON_USEDEP}]
dev-python/jupyter-client[${PYTHON_USEDEP}]
dev-python/nbformat[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
$(python_gen_cond_dep '
dev-python/sympy[${PYTHON_USEDEP}]
' python3_{10..11})
)
doc? (
virtual/pandoc
)
"
distutils_enable_tests pytest
distutils_enable_sphinx docs/source \
dev-python/sphinx-rtd-theme \
dev-python/numpy \
dev-python/nbsphinx \
dev-python/matplotlib
python_test() {
local EPYTEST_IGNORE=(
# Mocker not packaged
tests/test_nbdime_reporter.py
tests/test_coverage.py
)
local EPYTEST_DESELECT=()
if ! has_version "dev-python/sympy[${PYTHON_USEDEP}]"; then
EPYTEST_DESELECT+=(
"tests/test_unit_tests_in_notebooks.py::test_print[${S}/tests/ipynb-test-samples/test-latex-pass-failsbutignoreoutput.ipynb]"
"tests/test_unit_tests_in_notebooks.py::test_print[${S}/tests/ipynb-test-samples/test-latex-pass-correctouput.ipynb]"
)
fi
PYTHONPATH=. epytest # 895258
}