commit: 2249b564d71300391f5a88461569f8f21408cddb Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Fri Jun 3 12:24:43 2022 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Fri Jun 3 12:24:43 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2249b564
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 <AT> gentoo.org> .../{cfortran-4.4-r3.ebuild => cfortran-4.4-r4.ebuild} | 15 ++++++--------- 1 file 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 similarity index 84% rename from dev-lang/cfortran/cfortran-4.4-r3.ebuild rename to 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}