commit:     49600b1d3891c41eb743d32a988bf2863ef8fe9a
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 13 18:56:46 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 13 19:02:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49600b1d

dev-python/python-libevdev: enable py3.10, use d_e_t

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/python-libevdev/python-libevdev-0.9.ebuild | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/dev-python/python-libevdev/python-libevdev-0.9.ebuild 
b/dev-python/python-libevdev/python-libevdev-0.9.ebuild
index a01db655c3f..f3aa23875ac 100644
--- a/dev-python/python-libevdev/python-libevdev-0.9.ebuild
+++ b/dev-python/python-libevdev/python-libevdev-0.9.ebuild
@@ -2,8 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
 
+PYTHON_COMPAT=( python3_{8..10} )
 inherit distutils-r1
 
 DESCRIPTION="Python wrappers for the libevdev library"
@@ -13,14 +13,8 @@ 
SRC_URI="https://gitlab.freedesktop.org/libevdev/${PN}/-/archive/${PV}/${P}.tar.
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc 
x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
-DEPEND="
-       test? ( dev-libs/libevdev )
-"
+BDEPEND="test? ( dev-libs/libevdev )"
 PDEPEND="dev-libs/libevdev"
 
-python_test() {
-       esetup.py test
-}
+distutils_enable_tests unittest

Reply via email to