sys-process/glances: disable checking for irq plugin during tests
authorGeorgy Yakovlev <gyakovlev@gentoo.org>
Sat, 2 May 2020 18:28:38 +0000 (11:28 -0700)
committerGeorgy Yakovlev <gyakovlev@gentoo.org>
Sat, 2 May 2020 18:29:05 +0000 (11:29 -0700)
it may be not loaded and test will fail

Bug: https://bugs.gentoo.org/720416
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
sys-process/glances/glances-3.1.4.1.ebuild

index 031f65f3253a1ad60883d4f10645123a321ecd48..0f363179037f525fc426413139b3f869bdaf7236 100644 (file)
@@ -31,7 +31,6 @@ distutils_enable_tests setup.py
 distutils_enable_sphinx docs --no-autodoc
 
 pkg_setup() {
-       echo $DISTUTILS_USE_SETUPTOOLS
        linux-info_pkg_setup
 }
 
@@ -43,7 +42,7 @@ python_prepare_all() {
                -e "s/'CONTRIBUTING.md',//" \
                -e "s:'conf/glances.conf':('${EPREFIX}/etc/glances', ['conf/glances.conf':g" \
                -i setup.py || die
-
+       sed -i "s/, 'irq']/]/" unitest.py || die
        distutils-r1_python_prepare_all
 }