1 |
commit: b1b5577ab5e375948132c3dba0db7bde29968bf8 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 24 06:32:18 2014 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 24 06:32:18 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=b1b5577a |
7 |
|
8 |
sci-biology/estscan: Bump to EAPI=5 |
9 |
|
10 |
Package-Manager: portage-2.2.13 |
11 |
|
12 |
--- |
13 |
sci-biology/estscan/ChangeLog | 5 +++- |
14 |
sci-biology/estscan/estscan-3.0.3.ebuild | 50 +++++++++++++++----------------- |
15 |
2 files changed, 28 insertions(+), 27 deletions(-) |
16 |
|
17 |
diff --git a/sci-biology/estscan/ChangeLog b/sci-biology/estscan/ChangeLog |
18 |
index de16cc8..c19b120 100644 |
19 |
--- a/sci-biology/estscan/ChangeLog |
20 |
+++ b/sci-biology/estscan/ChangeLog |
21 |
@@ -1,7 +1,10 @@ |
22 |
# ChangeLog for sci-biology/estscan |
23 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
24 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
25 |
# $Header: $ |
26 |
|
27 |
+ 24 Sep 2014; Justin Lecher <jlec@g.o> estscan-3.0.3.ebuild: |
28 |
+ Bump to EAPI=5 |
29 |
+ |
30 |
03 Mar 2013; Justin Lecher <jlec@g.o> metadata.xml: |
31 |
Add local USE to metadata.xml |
32 |
|
33 |
|
34 |
diff --git a/sci-biology/estscan/estscan-3.0.3.ebuild b/sci-biology/estscan/estscan-3.0.3.ebuild |
35 |
index a9a9de0..58514a3 100644 |
36 |
--- a/sci-biology/estscan/estscan-3.0.3.ebuild |
37 |
+++ b/sci-biology/estscan/estscan-3.0.3.ebuild |
38 |
@@ -2,22 +2,22 @@ |
39 |
# Distributed under the terms of the GNU General Public License v2 |
40 |
# $Header: $ |
41 |
|
42 |
-EAPI=4 |
43 |
+EAPI=5 |
44 |
|
45 |
inherit eutils fortran-2 perl-module toolchain-funcs |
46 |
|
47 |
DESCRIPTION="Prediction of coding regions in DNA/RNA sequences" |
48 |
-HOMEPAGE="http://sourceforge.net/projects/estscan/" |
49 |
+HOMEPAGE="http://sourceforge.net/projects/${PN}/" |
50 |
SRC_URI=" |
51 |
- http://downloads.sourceforge.net/estscan/estscan-3.0.3.tar.gz |
52 |
- http://downloads.sourceforge.net/estscan/At.smat.gz |
53 |
- http://downloads.sourceforge.net/estscan/Dm.smat.gz |
54 |
- http://downloads.sourceforge.net/estscan/Dr.smat.gz |
55 |
- http://downloads.sourceforge.net/estscan/Hs.smat.gz |
56 |
- http://downloads.sourceforge.net/estscan/Mm.smat.gz |
57 |
- http://downloads.sourceforge.net/estscan/Rn.smat.gz |
58 |
- http://downloads.sourceforge.net/estscan/user_guide_fev_07.pdf |
59 |
- http://downloads.sourceforge.net/estscan/BTLib-0.19.tar.gz" |
60 |
+ http://downloads.sourceforge.net/${PN}/${P}.tar.gz |
61 |
+ http://downloads.sourceforge.net/${PN}/At.smat.gz |
62 |
+ http://downloads.sourceforge.net/${PN}/Dm.smat.gz |
63 |
+ http://downloads.sourceforge.net/${PN}/Dr.smat.gz |
64 |
+ http://downloads.sourceforge.net/${PN}/Hs.smat.gz |
65 |
+ http://downloads.sourceforge.net/${PN}/Mm.smat.gz |
66 |
+ http://downloads.sourceforge.net/${PN}/Rn.smat.gz |
67 |
+ http://downloads.sourceforge.net/${PN}/user_guide_fev_07.pdf |
68 |
+ http://downloads.sourceforge.net/${PN}/BTLib-0.19.tar.gz" |
69 |
|
70 |
SLOT="0" |
71 |
LICENSE="estscan" |
72 |
@@ -25,10 +25,9 @@ KEYWORDS="~x86 ~amd64" |
73 |
IUSE="icc ifc" |
74 |
|
75 |
DEPEND=" |
76 |
- virtual/fortran |
77 |
+ dev-perl/BTLib |
78 |
icc? ( dev-lang/icc ) |
79 |
- ifc? ( dev-lang/ifc ) |
80 |
- dev-perl/BTLib" |
81 |
+ ifc? ( dev-lang/ifc )" |
82 |
RDEPEND="${DEPEND}" |
83 |
|
84 |
S="${WORKDIR}" |
85 |
@@ -40,8 +39,8 @@ src_prepare() { |
86 |
-i "${P}"/Makefile || die "failed to edit Makefile" |
87 |
|
88 |
# fix hard-coded paths |
89 |
- sed -e 's+/usr/molbio/share/ESTScan+/usr/share/ESTscan+' -i "${P}"/estscan.c || die |
90 |
- sed -e 's+/usr/molbio/share/ESTScan+/usr/share/ESTscan+' -i "${P}"/estscan.spec || die |
91 |
+ sed -e 's+/usr/molbio/share/ESTScan+/usr/share/ESTscan+' -i "${P}"/${PN}.c || die |
92 |
+ sed -e 's+/usr/molbio/share/ESTScan+/usr/share/ESTscan+' -i "${P}"/${PN}.spec || die |
93 |
|
94 |
if ! use icc; then |
95 |
sed \ |
96 |
@@ -89,28 +88,27 @@ src_compile() { |
97 |
} |
98 |
|
99 |
src_install() { |
100 |
- # FIXME: Some kind of documentation is in {P}/estscan.spec |
101 |
+ # FIXME: Some kind of documentation is in {P}/${PN}.spec |
102 |
cd ${P} || die "Failed to chdir to ${P}" |
103 |
dobin \ |
104 |
- build_model estscan evaluate_model extract_EST extract_UG_EST \ |
105 |
+ build_model ${PN} evaluate_model extract_EST extract_UG_EST \ |
106 |
extract_mRNA makesmat maskred prepare_data winsegshuffle |
107 |
# the file build_model_utils.pl should go into some PERL site-packages dir |
108 |
- # see {P}/estscan.spec |
109 |
+ # see {P}/${PN}.spec |
110 |
|
111 |
# install the doc (but is not in ${WORKDIR} because src_unpack() failed on it as it has .pdf extension |
112 |
- cd "${DISTDIR}" || die "Failed to chdir to ${DISTDIR}" |
113 |
- insinto /usr/share/doc/ESTscan |
114 |
+ insinto /usr/share/doc/${PN} |
115 |
# grab the file directly from ../distdir/ |
116 |
doins "${DISTDIR}"/user_guide_fev_07.pdf |
117 |
|
118 |
# install the default precomputed matrices |
119 |
cd "${WORKDIR}" || die "Failed to chdir to ${WORKDIR}" |
120 |
- insinto /usr/share/ESTscan |
121 |
+ insinto /usr/share/${PN} |
122 |
doins *.smat |
123 |
|
124 |
# install BTlib (in perl) |
125 |
# dobin fetch indexer netfetch |
126 |
- insinto /usr/share/ESTscan/ |
127 |
+ insinto /usr/share/${PN}/ |
128 |
# install the config file which is packed inside the BTLib tarball while is not |
129 |
# being installed by dev-perl/BTLib |
130 |
doins "${WORKDIR}"/BTLib-0.19/fetch.conf |
131 |
@@ -120,7 +118,7 @@ src_install() { |
132 |
# myinst="DESTDIR=${D}" |
133 |
# perl-module_src_install |
134 |
|
135 |
- einfo "Please edit /usr/share/ESTscan/fetch.conf to fit your local database layout." |
136 |
- einfo "Also create your own scoring matrices and place them into /usr/share/ESTscan/." |
137 |
- einfo "You may follow the hints from http://estscan.sourceforge.net/" |
138 |
+ einfo "Please edit /usr/share/${PN}/fetch.conf to fit your local database layout." |
139 |
+ einfo "Also create your own scoring matrices and place them into /usr/share/${PN}/." |
140 |
+ einfo "You may follow the hints from http://${PN}.sourceforge.net/" |
141 |
} |