diff --git a/dev-python/sphinxext-opengraph/sphinxext-opengraph-0.9.1.ebuild b/dev-python/sphinxext-opengraph/sphinxext-opengraph-0.9.1.ebuild index 5b2dd5dbe3..d079434205 100644 --- a/dev-python/sphinxext-opengraph/sphinxext-opengraph-0.9.1.ebuild +++ b/dev-python/sphinxext-opengraph/sphinxext-opengraph-0.9.1.ebuild @@ -27,7 +27,10 @@ RDEPEND=" dev-python/sphinx-design[${PYTHON_USEDEP}] dev-python/matplotlib[${PYTHON_USEDEP}] " -BDEPEND="${RDEPEND}" -DEPEND="${RDEPEND}" +BDEPEND=" + doc? ( + ${RDEPEND} + ) +" distutils_enable_tests pytest