commit:     f040325d9ef33ba1c90bfa955b22ca51c8c9f7ff
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  7 19:57:04 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Jul  7 19:57:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f040325d

sci-biology/phred: update EAPI 6 -> 8

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 ...red-071220-r1.ebuild => phred-071220-r2.ebuild} | 24 +++++++++-------------
 1 file changed, 10 insertions(+), 14 deletions(-)

diff --git a/sci-biology/phred/phred-071220-r1.ebuild 
b/sci-biology/phred/phred-071220-r2.ebuild
similarity index 69%
rename from sci-biology/phred/phred-071220-r1.ebuild
rename to sci-biology/phred/phred-071220-r2.ebuild
index bf7a0c7338cb..9d7ff9a1f6c8 100644
--- a/sci-biology/phred/phred-071220-r1.ebuild
+++ b/sci-biology/phred/phred-071220-r2.ebuild
@@ -1,28 +1,23 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
 inherit toolchain-funcs
 
 DESCRIPTION="A base caller for Sanger DNA sequencing"
 HOMEPAGE="http://phrap.org/phredphrapconsed.html";
 SRC_URI="phred-dist-071220.b-acd.tar.gz"
+S="${WORKDIR}"
 
 LICENSE="phrap"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-
-S="${WORKDIR}"
-
 RESTRICT="fetch"
+
 PATCHES=(
-       "${FILESDIR}/${PN}-071220-fix-build-system.patch"
-       "${FILESDIR}/${PN}-071220-fix-qa.patch"
+       "${FILESDIR}"/${PN}-071220-fix-build-system.patch
+       "${FILESDIR}"/${PN}-071220-fix-qa.patch
 )
 
 pkg_nofetch() {
@@ -39,11 +34,12 @@ src_compile() {
 src_install() {
        dobin phred daev
 
-       insinto /usr/share/${PN}
+       insinto /usr/share/phred
        doins phredpar.dat
 
-       echo "PHRED_PARAMETER_FILE=${EPREFIX}/usr/share/${PN}/phredpar.dat" > 
99phred || die
-       doenvd 99phred
+       newenvd - 99phred <<- EOF
+               PHRED_PARAMETER_FILE="${EPREFIX}/usr/share/phred/phredpar.dat"
+       EOF
 
        newdoc DAEV.DOC DAEV.DOC.txt
        newdoc PHRED.DOC PHRED.DOC.txt

Reply via email to