diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-01-28 10:17:47 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-01-28 10:49:07 +0100 |
commit | a85894d2ccad88c76a6f22abacc1da02e8667cbe (patch) | |
tree | 6c4cc3bcb06741d03bb3fc798e208d62b9bd84fb | |
parent | net-analyzer/nagstamon: drop 3.10.1 (diff) | |
download | gentoo-a85894d2ccad88c76a6f22abacc1da02e8667cbe.tar.gz gentoo-a85894d2ccad88c76a6f22abacc1da02e8667cbe.tar.bz2 gentoo-a85894d2ccad88c76a6f22abacc1da02e8667cbe.zip |
net-analyzer/nagstamon: run tests in a virtual X environment
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r-- | net-analyzer/nagstamon/nagstamon-3.12.0.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/net-analyzer/nagstamon/nagstamon-3.12.0.ebuild b/net-analyzer/nagstamon/nagstamon-3.12.0.ebuild index a162f8f7d2a3..132181cc389e 100644 --- a/net-analyzer/nagstamon/nagstamon-3.12.0.ebuild +++ b/net-analyzer/nagstamon/nagstamon-3.12.0.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 @@ -6,7 +6,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..11} ) DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 +inherit distutils-r1 virtualx distutils_enable_tests pytest @@ -58,3 +58,7 @@ src_prepare() { rm -rf "${S}/Nagstamon/thirdparty/Xlib/" || die } + +python_test() { + virtx epytest +} |