summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-06-03 14:24:43 +0200
committerUlrich Müller <ulm@gentoo.org>2022-06-03 14:24:43 +0200
commit2249b564d71300391f5a88461569f8f21408cddb (patch)
treebf76b17eeadb0d72f978e66264782831a9a20ebd
parentdev-util/catalyst: Stabilize 3.0.21 ppc, #849482 (diff)
downloadgentoo-2249b564.tar.gz
gentoo-2249b564.tar.bz2
gentoo-2249b564.zip
dev-lang/cfortran: Bump ebuild for 4.4 to EAPI 8
Keep keywords stable, since -r3 and -r4 produce identical images. Bug: https://bugs.gentoo.org/817647 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--dev-lang/cfortran/cfortran-4.4-r4.ebuild (renamed from dev-lang/cfortran/cfortran-4.4-r3.ebuild)15
1 files changed, 6 insertions, 9 deletions
diff --git a/dev-lang/cfortran/cfortran-4.4-r3.ebuild b/dev-lang/cfortran/cfortran-4.4-r4.ebuild
index 6776defb6db1..d5ccc7687463 100644
--- a/dev-lang/cfortran/cfortran-4.4-r3.ebuild
+++ b/dev-lang/cfortran/cfortran-4.4-r4.ebuild
@@ -1,9 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-
-inherit epatch
+EAPI=8
DEB_PR="14"
@@ -18,6 +16,8 @@ LICENSE="LGPL-2"
KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
IUSE="examples"
+PATCHES=( "${WORKDIR}"/${PN}_${PV}-${DEB_PR}.diff )
+
src_unpack() {
default
if use examples; then
@@ -28,10 +28,6 @@ src_unpack() {
fi
}
-src_prepare() {
- epatch "${WORKDIR}"/${PN}_${PV}-${DEB_PR}.diff
-}
-
src_install() {
insinto /usr/include/cfortran
doins cfortran.h
@@ -40,7 +36,8 @@ src_install() {
dodoc cfortran.doc debian/{NEWS,changelog,copyright}
- dohtml cfortran.html index.htm cfortest.c cfortex.f
+ docinto html
+ dodoc cfortran.html index.htm # cfortest.c cfortex.f
if use examples; then
insinto /usr/share/${PN}