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/biopython: ChangeLog biopython-1.49.ebuild
Date: Fri, 16 Jan 2009 17:04:18
Message-Id: E1LNs7C-0000Zo-H0@stork.gentoo.org
1 ribosome 09/01/16 17:04:14
2
3 Modified: ChangeLog
4 Added: biopython-1.49.ebuild
5 Log:
6 New upstream version (fixes bug #248799).
7 (Portage version: 2.2_rc21/cvs/Linux 2.6.27-gentoo-r7 x86_64)
8
9 Revision Changes Path
10 1.27 sci-biology/biopython/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/biopython/ChangeLog?rev=1.27&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/biopython/ChangeLog?rev=1.27&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/biopython/ChangeLog?r1=1.26&r2=1.27
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-biology/biopython/ChangeLog,v
19 retrieving revision 1.26
20 retrieving revision 1.27
21 diff -u -r1.26 -r1.27
22 --- ChangeLog 6 Aug 2008 14:53:49 -0000 1.26
23 +++ ChangeLog 16 Jan 2009 17:04:14 -0000 1.27
24 @@ -1,6 +1,13 @@
25 # ChangeLog for sci-biology/biopython
26 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/biopython/ChangeLog,v 1.26 2008/08/06 14:53:49 ulm Exp $
28 +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/biopython/ChangeLog,v 1.27 2009/01/16 17:04:14 ribosome Exp $
30 +
31 +*biopython-1.49 (16 Jan 2009)
32 +
33 + 16 Jan 2009; Olivier Fisette <ribosome@g.o>
34 + +files/biopython-1.49-flex.patch, +biopython-1.49.ebuild:
35 + Version bump. Thanks to Juan Aguado <juantxorena@×××××.com> for his work.
36 + Fixes bug #248799.
37
38 06 Aug 2008; Ulrich Mueller <ulm@g.o> metadata.xml:
39 Add USE flag description to metadata wrt GLEP 56.
40
41
42
43 1.1 sci-biology/biopython/biopython-1.49.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/biopython/biopython-1.49.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/biopython/biopython-1.49.ebuild?rev=1.1&content-type=text/plain
47
48 Index: biopython-1.49.ebuild
49 ===================================================================
50 # Copyright 1999-2009 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sci-biology/biopython/biopython-1.49.ebuild,v 1.1 2009/01/16 17:04:14 ribosome Exp $
53
54 NEED_PYTHON=2.3
55 inherit distutils eutils
56
57 DESCRIPTION="Biopython - Python modules for computational molecular biology"
58 LICENSE="as-is"
59 HOMEPAGE="http://www.biopython.org"
60 SRC_URI="http://www.biopython.org/DIST/${P}.tar.gz"
61
62 SLOT="0"
63 IUSE="mysql postgres"
64 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
65
66 DEPEND="dev-python/numpy
67 >=dev-python/reportlab-2.0
68 sys-devel/flex"
69
70 RDEPEND="${DEPEND}
71 mysql? ( dev-python/mysql-python )
72 postgres? ( dev-python/psycopg )"
73
74 src_unpack() {
75 unpack ${A}
76 cd "${S}"
77 epatch "${FILESDIR}/${P}-flex.patch"
78 }
79
80 src_compile() {
81 distutils_src_compile
82 }
83
84 src_install() {
85 DOCS="CONTRIB DEPRECATED NEWS README"
86 distutils_src_install
87
88 dodir "/usr/share/doc/${PF}"
89 cp -r Doc/* "${D}/usr/share/doc/${PF}/" || \
90 die "Failed to install documentation."
91 dodir "/usr/share/${PN}"
92 rm Tests/*.pyc || \
93 die "Failed to remove precompiled test files."
94 cp -r --preserve=mode Scripts Tests "${D}/usr/share/${PN}/" || \
95 die "Failed to install shared files."
96 }
97
98 src_test() {
99 cd "${S}/Tests"
100 PYTHONPATH="${PYTHONPATH}:${S}" \
101 python run_tests.py --no-gui || die "Tests failed."
102 }