Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinx-gallery/
Date: Sat, 25 Sep 2021 07:45:56
Message-Id: 1632555914.63fdc8dfa3369b282341cc1193990af19120ab05.mgorny@gentoo
1 commit: 63fdc8dfa3369b282341cc1193990af19120ab05
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 25 06:36:03 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 25 07:45:14 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63fdc8df
7
8 dev-python/sphinx-gallery: Bump to 0.10.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/sphinx-gallery/Manifest | 1 +
13 .../sphinx-gallery/sphinx-gallery-0.10.0.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 9a7d3f3788e..cdea7600f38 100644
18 --- a/dev-python/sphinx-gallery/Manifest
19 +++ b/dev-python/sphinx-gallery/Manifest
20 @@ -1 +1,2 @@
21 +DIST sphinx-gallery-0.10.0.tar.gz 6544847 BLAKE2B c7ca0398b4a2c0090a9c6154b7aa068e05d4eef832a756693b07a23902d1c2e54bbcdb19c108a261555a12646b6fc5fa2314e0337ad8637c4d63173338189054 SHA512 9aa56966ec137f678187383440c0949fb1f91e88c66ad297efd48329627b9891c2d668a2472b071d9352cc22d717e41a5088884fa89a26707c5399dca7cc7237
22 DIST sphinx-gallery-0.9.0.tar.gz 6530860 BLAKE2B 925a745a9bedaa98cf03fbd66bdb87e5c147543a21944d827f738ea1a8bc657a01f0eba2fa5abe64f7bd3632bef604d9490740f2b6fe5100bba92aeb93f3eaf3 SHA512 e511100c5add06de681b0682c90b3e914d49625c63391896dfdec8e6f6f378cfc65fc3425d4216ee0ebbdd4feb3397517ca40a838947b31257654fff2b8a7e8a
23
24 diff --git a/dev-python/sphinx-gallery/sphinx-gallery-0.10.0.ebuild b/dev-python/sphinx-gallery/sphinx-gallery-0.10.0.ebuild
25 new file mode 100644
26 index 00000000000..01bce9304f3
27 --- /dev/null
28 +++ b/dev-python/sphinx-gallery/sphinx-gallery-0.10.0.ebuild
29 @@ -0,0 +1,44 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +PYTHON_COMPAT=( python3_{7..9} )
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Sphinx extension to automatically generate an examples gallery"
40 +HOMEPAGE="
41 + https://sphinx-gallery.github.io/
42 + https://github.com/sphinx-gallery/sphinx-gallery"
43 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 +
45 +LICENSE="BSD"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
48 +IUSE=""
49 +
50 +RDEPEND="
51 + dev-python/matplotlib[${PYTHON_USEDEP}]
52 + dev-python/pillow[${PYTHON_USEDEP}]
53 + dev-python/sphinx[${PYTHON_USEDEP}]
54 +"
55 +BDEPEND="
56 + test? (
57 + dev-python/joblib[${PYTHON_USEDEP}]
58 + )
59 +"
60 +
61 +distutils_enable_tests pytest
62 +
63 +src_prepare() {
64 + sed -i -e 's:--cov-report= --cov=sphinx_gallery::' setup.cfg || die
65 + distutils-r1_src_prepare
66 +}
67 +
68 +EPYTEST_DESELECT=(
69 + # Internet
70 + sphinx_gallery/tests/test_docs_resolv.py::test_embed_code_links_get_data
71 + sphinx_gallery/tests/test_full.py::test_run_sphinx
72 + sphinx_gallery/tests/test_full.py::test_embed_links_and_styles
73 +)