From 744f0ed10276b72f8ca8204f119e915cecf57979 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Sat, 5 Jun 2010 21:06:05 +0000 Subject: [PATCH] Version bump. Package-Manager: portage-HEAD/cvs/Linux x86_64 --- sci-biology/biopython/ChangeLog | 9 +++- sci-biology/biopython/biopython-1.54.ebuild | 56 +++++++++++++++++++++ 2 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 sci-biology/biopython/biopython-1.54.ebuild diff --git a/sci-biology/biopython/ChangeLog b/sci-biology/biopython/ChangeLog index c7525511a4be..9afc0a08c4cf 100644 --- a/sci-biology/biopython/ChangeLog +++ b/sci-biology/biopython/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-biology/biopython # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/biopython/ChangeLog,v 1.42 2010/02/13 19:10:21 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/biopython/ChangeLog,v 1.43 2010/06/05 21:06:05 arfrever Exp $ + +*biopython-1.54 (05 Jun 2010) + + 05 Jun 2010; Arfrever Frehtes Taifersar Arahesis + -biopython-1.49.ebuild, -files/biopython-1.49-flex.patch, + -biopython-1.51.ebuild, -biopython-1.52.ebuild, +biopython-1.54.ebuild: + Version bump. 13 Feb 2010; Raúl Porcel biopython-1.53.ebuild: alpha/sparc stable wrt #301964 diff --git a/sci-biology/biopython/biopython-1.54.ebuild b/sci-biology/biopython/biopython-1.54.ebuild new file mode 100644 index 000000000000..f1da59ac98dc --- /dev/null +++ b/sci-biology/biopython/biopython-1.54.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/biopython/biopython-1.54.ebuild,v 1.1 2010/06/05 21:06:05 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils eutils + +DESCRIPTION="Biopython - 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="as-is" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +IUSE="mysql postgres" + +RDEPEND="dev-python/numpy + >=dev-python/reportlab-2.0 + mysql? ( dev-python/mysql-python ) + postgres? ( dev-python/psycopg )" +DEPEND="${RDEPEND} + sys-devel/flex" + +DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1" +DOCS="CONTRIB DEPRECATED NEWS README" +PYTHON_MODNAME="Bio BioSQL" + +src_prepare() { + distutils_src_prepare + epatch "${FILESDIR}/${PN}-1.51-flex.patch" +} + +src_test() { + testing() { + cd Tests + PYTHONPATH="$(ls -d ../build/lib.*)" "$(PYTHON)" run_tests.py + } + python_execute_function --nonfatal -s testing +} + +src_install() { + distutils_src_install + + dodir "/usr/share/doc/${PF}" + cp -r Doc/* "${D}/usr/share/doc/${PF}/" || \ + die "Failed to install documentation." + dodir "/usr/share/${PN}" + rm -f Tests/*.pyc || \ + die "Failed to remove precompiled test files." + cp -r --preserve=mode Scripts Tests "${D}/usr/share/${PN}/" || \ + die "Failed to install shared files." +} -- 2.26.2