Diff libwacom-2.7.0 with a libwacom-2.8.0
/usr/portage/dev-libs/libwacom/libwacom-2.8.0.ebuild 2023-10-09 14:52:29.532368351 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
PYTHON_COMPAT=( python3_{9..11} ) |
|
6 |
PYTHON_COMPAT=( python3_{10..11} ) |
|
7 | 7 |
inherit meson python-any-r1 udev |
8 | 8 | |
9 | 9 |
DESCRIPTION="Library for identifying Wacom tablets and their model-specific features" |
... | ... | |
12 | 12 | |
13 | 13 |
LICENSE="MIT" |
14 | 14 |
SLOT="0/9" # libwacom SONAME |
15 |
KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ppc ppc64 sparc x86" |
|
15 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
|
16 | 16 |
IUSE="doc test" |
17 | 17 |
RESTRICT="!test? ( test )" |
18 | 18 | |
... | ... | |
22 | 22 |
" |
23 | 23 |
DEPEND="${RDEPEND}" |
24 | 24 |
BDEPEND=" |
25 |
${PYTHON_DEPS} |
|
25 | 26 |
virtual/pkgconfig |
26 | 27 |
doc? ( app-doc/doxygen ) |
27 | 28 |
test? ( |
28 |
${PYTHON_DEPS} |
|
29 | 29 |
$(python_gen_any_dep ' |
30 | 30 |
dev-python/python-libevdev[${PYTHON_USEDEP}] |
31 | 31 |
dev-python/pyudev[${PYTHON_USEDEP}] |
... | ... | |
35 | 35 |
" |
36 | 36 | |
37 | 37 |
python_check_deps() { |
38 |
python_has_version "dev-python/python-libevdev[${PYTHON_USEDEP}]" && |
|
39 |
python_has_version "dev-python/pyudev[${PYTHON_USEDEP}]" && |
|
40 |
python_has_version "dev-python/pytest[${PYTHON_USEDEP}]" |
|
41 |
} |
|
42 | ||
43 |
pkg_setup() { |
|
44 |
if use test; then |
|
45 |
python-any-r1_pkg_setup |
|
46 |
fi |
|
38 |
use test || return 0 |
|
39 |
python_has_version \ |
|
40 |
"dev-python/python-libevdev[${PYTHON_USEDEP}]" \ |
|
41 |
"dev-python/pyudev[${PYTHON_USEDEP}]" \ |
|
42 |
"dev-python/pytest[${PYTHON_USEDEP}]" |
|
47 | 43 |
} |
48 | 44 | |
49 | 45 |
src_prepare() { |