commit: 3f565cfcacbb065f912f10760ccae1fa2b5420fa Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Jan 29 10:12:58 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Jan 29 10:24:50 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f565cfc
dev-python/sphinx-bootstrap-theme: Add a test dep on sphinx Closes: https://bugs.gentoo.org/923236 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> .../sphinx-bootstrap-theme/sphinx-bootstrap-theme-0.8.1.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dev-python/sphinx-bootstrap-theme/sphinx-bootstrap-theme-0.8.1.ebuild b/dev-python/sphinx-bootstrap-theme/sphinx-bootstrap-theme-0.8.1.ebuild index 11ec27c0ee0d..137ceb158040 100644 --- a/dev-python/sphinx-bootstrap-theme/sphinx-bootstrap-theme-0.8.1.ebuild +++ b/dev-python/sphinx-bootstrap-theme/sphinx-bootstrap-theme-0.8.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,6 +22,14 @@ SRC_URI=" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-python/sphinx[${PYTHON_USEDEP}] + ) +" python_test() { cd demo || die