1 |
commit: 4bc9cc3e0c3601751f67183b64405caf98191ec8 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 7 20:39:02 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 7 20:39:02 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=4bc9cc3e |
7 |
|
8 |
sci-biology/pairagon: Fix double-prefix |
9 |
|
10 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=587702 |
11 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
12 |
|
13 |
sci-biology/pairagon/pairagon-1.1.ebuild | 37 +++++++++++++++++--------------- |
14 |
1 file changed, 20 insertions(+), 17 deletions(-) |
15 |
|
16 |
diff --git a/sci-biology/pairagon/pairagon-1.1.ebuild b/sci-biology/pairagon/pairagon-1.1.ebuild |
17 |
index c23129f74..843198232 100644 |
18 |
--- a/sci-biology/pairagon/pairagon-1.1.ebuild |
19 |
+++ b/sci-biology/pairagon/pairagon-1.1.ebuild |
20 |
@@ -1,10 +1,9 @@ |
21 |
-# Copyright 1999-2015 Gentoo Foundation |
22 |
+# Copyright 1999-2017 Gentoo Foundation |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=5 |
26 |
+EAPI=6 |
27 |
|
28 |
-PERL_EXPORT_PHASE_FUNCTIONS=no |
29 |
-inherit perl-module eutils toolchain-funcs |
30 |
+inherit perl-functions toolchain-funcs |
31 |
|
32 |
DESCRIPTION="HMM-based cDNA to genome aligner" |
33 |
HOMEPAGE="http://mblab.wustl.edu/software.html" |
34 |
@@ -15,26 +14,30 @@ SLOT="0" |
35 |
KEYWORDS="~amd64" |
36 |
IUSE="" |
37 |
|
38 |
-DEPEND="dev-lang/perl" |
39 |
+DEPEND="dev-lang/perl:=" |
40 |
RDEPEND="${DEPEND}" |
41 |
|
42 |
-S="${WORKDIR}"/pairagon |
43 |
+S=${WORKDIR}/${PN} |
44 |
|
45 |
-src_prepare(){ |
46 |
- sed -e 's:src/get-glib-flags.sh:#src/get-glib-flags.sh:; s:-Wall -Werror::' -i Makefile |
47 |
- sed -e 's/^use Alignment/use pairagon::Alignment/' -i bin/alignmentConvert.pl || die |
48 |
+src_prepare() { |
49 |
+ default |
50 |
+ |
51 |
+ sed -e 's:src/get-glib-flags.sh:#src/get-glib-flags.sh:; s:-Wall -Werror::' \ |
52 |
+ -i Makefile || die |
53 |
+ sed -e 's/^use Alignment/use pairagon::Alignment/' \ |
54 |
+ -i bin/alignmentConvert.pl || die |
55 |
} |
56 |
|
57 |
-src_compile(){ |
58 |
+src_compile() { |
59 |
emake pairagon-linux |
60 |
} |
61 |
|
62 |
-src_install(){ |
63 |
- dobin bin/pairagon bin/pairameter_estimate bin/Pairagon.pl bin/alignmentConvert.pl |
64 |
- dodoc README |
65 |
- perl_set_version |
66 |
+src_install() { |
67 |
+ dobin bin/{pairagon,pairameter_estimate,Pairagon.pl,alignmentConvert.pl} |
68 |
+ einstalldocs |
69 |
+ |
70 |
insinto /usr/share/pairagon |
71 |
- doins parameters/* |
72 |
- insinto ${VENDOR_LIB}/${PN} |
73 |
- doins lib/perl5/Alignment.pm |
74 |
+ doins -r parameters/. |
75 |
+ |
76 |
+ perl_domodule -C ${PN} lib/perl5/Alignment.pm |
77 |
} |