From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nbval/
Date: Mon, 4 Mar 2024 16:26:24 +0000 (UTC) [thread overview]
Message-ID: <1709569579.4bdfac9ab6ac7c199c27f9a74f0b1a923b0cb987.mgorny@gentoo> (raw)
commit: 4bdfac9ab6ac7c199c27f9a74f0b1a923b0cb987
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 4 15:55:18 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar 4 16:26:19 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bdfac9a
dev-python/nbval: Bump to 0.11.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/nbval/Manifest | 1 +
dev-python/nbval/nbval-0.11.0.ebuild | 62 ++++++++++++++++++++++++++++++++++++
2 files changed, 63 insertions(+)
diff --git a/dev-python/nbval/Manifest b/dev-python/nbval/Manifest
index 02fcdac85b9a..c7ee8ff9798a 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.11.0.tar.gz 62718 BLAKE2B c1f82c1333dadc348dd53008c554a07783ff0031b96b48127adffba47195a0b7f5591531443e24846337806e071ff0fa6b1c66d516feddbc26119a3292fe52fd SHA512 f47cfce7261612e59d61d0f9e4bc51fcc5d0305377f830e09ddd8b4e9854cff801a626431b4014f470457d55824c0424d5fec9d104cd9b0f36adb44fa72db757
diff --git a/dev-python/nbval/nbval-0.11.0.ebuild b/dev-python/nbval/nbval-0.11.0.ebuild
new file mode 100644
index 000000000000..2bdb688af430
--- /dev/null
+++ b/dev-python/nbval/nbval-0.11.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2024 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="
+ doc? (
+ virtual/pandoc
+ )
+ test? (
+ $(python_gen_cond_dep '
+ dev-python/sympy[${PYTHON_USEDEP}]
+ ' python3_{10..12})
+ )
+"
+
+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
+}
next reply other threads:[~2024-03-04 16:26 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-04 16:26 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-07 12:45 [gentoo-commits] repo/gentoo:master commit in: dev-python/nbval/ Michał Górny
2024-12-05 14:54 Nowa Ammerlaan
2024-03-21 17:45 Arthur Zamarin
2023-11-20 19:29 Michał Górny
2023-11-20 19:29 Michał Górny
2023-10-24 17:51 Michał Górny
2023-10-15 15:46 Michał Górny
2023-06-13 18:23 Arthur Zamarin
2023-05-06 10:22 Michał Górny
2023-05-06 9:58 Arthur Zamarin
2023-05-01 7:16 Arthur Zamarin
2023-05-01 7:16 Arthur Zamarin
2023-04-23 22:12 Sam James
2023-04-23 9:44 Jakov Smolić
2023-04-23 9:44 Jakov Smolić
2023-04-22 19:44 Sam James
2023-04-22 16:44 Arthur Zamarin
2023-04-16 12:11 WANG Xuerui
2023-04-14 22:30 Sam James
2023-04-14 21:02 Sam James
2023-04-14 20:43 Sam James
2023-04-14 20:25 Sam James
2023-04-14 20:07 Sam James
2023-04-14 4:19 Sam James
2023-04-14 4:05 Sam James
2023-03-16 4:03 Michał Górny
2023-03-11 6:37 Yixun Lan
2023-03-08 19:36 Andrew Ammerlaan
2023-02-18 10:21 Sam James
2023-01-29 12:09 Andrew Ammerlaan
2021-12-28 14:15 Andrew Ammerlaan
2021-03-05 9:09 Andreas Sturmlechner
2021-03-04 10:42 Agostino Sarubbo
2021-03-03 16:17 Sam James
2021-03-03 14:15 Sam James
2020-09-06 0:40 Thomas Deutschmann
2020-09-05 6:08 Michał Górny
2020-09-02 9:12 Michał Górny
2020-03-28 9:20 Michał Górny
2019-12-15 14:50 Agostino Sarubbo
2019-05-04 22:58 Virgil Dupras
2017-11-30 14:47 Patrice Clement
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1709569579.4bdfac9ab6ac7c199c27f9a74f0b1a923b0cb987.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox