Gentoo Archives: gentoo-commits

From: Martin Mokrejs <mmokrejs@×××××××××××××××.cz>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/biopython/
Date: Tue, 03 Jun 2014 00:26:42
Message-Id: 1401755039.10c67b74e2889910c6b679fbdaccbb3326adc635.mmokrejs@gentoo
1 commit: 10c67b74e2889910c6b679fbdaccbb3326adc635
2 Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
3 AuthorDate: Tue Jun 3 00:23:59 2014 +0000
4 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
5 CommitDate: Tue Jun 3 00:23:59 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=10c67b74
7
8 sci-biology/biopython-1.64: version bump with some notable bugfixes
9
10 Package-Manager: portage-2.2.7
11
12 ---
13 sci-biology/biopython/ChangeLog | 10 +++++
14 sci-biology/biopython/biopython-1.63-r2.ebuild | 54 ++++++++++++++++++++++++++
15 sci-biology/biopython/biopython-1.64.ebuild | 54 ++++++++++++++++++++++++++
16 sci-biology/biopython/metadata.xml | 5 +++
17 4 files changed, 123 insertions(+)
18
19 diff --git a/sci-biology/biopython/ChangeLog b/sci-biology/biopython/ChangeLog
20 new file mode 100644
21 index 0000000..c60a939
22 --- /dev/null
23 +++ b/sci-biology/biopython/ChangeLog
24 @@ -0,0 +1,10 @@
25 +# ChangeLog for sci-biology/biopython
26 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
27 +# $Header: $
28 +
29 +*biopython-1.63-r2 (03 Jun 2014)
30 +*biopython-1.64 (03 Jun 2014)
31 +
32 + 03 Jun 2014; Martin Mokrejs <mmokrejs@×××××××××××××××.cz>
33 + +biopython-1.63-r2.ebuild, +biopython-1.64.ebuild, +metadata.xml:
34 + sci-biology/biopython-1.64: version bump with some notable bugfixes
35
36 diff --git a/sci-biology/biopython/biopython-1.63-r2.ebuild b/sci-biology/biopython/biopython-1.63-r2.ebuild
37 new file mode 100644
38 index 0000000..435c757
39 --- /dev/null
40 +++ b/sci-biology/biopython/biopython-1.63-r2.ebuild
41 @@ -0,0 +1,54 @@
42 +# Copyright 1999-2014 Gentoo Foundation
43 +# Distributed under the terms of the GNU General Public License v2
44 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/biopython/biopython-1.62.ebuild,v 1.1 2013/09/17 16:07:56 jlec Exp $
45 +
46 +EAPI=5
47 +
48 +PYTHON_COMPAT=( python{2_6,2_7} )
49 +
50 +inherit distutils-r1 eutils
51 +
52 +DESCRIPTION="Python modules for computational molecular biology"
53 +HOMEPAGE="http://www.biopython.org/ http://pypi.python.org/pypi/biopython/"
54 +SRC_URI="http://www.biopython.org/DIST/${P}.tar.gz"
55 +
56 +LICENSE="HPND"
57 +SLOT="0"
58 +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
59 +IUSE="mysql postgres"
60 +
61 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
62 +
63 +RDEPEND="${PYTHON_DEPS}
64 + dev-python/matplotlib[${PYTHON_USEDEP}]
65 + dev-python/networkx[${PYTHON_USEDEP}]
66 + dev-python/numpy[${PYTHON_USEDEP}]
67 + dev-python/rdflib[${PYTHON_USEDEP}]
68 + dev-python/pygraphviz[${PYTHON_USEDEP}]
69 + dev-python/reportlab[${PYTHON_USEDEP}]
70 + media-gfx/pydot[${PYTHON_USEDEP}]
71 + mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
72 + postgres? ( dev-python/psycopg[${PYTHON_USEDEP}] )"
73 +DEPEND="${RDEPEND}
74 + sys-devel/flex"
75 +
76 +DOCS=( CONTRIB DEPRECATED NEWS README Doc/. )
77 +
78 +src_prepare() {
79 + epatch "${FILESDIR}/SffIO_error_in_check_eof.patch"
80 + epatch "${FILESDIR}/SffIO_broken_padding.patch"
81 + epatch "${FILESDIR}/SffIO-crossed-trimpoints.patch"
82 + distutils-r1_src_prepare
83 +}
84 +
85 +python_test() {
86 + cd Tests || die
87 + ${PYTHON} run_tests.py || die
88 +}
89 +
90 +python_install_all() {
91 + distutils-r1_python_install_all
92 +
93 + dodir /usr/share/${PN}
94 + cp -r --preserve=mode Scripts Tests "${ED}"/usr/share/${PN} || die
95 +}
96
97 diff --git a/sci-biology/biopython/biopython-1.64.ebuild b/sci-biology/biopython/biopython-1.64.ebuild
98 new file mode 100644
99 index 0000000..366fa7a
100 --- /dev/null
101 +++ b/sci-biology/biopython/biopython-1.64.ebuild
102 @@ -0,0 +1,54 @@
103 +# Copyright 1999-2014 Gentoo Foundation
104 +# Distributed under the terms of the GNU General Public License v2
105 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/biopython/biopython-1.62.ebuild,v 1.1 2013/09/17 16:07:56 jlec Exp $
106 +
107 +EAPI=5
108 +
109 +PYTHON_COMPAT=( python{2_6,2_7} )
110 +
111 +inherit distutils-r1 eutils
112 +
113 +DESCRIPTION="Python modules for computational molecular biology"
114 +HOMEPAGE="http://www.biopython.org/ http://pypi.python.org/pypi/biopython/"
115 +SRC_URI="http://www.biopython.org/DIST/${P}.tar.gz"
116 +
117 +LICENSE="HPND"
118 +SLOT="0"
119 +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
120 +IUSE="mysql postgres"
121 +
122 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
123 +
124 +RDEPEND="${PYTHON_DEPS}
125 + dev-python/matplotlib[${PYTHON_USEDEP}]
126 + dev-python/networkx[${PYTHON_USEDEP}]
127 + dev-python/numpy[${PYTHON_USEDEP}]
128 + dev-python/rdflib[${PYTHON_USEDEP}]
129 + dev-python/pygraphviz[${PYTHON_USEDEP}]
130 + dev-python/reportlab[${PYTHON_USEDEP}]
131 + media-gfx/pydot[${PYTHON_USEDEP}]
132 + mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
133 + postgres? ( dev-python/psycopg[${PYTHON_USEDEP}] )"
134 +DEPEND="${RDEPEND}
135 + sys-devel/flex"
136 +
137 +DOCS=( CONTRIB DEPRECATED NEWS README Doc/. )
138 +
139 +#src_prepare() {
140 +# epatch "${FILESDIR}/SffIO_error_in_check_eof.patch"
141 +# epatch "${FILESDIR}/SffIO_broken_padding.patch"
142 +# epatch "${FILESDIR}/SffIO-crossed-trimpoints.patch"
143 +# distutils-r1_src_prepare
144 +#}
145 +
146 +python_test() {
147 + cd Tests || die
148 + ${PYTHON} run_tests.py || die
149 +}
150 +
151 +python_install_all() {
152 + distutils-r1_python_install_all
153 +
154 + dodir /usr/share/${PN}
155 + cp -r --preserve=mode Scripts Tests "${ED}"/usr/share/${PN} || die
156 +}
157
158 diff --git a/sci-biology/biopython/metadata.xml b/sci-biology/biopython/metadata.xml
159 new file mode 100644
160 index 0000000..f17a827
161 --- /dev/null
162 +++ b/sci-biology/biopython/metadata.xml
163 @@ -0,0 +1,5 @@
164 +<?xml version="1.0" encoding="UTF-8"?>
165 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
166 +<pkgmetadata>
167 + <herd>sci-biology</herd>
168 +</pkgmetadata>