sci-libs/rosetta-fragments: Bump to EAPI=6
authorJustin Lecher <jlec@gentoo.org>
Sat, 6 Jan 2018 13:07:27 +0000 (13:07 +0000)
committerJustin Lecher <jlec@gentoo.org>
Sat, 6 Jan 2018 13:35:37 +0000 (13:35 +0000)
Add latest hashes

Closes: https://bugs.gentoo.org/642910
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Package-Manager: Portage-2.3.19, Repoman-2.3.6

sci-libs/rosetta-fragments/rosetta-fragments-3.1-r1.ebuild

index 055c225edf1d5c09d19162a615e780f3635386cb..63666973b31e33e2459aee88e9d29c2cd0f05fa0 100644 (file)
@@ -1,7 +1,7 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
 inherit eutils flag-o-matic prefix toolchain-funcs
 
@@ -24,15 +24,18 @@ RESTRICT="fetch"
 
 S="${WORKDIR}"/${PN/-/_}
 
+PATCHES=(
+       "${FILESDIR}"/${P}-nnmake.patch
+       "${FILESDIR}"/${P}-chemshift.patch
+)
+
 pkg_nofetch() {
        einfo "Go to ${HOMEPAGE} and get ${PN}.tgz and rename it to ${A}"
        einfo "which must be placed in ${DISTDIR}"
 }
 
 src_prepare() {
-       epatch \
-               "${FILESDIR}"/${P}-nnmake.patch \
-               "${FILESDIR}"/${P}-chemshift.patch
+       default
        tc-export F77
        eprefixify nnmake/*.pl
 }
@@ -52,5 +55,8 @@ src_install() {
 
        insinto /usr/share/${PN}
        doins -r *_database
-       dodoc fragments.README nnmake/{nnmake.README,vall/*.pl} chemshift/chemshift.README
+       dodoc \
+               fragments.README \
+               nnmake/{nnmake.README,vall/*.pl} \
+               chemshift/chemshift.README
 }