1 |
commit: 2249b564d71300391f5a88461569f8f21408cddb |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 3 12:24:43 2022 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 3 12:24:43 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2249b564 |
7 |
|
8 |
dev-lang/cfortran: Bump ebuild for 4.4 to EAPI 8 |
9 |
|
10 |
Keep keywords stable, since -r3 and -r4 produce identical images. |
11 |
|
12 |
Bug: https://bugs.gentoo.org/817647 |
13 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
14 |
|
15 |
.../{cfortran-4.4-r3.ebuild => cfortran-4.4-r4.ebuild} | 15 ++++++--------- |
16 |
1 file changed, 6 insertions(+), 9 deletions(-) |
17 |
|
18 |
diff --git a/dev-lang/cfortran/cfortran-4.4-r3.ebuild b/dev-lang/cfortran/cfortran-4.4-r4.ebuild |
19 |
similarity index 84% |
20 |
rename from dev-lang/cfortran/cfortran-4.4-r3.ebuild |
21 |
rename to dev-lang/cfortran/cfortran-4.4-r4.ebuild |
22 |
index 6776defb6db1..d5ccc7687463 100644 |
23 |
--- a/dev-lang/cfortran/cfortran-4.4-r3.ebuild |
24 |
+++ b/dev-lang/cfortran/cfortran-4.4-r4.ebuild |
25 |
@@ -1,9 +1,7 @@ |
26 |
-# Copyright 1999-2021 Gentoo Authors |
27 |
+# Copyright 1999-2022 Gentoo Authors |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
|
30 |
-EAPI=5 |
31 |
- |
32 |
-inherit epatch |
33 |
+EAPI=8 |
34 |
|
35 |
DEB_PR="14" |
36 |
|
37 |
@@ -18,6 +16,8 @@ LICENSE="LGPL-2" |
38 |
KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" |
39 |
IUSE="examples" |
40 |
|
41 |
+PATCHES=( "${WORKDIR}"/${PN}_${PV}-${DEB_PR}.diff ) |
42 |
+ |
43 |
src_unpack() { |
44 |
default |
45 |
if use examples; then |
46 |
@@ -28,10 +28,6 @@ src_unpack() { |
47 |
fi |
48 |
} |
49 |
|
50 |
-src_prepare() { |
51 |
- epatch "${WORKDIR}"/${PN}_${PV}-${DEB_PR}.diff |
52 |
-} |
53 |
- |
54 |
src_install() { |
55 |
insinto /usr/include/cfortran |
56 |
doins cfortran.h |
57 |
@@ -40,7 +36,8 @@ src_install() { |
58 |
|
59 |
dodoc cfortran.doc debian/{NEWS,changelog,copyright} |
60 |
|
61 |
- dohtml cfortran.html index.htm cfortest.c cfortex.f |
62 |
+ docinto html |
63 |
+ dodoc cfortran.html index.htm # cfortest.c cfortex.f |
64 |
|
65 |
if use examples; then |
66 |
insinto /usr/share/${PN} |