Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libbrahe/, dev-libs/libbrahe/files/
Date: Wed, 10 Feb 2021 22:04:01
Message-Id: 1612994635.3e0139cb3692b6e3354d2d0a52229abdc663fb2b.sam@gentoo
1 commit: 3e0139cb3692b6e3354d2d0a52229abdc663fb2b
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 10 21:57:00 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 10 22:03:55 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e0139cb
7
8 dev-libs/libbrahe: port to EAPI 7
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 dev-libs/libbrahe/files/1.1.0-missing_libs.patch | 4 ++--
14 dev-libs/libbrahe/libbrahe-1.1.0-r1.ebuild | 25 +++++++++++++++++-------
15 2 files changed, 20 insertions(+), 9 deletions(-)
16
17 diff --git a/dev-libs/libbrahe/files/1.1.0-missing_libs.patch b/dev-libs/libbrahe/files/1.1.0-missing_libs.patch
18 index 7466f917f9d..d9153a812ad 100644
19 --- a/dev-libs/libbrahe/files/1.1.0-missing_libs.patch
20 +++ b/dev-libs/libbrahe/files/1.1.0-missing_libs.patch
21 @@ -1,5 +1,5 @@
22 ---- src/Makefile.am.orig 2008-05-01 02:21:34.000000000 +0200
23 -+++ src/Makefile.am 2008-05-01 02:21:47.000000000 +0200
24 +--- a/src/Makefile.am
25 ++++ b/src/Makefile.am
26 @@ -14,3 +14,4 @@
27
28 AM_CFLAGS = -std=gnu99 -pedantic -Wall -Wno-format
29
30 diff --git a/dev-libs/libbrahe/libbrahe-1.1.0-r1.ebuild b/dev-libs/libbrahe/libbrahe-1.1.0-r1.ebuild
31 index 4d2e451c2a3..63f386c80ec 100644
32 --- a/dev-libs/libbrahe/libbrahe-1.1.0-r1.ebuild
33 +++ b/dev-libs/libbrahe/libbrahe-1.1.0-r1.ebuild
34 @@ -1,10 +1,9 @@
35 -# Copyright 1999-2013 Gentoo Foundation
36 +# Copyright 1999-2021 Gentoo Authors
37 # Distributed under the terms of the GNU General Public License v2
38
39 -EAPI=5
40 +EAPI=7
41
42 -AUTOTOOLS_AUTORECONF=1
43 -inherit autotools-utils
44 +inherit autotools
45
46 DESCRIPTION="A Heterogenous C Library of Numeric Functions"
47 HOMEPAGE="http://www.coyotegulch.com/products/brahe/"
48 @@ -14,7 +13,19 @@ LICENSE="GPL-2"
49 SLOT="0"
50 KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
51
52 -IUSE="static-libs"
53 -
54 DOCS=( AUTHORS ChangeLog NEWS )
55 -PATCHES=( "${FILESDIR}/${PV}-missing_libs.patch" )
56 +
57 +PATCHES=(
58 + "${FILESDIR}/${PV}-missing_libs.patch"
59 +)
60 +
61 +src_prepare() {
62 + default
63 + eautoreconf
64 +}
65 +
66 +src_install() {
67 + default
68 +
69 + find "${ED}" -name '*.a' -delete || die
70 +}