Gentoo Archives: gentoo-commits

From: "Andrey Kislyuk (weaver)" <weaver@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-biology/biopython: ChangeLog biopython-1.59.ebuild
Date: Mon, 27 Feb 2012 16:07:09
Message-Id: 20120227160659.2C82D2004B@flycatcher.gentoo.org
1 weaver 12/02/27 16:06:59
2
3 Modified: ChangeLog
4 Added: biopython-1.59.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.0_alpha74/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.67 sci-biology/biopython/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/biopython/ChangeLog?rev=1.67&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/biopython/ChangeLog?rev=1.67&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/biopython/ChangeLog?r1=1.66&r2=1.67
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-biology/biopython/ChangeLog,v
20 retrieving revision 1.66
21 retrieving revision 1.67
22 diff -u -r1.66 -r1.67
23 --- ChangeLog 26 Dec 2011 05:51:16 -0000 1.66
24 +++ ChangeLog 27 Feb 2012 16:06:58 -0000 1.67
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sci-biology/biopython
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/biopython/ChangeLog,v 1.66 2011/12/26 05:51:16 weaver Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/biopython/ChangeLog,v 1.67 2012/02/27 16:06:58 weaver Exp $
31 +
32 +*biopython-1.59 (27 Feb 2012)
33 +
34 + 27 Feb 2012; Andrey Kislyuk <weaver@g.o> +biopython-1.59.ebuild:
35 + Version bump
36
37 26 Dec 2011; Andrey Kislyuk <weaver@g.o> +biopython-1.58.ebuild:
38 Version bump
39
40
41
42 1.1 sci-biology/biopython/biopython-1.59.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/biopython/biopython-1.59.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/biopython/biopython-1.59.ebuild?rev=1.1&content-type=text/plain
46
47 Index: biopython-1.59.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-biology/biopython/biopython-1.59.ebuild,v 1.1 2012/02/27 16:06:59 weaver Exp $
52
53 EAPI=3
54 PYTHON_DEPEND="2"
55 SUPPORT_PYTHON_ABIS="1"
56 RESTRICT_PYTHON_ABIS="3.* *-jython"
57
58 inherit distutils eutils
59
60 DESCRIPTION="Python modules for computational molecular biology"
61 HOMEPAGE="http://www.biopython.org/ http://pypi.python.org/pypi/biopython/"
62 SRC_URI="http://www.biopython.org/DIST/${P}.tar.gz"
63
64 LICENSE="as-is"
65 SLOT="0"
66 KEYWORDS="~amd64 ~ppc ~x86"
67 IUSE="mysql postgres"
68
69 RDEPEND="
70 dev-python/numpy
71 dev-python/reportlab
72 mysql? ( dev-python/mysql-python )
73 postgres? ( dev-python/psycopg )"
74 DEPEND="${RDEPEND}
75 sys-devel/flex"
76
77 PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
78
79 DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
80 DOCS="CONTRIB DEPRECATED NEWS README"
81 PYTHON_MODNAME="Bio BioSQL"
82
83 src_prepare() {
84 distutils_src_prepare
85 epatch "${FILESDIR}/${PN}-1.51-flex.patch"
86 }
87
88 src_test() {
89 testing() {
90 cd Tests
91 PYTHONPATH="$(ls -d ../build/lib.*)" "$(PYTHON)" run_tests.py
92 }
93 python_execute_function --nonfatal -s testing
94 }
95
96 src_install() {
97 distutils_src_install
98
99 insinto /usr/share/doc/${PF}
100 doins -r Doc/* || die "Installation of documentation failed"
101 insinto /usr/share/${PN}
102 cp -r --preserve=mode Scripts Tests "${ED}usr/share/${PN}" || die "Installation of shared files failed"
103 }