From: "Björn Thorwirth" <bjoern.thorwirth@uni-due.de>
To: gentoo-science@lists.gentoo.org
Subject: [gentoo-science] biopython 1.51
Date: Tue, 08 Sep 2009 15:01:17 +0100 [thread overview]
Message-ID: <1252418477.7376.1.camel@localhost> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 285 bytes --]
Hi All!
Here is an ebuild for new biopython 1.51. taken and adapted from bug
#278130
--
Bjoern Thorwirth, Zentrum für Medizinische Biotechnologie,
Universität Duisburg-Essen, Universitätsstr. 2, 45117 Essen, Germany
phone +49 201 183-4026, bjoern.thorwirth@uni-due.de
[-- Attachment #1.2: biopython-1.51.ebuild --]
[-- Type: text/plain, Size: 1379 bytes --]
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/biopython/biopython-1.49.ebuild,v 1.2 2009/07/14 15:31:35 fauli Exp $
NEED_PYTHON=2.4
inherit distutils eutils
DESCRIPTION="Biopython - Python modules for computational molecular biology"
LICENSE="as-is"
HOMEPAGE="http://www.biopython.org"
SRC_URI="http://www.biopython.org/DIST/${P}.tar.gz"
SLOT="0"
IUSE="mysql postgres"
KEYWORDS="~alpha amd64 ~ppc ~sparc x86"
DEPEND="dev-python/numpy
>=dev-python/reportlab-2.0
sys-devel/flex"
RDEPEND="${DEPEND}
mysql? ( dev-python/mysql-python )
postgres? ( dev-python/psycopg )"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-flex.patch"
}
src_compile() {
distutils_src_compile
}
src_install() {
DOCS="CONTRIB DEPRECATED NEWS README"
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."
}
src_test() {
cd "${S}/Tests"
PYTHONPATH="${PYTHONPATH}:${S}" \
python run_tests.py || die "Tests failed."
}
[-- Attachment #1.3: biopython-1.51-flex.patch --]
[-- Type: text/x-patch, Size: 803 bytes --]
--- setup.py.old 2008-11-25 18:03:16.000000000 +0100
+++ setup.py 2008-11-25 18:04:14.000000000 +0100
@@ -341,12 +341,12 @@
include_dirs=["Bio"]
),
#Commented out due to the build dependency on flex, see Bug 2619
-# Extension('Bio.PDB.mmCIF.MMCIFlex',
-# ['Bio/PDB/mmCIF/lex.yy.c',
-# 'Bio/PDB/mmCIF/MMCIFlexmodule.c'],
-# include_dirs=["Bio"],
-# libraries=["fl"]
-# ),
+ Extension('Bio.PDB.mmCIF.MMCIFlex',
+ ['Bio/PDB/mmCIF/lex.yy.c',
+ 'Bio/PDB/mmCIF/MMCIFlexmodule.c'],
+ include_dirs=["Bio"],
+ libraries=["fl"]
+ ),
Extension('Bio.Nexus.cnexus',
['Bio/Nexus/cnexus.c']
),
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
reply other threads:[~2009-09-08 13:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1252418477.7376.1.camel@localhost \
--to=bjoern.thorwirth@uni-due.de \
--cc=gentoo-science@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox