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

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2021-10-13 21:56:46 +03:00
parent 23c11cf0a7
commit 49600b1d38

View File

@@ -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