mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-31 09:08:08 -07:00
x11-base/xorg-proto: use python_has_version
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -30,17 +30,16 @@ SLOT="0"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
BDEPEND="
|
||||
test? (
|
||||
$(python_gen_any_dep '
|
||||
dev-python/python-libevdev[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
"
|
||||
RDEPEND=""
|
||||
|
||||
python_check_deps() {
|
||||
has_version -b "dev-python/python-libevdev[${PYTHON_USEDEP}]"
|
||||
python_has_version "dev-python/python-libevdev[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
|
||||
@@ -30,17 +30,16 @@ SLOT="0"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
BDEPEND="
|
||||
test? (
|
||||
$(python_gen_any_dep '
|
||||
dev-python/python-libevdev[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
"
|
||||
RDEPEND=""
|
||||
|
||||
python_check_deps() {
|
||||
has_version -b "dev-python/python-libevdev[${PYTHON_USEDEP}]"
|
||||
python_has_version "dev-python/python-libevdev[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
|
||||
@@ -30,7 +30,7 @@ SLOT="0"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
BDEPEND="
|
||||
test? (
|
||||
$(python_gen_any_dep '
|
||||
dev-python/python-libevdev[${PYTHON_USEDEP}]
|
||||
@@ -40,7 +40,7 @@ DEPEND="
|
||||
RDEPEND=""
|
||||
|
||||
python_check_deps() {
|
||||
has_version -b "dev-python/python-libevdev[${PYTHON_USEDEP}]"
|
||||
python_has_version "dev-python/python-libevdev[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
|
||||
Reference in New Issue
Block a user