commit:     0a4405e25ab28fcf3703a509292ad1eda5452a44
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 12 02:48:18 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 12 02:49:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a4405e2

net-misc/nyx: add Python 3.9, enable tests

Thanks-to: Andrew Foster <gentoothings <AT> liquid.me.uk>
Closes: https://github.com/gentoo/gentoo/pull/21184
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/nyx/nyx-2.1.0-r2.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-misc/nyx/nyx-2.1.0-r2.ebuild b/net-misc/nyx/nyx-2.1.0-r2.ebuild
index bdfe4377ba8..e3daaf75fa0 100644
--- a/net-misc/nyx/nyx-2.1.0-r2.ebuild
+++ b/net-misc/nyx/nyx-2.1.0-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=(python3_{7,8} pypy3)
+PYTHON_COMPAT=(python3_{7,8,9} pypy3)
 PYTHON_REQ_USE='ncurses,sqlite(-)'
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
@@ -21,9 +21,9 @@ fi
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
 RDEPEND="
        net-libs/stem[${PYTHON_USEDEP}]
        net-vpn/tor"
+
+distutils_enable_tests unittest

Reply via email to