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/pydata-sphinx-theme/
Date: Tue, 26 Jan 2021 21:20:28
Message-Id: 1611695848.805d463e19f8ec16a17226743662e6b1f7e6e547.mgorny@gentoo
1 commit: 805d463e19f8ec16a17226743662e6b1f7e6e547
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 26 21:17:28 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 26 21:17:28 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=805d463e
7
8 dev-python/pydata-sphinx-theme: Bump to 0.4.3
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pydata-sphinx-theme/Manifest | 1 +
13 .../pydata-sphinx-theme-0.4.3.ebuild | 33 ++++++++++++++++++++++
14 2 files changed, 34 insertions(+)
15
16 diff --git a/dev-python/pydata-sphinx-theme/Manifest b/dev-python/pydata-sphinx-theme/Manifest
17 index c818793ab0b..106484f2cdf 100644
18 --- a/dev-python/pydata-sphinx-theme/Manifest
19 +++ b/dev-python/pydata-sphinx-theme/Manifest
20 @@ -1,2 +1,3 @@
21 DIST pydata-sphinx-theme-0.4.1.tar.gz 3279361 BLAKE2B d3538dea9444272f1cb314d8b2bd8656b5114b916f31c4cca078867b02a24c60fc91e5ac367d09335b3ce4b9c9fb44405f61ed70b19ae9fed5d8919fc68f1566 SHA512 dbca1f7bde25c20a5ffb5b37ac808d84c938e6cadb6e0a6bc2d72101993889f4f7be3bdc50488bed1945779d30ca0f131bf74b16be2df00b5fa093f8491fad39
22 DIST pydata-sphinx-theme-0.4.2.tar.gz 3279200 BLAKE2B d1229e0af813fd5f69aa1b4d2f6e1b882f9e469cfd296e16a35e7d9aba4336faf245f0b52053b606be9839e490f690d24624ecc8fe4a3b40a6057081224889dc SHA512 9d786937d5b05e86af779893f28f553b13220e8e208c87235ba311cf830aaf718aafa2142c400b77728c407d6cff4ce66e0c0b9bec91efb61be8f75473c6a1d0
23 +DIST pydata-sphinx-theme-0.4.3.tar.gz 3279359 BLAKE2B c2a57fc7dd70f8d57a0b56bb45907615658b1dbb705f177fd40e04995754180dd637256618b36b0a6ee59e865558eb013d191f2a5f461365f07cf647427056e9 SHA512 9f4f0b1fab88e92302211957df798a7e1bbae034e9935260f94959bba50bc3384ef818ff0cdcd04c3a4b4d09a5285c3d165e35fa3114d6dbb15452cc6895703f
24
25 diff --git a/dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.4.3.ebuild b/dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.4.3.ebuild
26 new file mode 100644
27 index 00000000000..5c75e3b66e5
28 --- /dev/null
29 +++ b/dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.4.3.ebuild
30 @@ -0,0 +1,33 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python3_{7..9} )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Bootstrap-based Sphinx theme from the PyData community"
41 +HOMEPAGE="https://github.com/pandas-dev/pydata-sphinx-theme"
42 +SRC_URI="https://github.com/pandas-dev/pydata-sphinx-theme/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +LICENSE="BSD-with-disclosure"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +
48 +BDEPEND="
49 + test? (
50 + dev-python/beautifulsoup[${PYTHON_USEDEP}]
51 + dev-python/pytest-regressions[${PYTHON_USEDEP}]
52 + )"
53 +
54 +RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]"
55 +
56 +# ModuleNotFoundError: No module named 'plotly' even if dev-python/plotly is installed
57 +#distutils_enable_sphinx docs dev-python/commonmark dev-python/recommonmark dev-python/numpydoc dev-python/jupyter-sphinx dev-python/plotly
58 +distutils_enable_tests pytest
59 +
60 +python_test() {
61 + local -x PYTHONPATH="${S}"
62 + pytest -vv || die "Tests failed with ${EPYTHON}"
63 +}