summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-01-29 11:12:58 +0100
committerMichał Górny <mgorny@gentoo.org>2024-01-29 11:24:50 +0100
commit3f565cfcacbb065f912f10760ccae1fa2b5420fa (patch)
treeef7da6e385a25a81541452360983e3d4d3a2594a
parentdev-python/reno: Add dev-python/fixtures test dep (diff)
downloadgentoo-3f565cfcacbb065f912f10760ccae1fa2b5420fa.tar.gz
gentoo-3f565cfcacbb065f912f10760ccae1fa2b5420fa.tar.bz2
gentoo-3f565cfcacbb065f912f10760ccae1fa2b5420fa.zip
dev-python/sphinx-bootstrap-theme: Add a test dep on sphinx
Closes: https://bugs.gentoo.org/923236 Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/sphinx-bootstrap-theme/sphinx-bootstrap-theme-0.8.1.ebuild10
1 files changed, 9 insertions, 1 deletions
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