commit:     9a6b9601f9d481cbb92d9aeed667b7a1857f3e60
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 25 09:52:03 2021 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Jun 25 09:52:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9a6b9601

x11-misc/autorandr: use distutils-r1

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 x11-misc/autorandr/autorandr-1.11.ebuild | 11 ++++++++---
 x11-misc/autorandr/autorandr-9999.ebuild | 11 ++++++++---
 2 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/x11-misc/autorandr/autorandr-1.11.ebuild 
b/x11-misc/autorandr/autorandr-1.11.ebuild
index 0b461bc82..badd9b87c 100644
--- a/x11-misc/autorandr/autorandr-1.11.ebuild
+++ b/x11-misc/autorandr/autorandr-1.11.ebuild
@@ -3,7 +3,9 @@
 
 EAPI=7
 
-inherit bash-completion-r1 systemd udev
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit bash-completion-r1 distutils-r1 systemd udev
 
 if [[ "${PV}" = "9999" ]] ; then
        inherit git-r3
@@ -18,7 +20,7 @@ HOMEPAGE="https://github.com/phillipberndt/autorandr";
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="bash-completion +launcher systemd udev"
+IUSE="bash-completion launcher systemd udev"
 
 RDEPEND="
        launcher? ( x11-libs/libxcb )
@@ -30,16 +32,19 @@ DEPEND="
 "
 
 src_compile() {
+       distutils-r1_src_compile
+
        if use launcher; then
                emake contrib/autorandr_launcher/autorandr-launcher
        fi
 }
 
 src_install() {
+       distutils-r1_src_install
+
        doman autorandr.1
 
        local targets=(
-               autorandr
                autostart_config
                $(usex bash-completion bash_completion "")
                $(usev launcher)

diff --git a/x11-misc/autorandr/autorandr-9999.ebuild 
b/x11-misc/autorandr/autorandr-9999.ebuild
index 0b461bc82..badd9b87c 100644
--- a/x11-misc/autorandr/autorandr-9999.ebuild
+++ b/x11-misc/autorandr/autorandr-9999.ebuild
@@ -3,7 +3,9 @@
 
 EAPI=7
 
-inherit bash-completion-r1 systemd udev
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit bash-completion-r1 distutils-r1 systemd udev
 
 if [[ "${PV}" = "9999" ]] ; then
        inherit git-r3
@@ -18,7 +20,7 @@ HOMEPAGE="https://github.com/phillipberndt/autorandr";
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="bash-completion +launcher systemd udev"
+IUSE="bash-completion launcher systemd udev"
 
 RDEPEND="
        launcher? ( x11-libs/libxcb )
@@ -30,16 +32,19 @@ DEPEND="
 "
 
 src_compile() {
+       distutils-r1_src_compile
+
        if use launcher; then
                emake contrib/autorandr_launcher/autorandr-launcher
        fi
 }
 
 src_install() {
+       distutils-r1_src_install
+
        doman autorandr.1
 
        local targets=(
-               autorandr
                autostart_config
                $(usex bash-completion bash_completion "")
                $(usev launcher)

Reply via email to