Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/rosetta-fragments/
Date: Sat, 06 Jan 2018 13:35:55
Message-Id: 1515245737.9c91c5aeeeab659d33ed526773c1d1a7fe2ddcf3.jlec@gentoo
1 commit: 9c91c5aeeeab659d33ed526773c1d1a7fe2ddcf3
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 6 13:07:27 2018 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 6 13:35:37 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c91c5ae
7
8 sci-libs/rosetta-fragments: Bump to EAPI=6
9
10 Add latest hashes
11
12 Closes: https://bugs.gentoo.org/642910
13 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
14 Package-Manager: Portage-2.3.19, Repoman-2.3.6
15
16 .../rosetta-fragments/rosetta-fragments-3.1-r1.ebuild | 18 ++++++++++++------
17 1 file changed, 12 insertions(+), 6 deletions(-)
18
19 diff --git a/sci-libs/rosetta-fragments/rosetta-fragments-3.1-r1.ebuild b/sci-libs/rosetta-fragments/rosetta-fragments-3.1-r1.ebuild
20 index 055c225edf1..63666973b31 100644
21 --- a/sci-libs/rosetta-fragments/rosetta-fragments-3.1-r1.ebuild
22 +++ b/sci-libs/rosetta-fragments/rosetta-fragments-3.1-r1.ebuild
23 @@ -1,7 +1,7 @@
24 -# Copyright 1999-2014 Gentoo Foundation
25 +# Copyright 1999-2018 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27
28 -EAPI=5
29 +EAPI=6
30
31 inherit eutils flag-o-matic prefix toolchain-funcs
32
33 @@ -24,15 +24,18 @@ RESTRICT="fetch"
34
35 S="${WORKDIR}"/${PN/-/_}
36
37 +PATCHES=(
38 + "${FILESDIR}"/${P}-nnmake.patch
39 + "${FILESDIR}"/${P}-chemshift.patch
40 +)
41 +
42 pkg_nofetch() {
43 einfo "Go to ${HOMEPAGE} and get ${PN}.tgz and rename it to ${A}"
44 einfo "which must be placed in ${DISTDIR}"
45 }
46
47 src_prepare() {
48 - epatch \
49 - "${FILESDIR}"/${P}-nnmake.patch \
50 - "${FILESDIR}"/${P}-chemshift.patch
51 + default
52 tc-export F77
53 eprefixify nnmake/*.pl
54 }
55 @@ -52,5 +55,8 @@ src_install() {
56
57 insinto /usr/share/${PN}
58 doins -r *_database
59 - dodoc fragments.README nnmake/{nnmake.README,vall/*.pl} chemshift/chemshift.README
60 + dodoc \
61 + fragments.README \
62 + nnmake/{nnmake.README,vall/*.pl} \
63 + chemshift/chemshift.README
64 }