Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pydata-sphinx-theme/
Date: Tue, 06 Oct 2020 09:26:41
Message-Id: 1601976390.c89ce57ac435838ca0e600c4a0c32fe5a9facc67.juippis@gentoo
1 commit: c89ce57ac435838ca0e600c4a0c32fe5a9facc67
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Sun Sep 20 08:47:28 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 6 09:26:30 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c89ce57a
7
8 dev-python/pydata-sphinx-theme: bug fix in test phase
9
10 Closes: https://bugs.gentoo.org/743694
11 Package-Manager: Portage-3.0.7, Repoman-3.0.1
12 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
13 Closes: https://github.com/gentoo/gentoo/pull/17608
14 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
15
16 dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.4.0.ebuild | 6 +++++-
17 1 file changed, 5 insertions(+), 1 deletion(-)
18
19 diff --git a/dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.4.0.ebuild b/dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.4.0.ebuild
20 index cdb917978f5..6a119e929da 100644
21 --- a/dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.4.0.ebuild
22 +++ b/dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.4.0.ebuild
23 @@ -4,7 +4,6 @@
24 EAPI=7
25
26 PYTHON_COMPAT=( python3_{7,8} )
27 -DISTUTILS_USE_SETUPTOOLS=rdepend
28
29 inherit distutils-r1
30
31 @@ -26,3 +25,8 @@ RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]"
32 # ModuleNotFoundError: No module named 'plotly' even if dev-python/plotly is installed
33 #distutils_enable_sphinx docs dev-python/commonmark dev-python/recommonmark dev-python/numpydoc dev-python/jupyter-sphinx dev-python/plotly
34 distutils_enable_tests pytest
35 +
36 +python_test() {
37 + PYTHONPATH="${S}"
38 + pytest -vv || die "Tests failed with ${EPYTHON}"
39 +}