commit:     0d75b67d3dc35f237af79d93b71a84bdbe61f4d3
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 13 07:25:43 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 20 15:52:24 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d75b67d

x11-base/xorg-proto: use python_has_version

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 x11-base/xorg-proto/xorg-proto-2022.1.ebuild | 5 ++---
 x11-base/xorg-proto/xorg-proto-2022.2.ebuild | 5 ++---
 x11-base/xorg-proto/xorg-proto-9999.ebuild   | 4 ++--
 3 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/x11-base/xorg-proto/xorg-proto-2022.1.ebuild 
b/x11-base/xorg-proto/xorg-proto-2022.1.ebuild
index cdf53c6454cf..cc92a19d2a28 100644
--- a/x11-base/xorg-proto/xorg-proto-2022.1.ebuild
+++ b/x11-base/xorg-proto/xorg-proto-2022.1.ebuild
@@ -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() {

diff --git a/x11-base/xorg-proto/xorg-proto-2022.2.ebuild 
b/x11-base/xorg-proto/xorg-proto-2022.2.ebuild
index ccbe4831235d..0264a3a486c4 100644
--- a/x11-base/xorg-proto/xorg-proto-2022.2.ebuild
+++ b/x11-base/xorg-proto/xorg-proto-2022.2.ebuild
@@ -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() {

diff --git a/x11-base/xorg-proto/xorg-proto-9999.ebuild 
b/x11-base/xorg-proto/xorg-proto-9999.ebuild
index ccbe4831235d..91976a0a2225 100644
--- a/x11-base/xorg-proto/xorg-proto-9999.ebuild
+++ b/x11-base/xorg-proto/xorg-proto-9999.ebuild
@@ -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() {

Reply via email to