summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-09-25 23:12:36 +0000
committerSam James <sam@gentoo.org>2020-09-25 23:18:30 +0000
commit1e436a3ae4e0d35ed061fd61f061ad5d24f54211 (patch)
treef9fff87f3dfe9708793342f17e26176e46ecd75e /sys-firmware/vgabios
parentwww-apache/mod_common_redirect: port EAPI 4->6 (diff)
downloadgentoo-1e436a3ae4e0d35ed061fd61f061ad5d24f54211.tar.gz
gentoo-1e436a3ae4e0d35ed061fd61f061ad5d24f54211.tar.bz2
gentoo-1e436a3ae4e0d35ed061fd61f061ad5d24f54211.zip
sys-firmware/vgabios: port to EAPI 7
Closes: https://bugs.gentoo.org/740920 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-firmware/vgabios')
-rw-r--r--sys-firmware/vgabios/vgabios-0.7a-r1.ebuild18
-rw-r--r--sys-firmware/vgabios/vgabios-0.7a.ebuild17
2 files changed, 14 insertions, 21 deletions
diff --git a/sys-firmware/vgabios/vgabios-0.7a-r1.ebuild b/sys-firmware/vgabios/vgabios-0.7a-r1.ebuild
index 081c30ad69c8..aa925da50189 100644
--- a/sys-firmware/vgabios/vgabios-0.7a-r1.ebuild
+++ b/sys-firmware/vgabios/vgabios-0.7a-r1.ebuild
@@ -1,14 +1,12 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=7
# Can't really call them backports when they're fixes that upstream
# won't carry
FIXES=1
-inherit eutils
-
DESCRIPTION="VGA BIOS implementation"
HOMEPAGE="http://www.nongnu.org/vgabios/"
SRC_URI="https://savannah.gnu.org/download/${PN}/${P}.tgz
@@ -18,16 +16,14 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
IUSE="binary debug"
-
-DEPEND="!binary? ( sys-devel/dev86 )"
-RDEPEND=""
+BDEPEND="!binary? ( sys-devel/dev86 )"
src_prepare() {
- [[ -n ${FIXES} ]] && \
- EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
- epatch
+ if [[ -n ${FIXES} ]] ; then
+ eapply patches/*.patch
+ fi
- epatch_user
+ default
}
src_compile() {
diff --git a/sys-firmware/vgabios/vgabios-0.7a.ebuild b/sys-firmware/vgabios/vgabios-0.7a.ebuild
index 0e794a42af95..85d6d4c72bce 100644
--- a/sys-firmware/vgabios/vgabios-0.7a.ebuild
+++ b/sys-firmware/vgabios/vgabios-0.7a.ebuild
@@ -1,14 +1,12 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=7
# Can't really call them backports when they're fixes that upstream
# won't carry
FIXES=1
-inherit eutils
-
DESCRIPTION="VGA BIOS implementation"
HOMEPAGE="http://www.nongnu.org/vgabios/"
SRC_URI="https://savannah.gnu.org/download/${PN}/${P}.tgz
@@ -19,16 +17,15 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE="debug"
-DEPEND="amd64? ( sys-devel/dev86 )
+BDEPEND="amd64? ( sys-devel/dev86 )
x86? ( sys-devel/dev86 )"
-RDEPEND=""
src_prepare() {
- [[ -n ${FIXES} ]] && \
- EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
- epatch
+ if [[ -n ${FIXES} ]] ; then
+ eapply patches/*.patch
+ fi
- epatch_user
+ default
}
src_compile() {