summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-07-07 21:57:04 +0200
committerDavid Seifert <soap@gentoo.org>2022-07-07 21:57:04 +0200
commitf040325d9ef33ba1c90bfa955b22ca51c8c9f7ff (patch)
treea6362cb85f12d71f939ee6dc7d1f44dbc3821504 /sci-biology/phred
parentsci-biology/pals: update EAPI 6 -> 8 (diff)
downloadgentoo-f040325d9ef33ba1c90bfa955b22ca51c8c9f7ff.tar.gz
gentoo-f040325d9ef33ba1c90bfa955b22ca51c8c9f7ff.tar.bz2
gentoo-f040325d9ef33ba1c90bfa955b22ca51c8c9f7ff.zip
sci-biology/phred: update EAPI 6 -> 8
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-biology/phred')
-rw-r--r--sci-biology/phred/phred-071220-r2.ebuild (renamed from sci-biology/phred/phred-071220-r1.ebuild)24
1 files changed, 10 insertions, 14 deletions
diff --git a/sci-biology/phred/phred-071220-r1.ebuild b/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