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