commit:     bb074d903ed1ed3c9de3747179e5afb4f3f62cc1
Author:     Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com>
AuthorDate: Mon Jan  3 21:20:45 2022 +0000
Commit:     Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com>
CommitDate: Mon Jan  3 21:23:09 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bb074d90

dev-python/python-dbus-next: add docs

Signed-off-by: Viorel Munteanu <ceamac.paragon <AT> gmail.com>

 dev-python/python-dbus-next/python-dbus-next-0.2.3.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/dev-python/python-dbus-next/python-dbus-next-0.2.3.ebuild 
b/dev-python/python-dbus-next/python-dbus-next-0.2.3.ebuild
index 491730ce4..69c1c0ebc 100644
--- a/dev-python/python-dbus-next/python-dbus-next-0.2.3.ebuild
+++ b/dev-python/python-dbus-next/python-dbus-next-0.2.3.ebuild
@@ -20,10 +20,18 @@ KEYWORDS="~amd64 ~x86"
 
 DEPEND=""
 RDEPEND="${DEPEND}"
-BDEPEND=""
+BDEPEND="
+       doc? (
+               dev-python/sphinxcontrib-asyncio
+               dev-python/sphinxcontrib-fulltoc
+       )
+       test? ( dev-python/pytest-asyncio )
+"
 
 distutils_enable_tests pytest
+distutils_enable_sphinx docs
 
 # some tests fail with:
 # dbus_next.errors.InvalidAddressError: DBUS_SESSION_BUS_ADDRESS not set and 
could not get DISPLAY environment variable to get bus addres
+# or require certain services to be installed (like 
org.freedesktop.DBus.Debug.Stats)
 RESTRICT="test"

Reply via email to