Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/cluster/
Date: Thu, 24 May 2012 06:12:56
Message-Id: 1337839940.f5c7d6d3610e5113ee36f28241922053e02eae0b.jlec@gentoo
1 commit: f5c7d6d3610e5113ee36f28241922053e02eae0b
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 24 06:12:20 2012 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Thu May 24 06:12:20 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=f5c7d6d3
7
8 sci-biology/cluster: Version Bump, Move to EAPI=4
9
10 (Portage version: 2.2.0_alpha107/git/Linux x86_64, unsigned Manifest commit)
11
12 ---
13 sci-biology/cluster/ChangeLog | 8 ++++-
14 sci-biology/cluster/cluster-1.38.ebuild | 56 -------------------------------
15 sci-biology/cluster/cluster-1.50.ebuild | 48 ++++++++++++++++++++++++++
16 sci-biology/cluster/metadata.xml | 13 +++----
17 4 files changed, 61 insertions(+), 64 deletions(-)
18
19 diff --git a/sci-biology/cluster/ChangeLog b/sci-biology/cluster/ChangeLog
20 index 1367a0a..df03336 100644
21 --- a/sci-biology/cluster/ChangeLog
22 +++ b/sci-biology/cluster/ChangeLog
23 @@ -1,7 +1,13 @@
24 # ChangeLog for sci-biology/cluster
25 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
26 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
27 # $Header: $
28
29 +*cluster-1.50 (24 May 2012)
30 +
31 + 24 May 2012; Justin Lecher <jlec@g.o> -cluster-1.38.ebuild,
32 + +cluster-1.50.ebuild, metadata.xml:
33 + Version Bump, Move to EAPI=4
34 +
35 23 Jun 2010; Andreas K. Huettel (dilfridge) <mail@×××××××××.de>
36 cluster-1.38.ebuild:
37 QA fixes
38
39 diff --git a/sci-biology/cluster/cluster-1.38.ebuild b/sci-biology/cluster/cluster-1.38.ebuild
40 deleted file mode 100644
41 index 9ca0788..0000000
42 --- a/sci-biology/cluster/cluster-1.38.ebuild
43 +++ /dev/null
44 @@ -1,56 +0,0 @@
45 -# Copyright 1999-2010 Gentoo Foundation
46 -# Distributed under the terms of the GNU General Public License v2
47 -# $Header: $
48 -
49 -# needs bump badly
50 -
51 -SRC_URI="${P}.tar.gz"
52 -
53 -DESCRIPTION="Clustering software for microarray analysis"
54 -HOMEPAGE="http://bonsai.ims.u-tokyo.ac.jp/~mdehoon/software/cluster/software.htm#ctv"
55 -LICENSE="Eisen"
56 -SLOT="0"
57 -KEYWORDS="~amd64 ~x86"
58 -IUSE="X"
59 -
60 -DEPEND="X? ( x11-libs/openmotif )"
61 -RDEPEND="X? ( x11-misc/xdg-utils app-text/xpdf )"
62 -
63 -RESTRICT="fetch"
64 -
65 -pkg_nofetch() {
66 - einfo "Please obtain ${P}.tar.gz from ${HOMEPAGE} and place it in ${DISTDIR}"
67 -}
68 -
69 -src_unpack() {
70 - unpack ${A}
71 - cd "${S}"
72 - sed -i \
73 - -e 's:^docdir = $(prefix)/cluster/doc:docdir = @docdir@:' \
74 - -e 's:^htmldir = $(prefix)/cluster/html:htmldir = @htmldir@:' \
75 - -e 's:^imagedir = $(prefix)/cluster/html/images:imagedir = @htmldir@/images:' \
76 - -e 's:^fileformatdir = $(prefix)/cluster:fileformatdir = @docdir@:' \
77 - X11/Makefile.in || die "sed failed"
78 -
79 -# epatch "${FILESDIR}/${P}-helpmenu-fix.patch" || die "failed to patch helpmenu"
80 -
81 -}
82 -
83 -src_compile() {
84 - econf $(use_with X x) \
85 - --docdir="/usr/share/doc/${P}" \
86 - --htmldir="/usr/share/doc/${P}/html" \
87 - || die "econf failed"
88 -
89 - emake || die "emake failed"
90 -}
91 -
92 -src_install() {
93 - emake DESTDIR="${D}" install || die "Install failed"
94 -
95 - dodoc README AUTHORS ChangeLog NEWS TODO || die "failed to install docs"
96 - insinto /usr/share/doc/${P}/examples
97 - doins example/example.c example/README || die "failed to install docs"
98 - insinto /usr/share/doc/${P}
99 - doins doc/cluster.pdf || die "failed to install docs"
100 -}
101
102 diff --git a/sci-biology/cluster/cluster-1.50.ebuild b/sci-biology/cluster/cluster-1.50.ebuild
103 new file mode 100644
104 index 0000000..614ff43
105 --- /dev/null
106 +++ b/sci-biology/cluster/cluster-1.50.ebuild
107 @@ -0,0 +1,48 @@
108 +# Copyright 1999-2012 Gentoo Foundation
109 +# Distributed under the terms of the GNU General Public License v2
110 +# $Header: $
111 +
112 +EAPI=4
113 +
114 +DESCRIPTION="Clustering software for microarray analysis"
115 +HOMEPAGE="http://bonsai.ims.u-tokyo.ac.jp/~mdehoon/software/cluster/software.htm#ctv"
116 +SRC_URI="${P}.tar.gz"
117 +
118 +LICENSE="Eisen"
119 +SLOT="0"
120 +KEYWORDS="~amd64 ~x86"
121 +IUSE="X"
122 +
123 +DEPEND="X? ( x11-libs/openmotif )"
124 +RDEPEND="X? ( x11-misc/xdg-utils app-text/mupdf )"
125 +
126 +RESTRICT="fetch"
127 +
128 +pkg_nofetch() {
129 + einfo "Please obtain ${P}.tar.gz from ${HOMEPAGE} and place it in ${DISTDIR}"
130 +}
131 +
132 +src_prepare() {
133 + sed -i \
134 + -e 's:^docdir = .*$:docdir = @docdir@:' \
135 + -e 's:^htmldir = .*$:htmldir = @htmldir@:' \
136 + -e 's:^imagedir = .*$:imagedir = @htmldir@/images:' \
137 + -e 's:^fileformatdir = .*$:fileformatdir = @docdir@:' \
138 + X11/Makefile.in || die "sed failed"
139 +}
140 +
141 +src_configure() {
142 + econf \
143 + $(use_with X x) \
144 + --docdir="/usr/share/doc/${P}" \
145 + --htmldir="/usr/share/doc/${P}/html"
146 +}
147 +
148 +src_install() {
149 + default
150 +
151 + insinto /usr/share/doc/${P}/examples
152 + doins example/example.c example/README
153 + insinto /usr/share/doc/${PR}
154 + doins doc/cluster.pdf
155 +}
156
157 diff --git a/sci-biology/cluster/metadata.xml b/sci-biology/cluster/metadata.xml
158 index 2971c5b..94729cb 100644
159 --- a/sci-biology/cluster/metadata.xml
160 +++ b/sci-biology/cluster/metadata.xml
161 @@ -1,14 +1,13 @@
162 <?xml version="1.0" encoding="UTF-8"?>
163 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
164 <pkgmetadata>
165 -<herd>sci-biology</herd>
166 -<maintainer>
167 -<email>je_fro@g.o</email>
168 -<name>Jeff Gardner</name>
169 -</maintainer>
170 -<longdescription lang="en">
171 + <herd>sci-biology</herd>
172 + <maintainer>
173 + <email>je_fro@g.o</email>
174 + <name>Jeff Gardner</name>
175 + </maintainer>
176 + <longdescription lang="en">
177 Cluster provides an interface to access methods of gene expression data
178 analysis.
179 </longdescription>
180 </pkgmetadata>
181 -