sys-process/glances: disable checking for irq plugin during tests

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>
This commit is contained in:
Georgy Yakovlev
2020-05-02 11:28:38 -07:00
parent c445cdfdd0
commit bb7bdeaf1c

View 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
}