Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: x11-misc/autorandr/
Date: Fri, 25 Jun 2021 09:52:25
Message-Id: 1624614723.9a6b9601f9d481cbb92d9aeed667b7a1857f3e60.flow@gentoo
1 commit: 9a6b9601f9d481cbb92d9aeed667b7a1857f3e60
2 Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 25 09:52:03 2021 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 25 09:52:03 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9a6b9601
7
8 x11-misc/autorandr: use distutils-r1
9
10 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
11
12 x11-misc/autorandr/autorandr-1.11.ebuild | 11 ++++++++---
13 x11-misc/autorandr/autorandr-9999.ebuild | 11 ++++++++---
14 2 files changed, 16 insertions(+), 6 deletions(-)
15
16 diff --git a/x11-misc/autorandr/autorandr-1.11.ebuild b/x11-misc/autorandr/autorandr-1.11.ebuild
17 index 0b461bc82..badd9b87c 100644
18 --- a/x11-misc/autorandr/autorandr-1.11.ebuild
19 +++ b/x11-misc/autorandr/autorandr-1.11.ebuild
20 @@ -3,7 +3,9 @@
21
22 EAPI=7
23
24 -inherit bash-completion-r1 systemd udev
25 +PYTHON_COMPAT=( python3_{7..10} )
26 +
27 +inherit bash-completion-r1 distutils-r1 systemd udev
28
29 if [[ "${PV}" = "9999" ]] ; then
30 inherit git-r3
31 @@ -18,7 +20,7 @@ HOMEPAGE="https://github.com/phillipberndt/autorandr"
32
33 LICENSE="GPL-3"
34 SLOT="0"
35 -IUSE="bash-completion +launcher systemd udev"
36 +IUSE="bash-completion launcher systemd udev"
37
38 RDEPEND="
39 launcher? ( x11-libs/libxcb )
40 @@ -30,16 +32,19 @@ DEPEND="
41 "
42
43 src_compile() {
44 + distutils-r1_src_compile
45 +
46 if use launcher; then
47 emake contrib/autorandr_launcher/autorandr-launcher
48 fi
49 }
50
51 src_install() {
52 + distutils-r1_src_install
53 +
54 doman autorandr.1
55
56 local targets=(
57 - autorandr
58 autostart_config
59 $(usex bash-completion bash_completion "")
60 $(usev launcher)
61
62 diff --git a/x11-misc/autorandr/autorandr-9999.ebuild b/x11-misc/autorandr/autorandr-9999.ebuild
63 index 0b461bc82..badd9b87c 100644
64 --- a/x11-misc/autorandr/autorandr-9999.ebuild
65 +++ b/x11-misc/autorandr/autorandr-9999.ebuild
66 @@ -3,7 +3,9 @@
67
68 EAPI=7
69
70 -inherit bash-completion-r1 systemd udev
71 +PYTHON_COMPAT=( python3_{7..10} )
72 +
73 +inherit bash-completion-r1 distutils-r1 systemd udev
74
75 if [[ "${PV}" = "9999" ]] ; then
76 inherit git-r3
77 @@ -18,7 +20,7 @@ HOMEPAGE="https://github.com/phillipberndt/autorandr"
78
79 LICENSE="GPL-3"
80 SLOT="0"
81 -IUSE="bash-completion +launcher systemd udev"
82 +IUSE="bash-completion launcher systemd udev"
83
84 RDEPEND="
85 launcher? ( x11-libs/libxcb )
86 @@ -30,16 +32,19 @@ DEPEND="
87 "
88
89 src_compile() {
90 + distutils-r1_src_compile
91 +
92 if use launcher; then
93 emake contrib/autorandr_launcher/autorandr-launcher
94 fi
95 }
96
97 src_install() {
98 + distutils-r1_src_install
99 +
100 doman autorandr.1
101
102 local targets=(
103 - autorandr
104 autostart_config
105 $(usex bash-completion bash_completion "")
106 $(usev launcher)