aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHonza Macháček <Hloupy.Honza@centrum.cz>2013-09-26 11:31:28 +0200
committerHonza Macháček <Hloupy.Honza@centrum.cz>2013-09-26 11:31:28 +0200
commit8264cf578dd291cd44eed3ca3daa6eb37d4ecde8 (patch)
tree54f1a6b4479725081e6312005d75219f3663ca25 /sci-biology/biopython/biopython-1.62-r1.ebuild
parentCommits of sci-libs/bigdft-abi-1.0.4-r2 messed up, trying to clean up my mess. (diff)
parentsci-biology/mira: Fix m4 macrodir location (diff)
downloadsci-8264cf578dd291cd44eed3ca3daa6eb37d4ecde8.tar.gz
sci-8264cf578dd291cd44eed3ca3daa6eb37d4ecde8.tar.bz2
sci-8264cf578dd291cd44eed3ca3daa6eb37d4ecde8.zip
There is apparently something wrong happenning with my commits. Trying to go on and get somewhere.
Diffstat (limited to 'sci-biology/biopython/biopython-1.62-r1.ebuild')
-rw-r--r--sci-biology/biopython/biopython-1.62-r1.ebuild51
1 files changed, 51 insertions, 0 deletions
diff --git a/sci-biology/biopython/biopython-1.62-r1.ebuild b/sci-biology/biopython/biopython-1.62-r1.ebuild
new file mode 100644
index 000000000..d3e61a264
--- /dev/null
+++ b/sci-biology/biopython/biopython-1.62-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/biopython/biopython-1.62.ebuild,v 1.1 2013/09/17 16:07:56 jlec Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7} )
+
+inherit distutils-r1 eutils
+
+DESCRIPTION="Python modules for computational molecular biology"
+HOMEPAGE="http://www.biopython.org/ http://pypi.python.org/pypi/biopython/"
+SRC_URI="http://www.biopython.org/DIST/${P}.tar.gz"
+
+LICENSE="HPND"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="mysql postgres"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ dev-python/networkx[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/pygraphviz[${PYTHON_USEDEP}]
+ dev-python/reportlab[${PYTHON_USEDEP}]
+ media-gfx/pydot[${PYTHON_USEDEP}]
+ mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
+ postgres? ( dev-python/psycopg[${PYTHON_USEDEP}] )"
+DEPEND="${RDEPEND}
+ sys-devel/flex"
+
+DOCS=( CONTRIB DEPRECATED NEWS README Doc/. )
+
+src_prepare() {
+ distutils-r1_src_prepare
+ epatch "${FILESDIR}/${PN}-1.62-SffIO.patch"
+}
+
+python_test() {
+ cd Tests || die
+ ${PYTHON} run_tests.py || die
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ dodir /usr/share/${PN}
+ cp -r --preserve=mode Scripts Tests "${ED}"/usr/share/${PN} || die
+}