Gentoo Archives: gentoo-commits

From: "Olivier Fisette (ribosome)" <ribosome@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-biology/emboss: emboss-6.1.0.ebuild ChangeLog
Date: Tue, 01 Sep 2009 14:17:19
Message-Id: E1MiYzU-0002ie-JD@stork.gentoo.org
1 ribosome 09/09/01 19:26:04
2
3 Modified: ChangeLog
4 Added: emboss-6.1.0.ebuild
5 Log:
6 New upstream version.
7 (Portage version: 2.2_rc40/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.52 sci-biology/emboss/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/emboss/ChangeLog?rev=1.52&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/emboss/ChangeLog?rev=1.52&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/emboss/ChangeLog?r1=1.51&r2=1.52
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-biology/emboss/ChangeLog,v
19 retrieving revision 1.51
20 retrieving revision 1.52
21 diff -u -r1.51 -r1.52
22 --- ChangeLog 1 Sep 2009 18:18:17 -0000 1.51
23 +++ ChangeLog 1 Sep 2009 19:26:04 -0000 1.52
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sci-biology/emboss
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/emboss/ChangeLog,v 1.51 2009/09/01 18:18:17 ribosome Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/emboss/ChangeLog,v 1.52 2009/09/01 19:26:04 ribosome Exp $
29 +
30 +*emboss-6.1.0 (01 Sep 2009)
31 +
32 + 01 Sep 2009; Olivier Fisette <ribosome@g.o> +emboss-6.1.0.ebuild:
33 + New upstream version.
34
35 01 Sep 2009; Olivier Fisette <ribosome@g.o> emboss-6.0.1.ebuild:
36 Stabilised on x86 and amd64.
37
38
39
40 1.1 sci-biology/emboss/emboss-6.1.0.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/emboss/emboss-6.1.0.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/emboss/emboss-6.1.0.ebuild?rev=1.1&content-type=text/plain
44
45 Index: emboss-6.1.0.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sci-biology/emboss/emboss-6.1.0.ebuild,v 1.1 2009/09/01 19:26:04 ribosome Exp $
50
51 inherit eutils
52
53 DESCRIPTION="The European Molecular Biology Open Software Suite - A sequence analysis package"
54 HOMEPAGE="http://emboss.sourceforge.net/"
55 SRC_URI="ftp://${PN}.open-bio.org/pub/EMBOSS/EMBOSS-${PV}.tar.gz"
56 LICENSE="GPL-2 LGPL-2"
57
58 SLOT="0"
59 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
60 IUSE="X png minimal"
61
62 DEPEND="X? ( x11-libs/libXt )
63 png? (
64 sys-libs/zlib
65 media-libs/libpng
66 media-libs/gd
67 )
68 !minimal? (
69 sci-biology/primer3
70 sci-biology/clustalw
71 )"
72
73 RDEPEND="${DEPEND}"
74
75 PDEPEND="!minimal? (
76 sci-biology/aaindex
77 sci-biology/cutg
78 sci-biology/prints
79 sci-biology/prosite
80 >=sci-biology/rebase-707
81 sci-biology/transfac
82 )"
83
84 S="${WORKDIR}/EMBOSS-${PV}"
85
86 src_unpack() {
87 unpack ${A}
88 cd "${S}"
89 epatch "${FILESDIR}"/${PN}-5.0.0-as-needed.patch
90
91 local link_string="-lX11";
92 if use png; then
93 link_string="${link_string} -lgd -lpng"
94 fi
95 sed -e "s:PATCH_PLPLOT:${link_string}:" -i plplot/Makefile.in \
96 || die "Failed to patch ajax Makefile"
97 }
98
99 src_compile() {
100 EXTRA_CONF="--includedir=${D}/usr/include/emboss"
101 ! use X && EXTRA_CONF="${EXTRA_CONF} --without-x"
102 ! use png && EXTRA_CONF="${EXTRA_CONF} --without-pngdriver"
103
104 econf ${EXTRA_CONF} || die
105 # Do not install the JEMBOSS component (the --without-java configure option
106 # does not work). JEMBOSS will eventually be available as a separate package.
107 sed -i -e "s/SUBDIRS = plplot ajax nucleus emboss test doc jemboss/SUBDIRS = plplot ajax nucleus emboss test doc/" \
108 Makefile || die
109 emake || die
110 }
111
112 src_install() {
113 einstall || die "Failed to install program files."
114
115 dodoc AUTHORS ChangeLog FAQ NEWS README THANKS \
116 || die "Failed to install documentation."
117 newdoc "${FILESDIR}"/${PN}-README.Gentoo-1 README.Gentoo \
118 || die "Failed to install Gentoo readme file."
119
120 # Install env file for setting libplplot and acd files path.
121 cat <<- EOF > 22emboss
122 # plplot libs dir
123 PLPLOT_LIB="/usr/share/EMBOSS/"
124 # ACD files location
125 EMBOSS_ACDROOT="/usr/share/EMBOSS/acd"
126 EOF
127 doenvd 22emboss || die "Failed to install environment file."
128
129 # Symlink preinstalled docs to "/usr/share/doc".
130 dosym /usr/share/EMBOSS/doc/manuals /usr/share/doc/${PF}/manuals || die
131 dosym /usr/share/EMBOSS/doc/programs /usr/share/doc/${PF}/programs || die
132 dosym /usr/share/EMBOSS/doc/tutorials /usr/share/doc/${PF}/tutorials || die
133 dosym /usr/share/EMBOSS/doc/html /usr/share/doc/${PF}/html || die
134
135 # Remove useless dummy files from the image.
136 rm "${D}"/usr/share/EMBOSS/data/{AAINDEX,PRINTS,PROSITE,REBASE}/dummyfile \
137 || die "Failed to remove dummy files."
138
139 # Move the provided codon files to a different directory. This will avoid
140 # user confusion and file collisions on case-insensitive file systems (see
141 # bug #115446). This change is documented in "README.Gentoo".
142 mv "${D}"/usr/share/EMBOSS/data/CODONS \
143 "${D}"/usr/share/EMBOSS/data/CODONS.orig || \
144 die "Failed to move CODON directory."
145
146 # Move the provided restriction enzyme prototypes file to a different name.
147 # This avoids file collisions with versions of rebase that install their
148 # own enzyme prototypes file (see bug #118832).
149 mv "${D}"/usr/share/EMBOSS/data/embossre.equ \
150 "${D}"/usr/share/EMBOSS/data/embossre.equ.orig || \
151 die "Failed to move enzyme equivalence file."
152 }