Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nbval/
Date: Sun, 29 Jan 2023 12:09:26
Message-Id: 1674994154.46a72e7c530b5f6847b6b711386f178a63a0bd55.andrewammerlaan@gentoo
1 commit: 46a72e7c530b5f6847b6b711386f178a63a0bd55
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 29 12:08:56 2023 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 29 12:09:14 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46a72e7c
7
8 dev-python/nbval: add 0.10.0
9
10 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
11
12 dev-python/nbval/Manifest | 1 +
13 dev-python/nbval/nbval-0.10.0.ebuild | 46 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 47 insertions(+)
15
16 diff --git a/dev-python/nbval/Manifest b/dev-python/nbval/Manifest
17 index b8719d1548a3..954354fc1053 100644
18 --- a/dev-python/nbval/Manifest
19 +++ b/dev-python/nbval/Manifest
20 @@ -1 +1,2 @@
21 +DIST nbval-0.10.0.tar.gz 62727 BLAKE2B 5b8d2815ec38481da1c0b3b5b62f809a231c4d136499b73ef13dba6a5214c87a5d4f77db1d81488e1bf13bd3ff365414e75760763a56a3cc28e752dd316ac009 SHA512 3e0e495db40aa4969e03ed1359f0c509b7470a54b3d8b6a85731601af5da0407bd44b3f069178f1a6b3aca7bf243747aaeaca4cb2332912e917e360f705eae61
22 DIST nbval-0.9.6.tar.gz 60932 BLAKE2B 77f283279e16e03ec87f250b2012aabd8f580e24b222efcb0b21d9b0dadc381cea3c4a3f96a85df0104da86911de66e6c21bfd3985801fa9c3d8764b2fb26183 SHA512 d4261fc30e197e7350c07504649f0230751b5ed746fe4626b92c5920032dc15abe47ad421c93f4762e93a8b6afcbca440ca006bfd1cdbcba37d131c4e6decaa7
23
24 diff --git a/dev-python/nbval/nbval-0.10.0.ebuild b/dev-python/nbval/nbval-0.10.0.ebuild
25 new file mode 100644
26 index 000000000000..df76860af4f9
27 --- /dev/null
28 +++ b/dev-python/nbval/nbval-0.10.0.ebuild
29 @@ -0,0 +1,46 @@
30 +# Copyright 1999-2023 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{9..10} )
36 +DISTUTILS_USE_PEP517=setuptools
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="A pytest plugin to validate Jupyter notebooks"
40 +HOMEPAGE="https://github.com/computationalmodelling/nbval"
41 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="BSD"
44 +SLOT="0"
45 +KEYWORDS="~amd64"
46 +
47 +RDEPEND="
48 + dev-python/coverage[${PYTHON_USEDEP}]
49 + dev-python/ipykernel[${PYTHON_USEDEP}]
50 + dev-python/jupyter_client[${PYTHON_USEDEP}]
51 + dev-python/nbformat[${PYTHON_USEDEP}]
52 +"
53 +BDEPEND="
54 + test? (
55 + dev-python/nbdime[${PYTHON_USEDEP}]
56 + dev-python/sympy[${PYTHON_USEDEP}]
57 + )
58 + doc? (
59 + virtual/pandoc
60 + )
61 +"
62 +
63 +EPYTEST_IGNORE=(
64 + # Mocker not packaged
65 + tests/test_nbdime_reporter.py
66 +
67 + tests/test_coverage.py
68 +)
69 +
70 +distutils_enable_tests pytest
71 +distutils_enable_sphinx docs/source \
72 + dev-python/sphinx_rtd_theme \
73 + dev-python/numpy \
74 + dev-python/nbsphinx \
75 + dev-python/matplotlib