1 |
commit: 49600b1d3891c41eb743d32a988bf2863ef8fe9a |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 13 18:56:46 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 13 19:02:12 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49600b1d |
7 |
|
8 |
dev-python/python-libevdev: enable py3.10, use d_e_t |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/python-libevdev/python-libevdev-0.9.ebuild | 12 +++--------- |
13 |
1 file changed, 3 insertions(+), 9 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/python-libevdev/python-libevdev-0.9.ebuild b/dev-python/python-libevdev/python-libevdev-0.9.ebuild |
16 |
index a01db655c3f..f3aa23875ac 100644 |
17 |
--- a/dev-python/python-libevdev/python-libevdev-0.9.ebuild |
18 |
+++ b/dev-python/python-libevdev/python-libevdev-0.9.ebuild |
19 |
@@ -2,8 +2,8 @@ |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
|
22 |
EAPI=7 |
23 |
-PYTHON_COMPAT=( python3_{7..9} ) |
24 |
|
25 |
+PYTHON_COMPAT=( python3_{8..10} ) |
26 |
inherit distutils-r1 |
27 |
|
28 |
DESCRIPTION="Python wrappers for the libevdev library" |
29 |
@@ -13,14 +13,8 @@ SRC_URI="https://gitlab.freedesktop.org/libevdev/${PN}/-/archive/${PV}/${P}.tar. |
30 |
LICENSE="MIT" |
31 |
SLOT="0" |
32 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" |
33 |
-IUSE="test" |
34 |
-RESTRICT="!test? ( test )" |
35 |
|
36 |
-DEPEND=" |
37 |
- test? ( dev-libs/libevdev ) |
38 |
-" |
39 |
+BDEPEND="test? ( dev-libs/libevdev )" |
40 |
PDEPEND="dev-libs/libevdev" |
41 |
|
42 |
-python_test() { |
43 |
- esetup.py test |
44 |
-} |
45 |
+distutils_enable_tests unittest |