Gentoo Archives: gentoo-commits

From: Martin Mokrejs <mmokrejs@×××××××××××××××.cz>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/estscan/
Date: Sat, 30 Jul 2011 11:05:55
Message-Id: c682d1e50bdf2b4dffc7f97d0d4879920d02a112.mmokrejs@gentoo
1 commit: c682d1e50bdf2b4dffc7f97d0d4879920d02a112
2 Author: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
3 AuthorDate: Sat Jul 30 11:05:27 2011 +0000
4 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
5 CommitDate: Sat Jul 30 11:05:27 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c682d1e5
7
8 some ebuild cleanup
9
10 (Portage version: 2.1.10.7/git/Linux i686, unsigned Manifest commit)
11
12 ---
13 sci-biology/estscan/ChangeLog | 4 +++
14 sci-biology/estscan/estscan-3.0.3.ebuild | 31 +++++++++++++++--------------
15 2 files changed, 20 insertions(+), 15 deletions(-)
16
17 diff --git a/sci-biology/estscan/ChangeLog b/sci-biology/estscan/ChangeLog
18 index ff0f2e4..bce0bfa 100644
19 --- a/sci-biology/estscan/ChangeLog
20 +++ b/sci-biology/estscan/ChangeLog
21 @@ -2,6 +2,10 @@
22 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
23 # $Header: $
24
25 + 30 Jul 2011; Martin Mokrejs <mmokrejs@×××××××××××××××.cz>
26 + estscan-3.0.3.ebuild:
27 + some ebuild cleanup estscan-3.0.3.ebuild
28 +
29 23 Jun 2011; Justin Lecher <jlec@g.o> estscan-3.0.3.ebuild,
30 metadata.xml:
31 Streamlined fortran-2 eclass usage
32
33 diff --git a/sci-biology/estscan/estscan-3.0.3.ebuild b/sci-biology/estscan/estscan-3.0.3.ebuild
34 index d282860..913303a 100644
35 --- a/sci-biology/estscan/estscan-3.0.3.ebuild
36 +++ b/sci-biology/estscan/estscan-3.0.3.ebuild
37 @@ -21,14 +21,16 @@ SRC_URI="
38
39 SLOT="0"
40 LICENSE="estscan"
41 -KEYWORDS="~x86 ~amd64"
42 +KEYWORDS=""
43 +#KEYWORDS="~x86 ~amd64"
44 IUSE="intel"
45
46 DEPEND="
47 virtual/fortran
48 intel? (
49 dev-lang/icc
50 - dev-lang/ifc )"
51 + dev-lang/ifc )
52 + dev-perl/BTLib"
53 RDEPEND="${DEPEND}"
54
55 S="${WORKDIR}"
56 @@ -74,40 +76,39 @@ src_prepare() {
57
58 src_compile() {
59 emake -C ${P}
60 -
61 - cd ../BTLib-0.19
62 - perl Makefile.PL || die "perl Makefile.PL failed"
63 }
64
65 src_install() {
66 # FIXME: Some kind of documentation is in {P}/estscan.spec
67 - cd ${P}
68 + cd ${P} || die "Failed to chdir to "${P}"
69 dobin \
70 build_model estscan evaluate_model extract_EST extract_UG_EST \
71 extract_mRNA makesmat maskred prepare_data winsegshuffle
72 # the file build_model_utils.pl should go into some PERL site-packages dir
73 # see {P}/estscan.spec
74
75 - # install the doc (but is not in ${WORKDIR} because src_UNPACK() failed on it
76 - cd "${WORKDIR}"
77 + # install the doc (but is not in ${WORKDIR} because src_unpack() failed on it as it has .pdf extension
78 + cd "${DISTDIR}" || die "Failed to chdir to "${DISTDIR}"
79 insinto /usr/share/doc/ESTscan
80 # grab the file directly from ../distdir/
81 - doins ../distdir/user_guide_fev_07.pdf
82 + doins "${DISTDIR}"/user_guide_fev_07.pdf
83
84 # install the default precomputed matrices
85 - cd "${WORKDIR}"
86 + cd "${WORKDIR}" || die "Failed to chdir to "${WORKDIR}"
87 insinto /usr/share/ESTscan
88 doins *.smat
89
90 # install BTlib (in perl)
91 - cd BTLib-0.19 || die
92 - dobin fetch indexer netfetch
93 + # dobin fetch indexer netfetch
94 insinto /usr/share/ESTscan/
95 - doins fetch.conf
96 + # install the config file which is packed inside the BTLib tarball while is not
97 + # being installed by dev-perl/BTLib
98 + doins "${WORKDIR}"/BTLib-0.19/fetch.conf
99
100 # FIXME: install the *.pm files from BTLib-0.19
101 - myinst="DESTDIR=${D}"
102 - perl-module_src_install
103 + # cd "${WORKDIR}"/BTLib-0.19 || die "Failed to chdir to "${WORKDIR}"/BTLib-0.19
104 + # myinst="DESTDIR=${D}"
105 + # perl-module_src_install
106
107 einfo "Please edit /usr/share/ESTscan/fetch.conf to fit your local database layout."
108 einfo "Also create your own scoring matrices and place them into /usr/share/ESTscan/."