From 49600b1d3891c41eb743d32a988bf2863ef8fe9a Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Wed, 13 Oct 2021 21:56:46 +0300 Subject: dev-python/python-libevdev: enable py3.10, use d_e_t Signed-off-by: Arthur Zamarin --- dev-python/python-libevdev/python-libevdev-0.9.ebuild | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'dev-python/python-libevdev/python-libevdev-0.9.ebuild') diff --git a/dev-python/python-libevdev/python-libevdev-0.9.ebuild b/dev-python/python-libevdev/python-libevdev-0.9.ebuild index a01db655c3fb..f3aa23875acf 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 -- cgit v1.2.3