1 |
commit: 1e436a3ae4e0d35ed061fd61f061ad5d24f54211 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 25 23:12:36 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 25 23:18:30 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e436a3a |
7 |
|
8 |
sys-firmware/vgabios: port to EAPI 7 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/740920 |
11 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
sys-firmware/vgabios/vgabios-0.7a-r1.ebuild | 18 +++++++----------- |
15 |
sys-firmware/vgabios/vgabios-0.7a.ebuild | 17 +++++++---------- |
16 |
2 files changed, 14 insertions(+), 21 deletions(-) |
17 |
|
18 |
diff --git a/sys-firmware/vgabios/vgabios-0.7a-r1.ebuild b/sys-firmware/vgabios/vgabios-0.7a-r1.ebuild |
19 |
index 081c30ad69c..aa925da5018 100644 |
20 |
--- a/sys-firmware/vgabios/vgabios-0.7a-r1.ebuild |
21 |
+++ b/sys-firmware/vgabios/vgabios-0.7a-r1.ebuild |
22 |
@@ -1,14 +1,12 @@ |
23 |
-# Copyright 1999-2017 Gentoo Foundation |
24 |
+# Copyright 1999-2020 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
-EAPI=4 |
28 |
+EAPI=7 |
29 |
|
30 |
# Can't really call them backports when they're fixes that upstream |
31 |
# won't carry |
32 |
FIXES=1 |
33 |
|
34 |
-inherit eutils |
35 |
- |
36 |
DESCRIPTION="VGA BIOS implementation" |
37 |
HOMEPAGE="http://www.nongnu.org/vgabios/" |
38 |
SRC_URI="https://savannah.gnu.org/download/${PN}/${P}.tgz |
39 |
@@ -18,16 +16,14 @@ LICENSE="LGPL-2.1" |
40 |
SLOT="0" |
41 |
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" |
42 |
IUSE="binary debug" |
43 |
- |
44 |
-DEPEND="!binary? ( sys-devel/dev86 )" |
45 |
-RDEPEND="" |
46 |
+BDEPEND="!binary? ( sys-devel/dev86 )" |
47 |
|
48 |
src_prepare() { |
49 |
- [[ -n ${FIXES} ]] && \ |
50 |
- EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \ |
51 |
- epatch |
52 |
+ if [[ -n ${FIXES} ]] ; then |
53 |
+ eapply patches/*.patch |
54 |
+ fi |
55 |
|
56 |
- epatch_user |
57 |
+ default |
58 |
} |
59 |
|
60 |
src_compile() { |
61 |
|
62 |
diff --git a/sys-firmware/vgabios/vgabios-0.7a.ebuild b/sys-firmware/vgabios/vgabios-0.7a.ebuild |
63 |
index 0e794a42af9..85d6d4c72bc 100644 |
64 |
--- a/sys-firmware/vgabios/vgabios-0.7a.ebuild |
65 |
+++ b/sys-firmware/vgabios/vgabios-0.7a.ebuild |
66 |
@@ -1,14 +1,12 @@ |
67 |
-# Copyright 1999-2014 Gentoo Foundation |
68 |
+# Copyright 1999-2020 Gentoo Authors |
69 |
# Distributed under the terms of the GNU General Public License v2 |
70 |
|
71 |
-EAPI=4 |
72 |
+EAPI=7 |
73 |
|
74 |
# Can't really call them backports when they're fixes that upstream |
75 |
# won't carry |
76 |
FIXES=1 |
77 |
|
78 |
-inherit eutils |
79 |
- |
80 |
DESCRIPTION="VGA BIOS implementation" |
81 |
HOMEPAGE="http://www.nongnu.org/vgabios/" |
82 |
SRC_URI="https://savannah.gnu.org/download/${PN}/${P}.tgz |
83 |
@@ -19,16 +17,15 @@ SLOT="0" |
84 |
KEYWORDS="amd64 x86" |
85 |
IUSE="debug" |
86 |
|
87 |
-DEPEND="amd64? ( sys-devel/dev86 ) |
88 |
+BDEPEND="amd64? ( sys-devel/dev86 ) |
89 |
x86? ( sys-devel/dev86 )" |
90 |
-RDEPEND="" |
91 |
|
92 |
src_prepare() { |
93 |
- [[ -n ${FIXES} ]] && \ |
94 |
- EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \ |
95 |
- epatch |
96 |
+ if [[ -n ${FIXES} ]] ; then |
97 |
+ eapply patches/*.patch |
98 |
+ fi |
99 |
|
100 |
- epatch_user |
101 |
+ default |
102 |
} |
103 |
|
104 |
src_compile() { |