Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinx-gallery/
Date: Fri, 19 Aug 2022 19:13:11
Message-Id: 1660936377.3cc2b2a2d98e1f90a6e2e2d661bd8706a695a7fa.arthurzam@gentoo
1 commit: 3cc2b2a2d98e1f90a6e2e2d661bd8706a695a7fa
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 19 19:05:48 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 19 19:12:57 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cc2b2a2
7
8 dev-python/sphinx-gallery: add 0.11.1
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/sphinx-gallery/Manifest | 1 +
13 .../sphinx-gallery/sphinx-gallery-0.11.1.ebuild | 44 ++++++++++++++++++++++
14 2 files changed, 45 insertions(+)
15
16 diff --git a/dev-python/sphinx-gallery/Manifest b/dev-python/sphinx-gallery/Manifest
17 index 92a1d6e5108e..f090dc18436b 100644
18 --- a/dev-python/sphinx-gallery/Manifest
19 +++ b/dev-python/sphinx-gallery/Manifest
20 @@ -1,2 +1,3 @@
21 DIST sphinx-gallery-0.10.1.tar.gz 6546135 BLAKE2B 1f4ead74b848f28944820a77717183d845d1fba7459d11fa9bece16c5cd83742e012cce6906f8f5cd357e5c7db01107b6c7c32e2f7d5b7ce46dcd8d6a4b36e9c SHA512 da3b35907782846a58402fddf2a7f507eba76cd708725ff0ba097ec7bda6e9029252c9fb4df6d192aa7f64c6873465d4ff5e634b5c4cc6c4294e0d38c6db2f02
22 DIST sphinx-gallery-0.11.0.tar.gz 395136 BLAKE2B 4380484cb37baeb749469f810cbaf24f51a4f83a24a6ff868d1b8872f58db7b189575e8023926b70c576b029b895e18c3de070d69d20a87c70db5d959ebe8915 SHA512 8c97c9bea3bdeb400715bf7ad36e277c01efd5a5d9a85eaeac397eb1f7066112eaf8ef46cc42226275e50e030bfb1010d7516db70e415fbde953f051f4c3cbf4
23 +DIST sphinx-gallery-0.11.1.tar.gz 393927 BLAKE2B c4c56e7bc7bfc519cd172cd104cfee902524c70de7fe76cc816d8f4612cbdf1a0786e3d5f83ea74ce7c1726eeaea5db45682efa3d873efeac49d94ab1393b9ac SHA512 514139213516851fe09aac4168d8fff72e5ce62eecdb0864f58e45d5fe6eab58b8fda749b72ae98f94b2bf8ac1a917396195d8a4d1750ec1563b30b879b12b8d
24
25 diff --git a/dev-python/sphinx-gallery/sphinx-gallery-0.11.1.ebuild b/dev-python/sphinx-gallery/sphinx-gallery-0.11.1.ebuild
26 new file mode 100644
27 index 000000000000..74dea626257b
28 --- /dev/null
29 +++ b/dev-python/sphinx-gallery/sphinx-gallery-0.11.1.ebuild
30 @@ -0,0 +1,44 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{8..11} )
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Sphinx extension to automatically generate an examples gallery"
41 +HOMEPAGE="
42 + https://sphinx-gallery.github.io/
43 + https://github.com/sphinx-gallery/sphinx-gallery"
44 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 +
46 +LICENSE="BSD"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
49 +IUSE=""
50 +
51 +RDEPEND="
52 + dev-python/matplotlib[${PYTHON_USEDEP}]
53 + dev-python/pillow[${PYTHON_USEDEP}]
54 + dev-python/sphinx[${PYTHON_USEDEP}]
55 +"
56 +BDEPEND="
57 + test? (
58 + dev-python/joblib[${PYTHON_USEDEP}]
59 + )
60 +"
61 +
62 +distutils_enable_tests pytest
63 +
64 +src_prepare() {
65 + sed -i -e 's:--cov-report= --cov=sphinx_gallery::' setup.cfg || die
66 + distutils-r1_src_prepare
67 +}
68 +
69 +EPYTEST_DESELECT=(
70 + # Internet
71 + sphinx_gallery/tests/test_docs_resolv.py::test_embed_code_links_get_data
72 + sphinx_gallery/tests/test_full.py::test_run_sphinx
73 + sphinx_gallery/tests/test_full.py::test_embed_links_and_styles
74 +)