summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-04-22 19:35:33 +0000
committerJustin Lecher <jlec@gentoo.org>2010-04-22 19:35:33 +0000
commitf46416d189ed550d0020bfff858363e056a09da4 (patch)
tree0e21892948a84ac70203fcc25abe56f9d8ae9887 /sci-chemistry/mrbump
parentBug #316571: more work on library installs. (diff)
downloadgentoo-2-f46416d189ed550d0020bfff858363e056a09da4.tar.gz
gentoo-2-f46416d189ed550d0020bfff858363e056a09da4.tar.bz2
gentoo-2-f46416d189ed550d0020bfff858363e056a09da4.zip
Support for Python ABIs, #316175
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/mrbump')
-rw-r--r--sci-chemistry/mrbump/ChangeLog5
-rw-r--r--sci-chemistry/mrbump/mrbump-0.4.4.ebuild16
2 files changed, 15 insertions, 6 deletions
diff --git a/sci-chemistry/mrbump/ChangeLog b/sci-chemistry/mrbump/ChangeLog
index be30423f55f2..23095cf8e07f 100644
--- a/sci-chemistry/mrbump/ChangeLog
+++ b/sci-chemistry/mrbump/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-chemistry/mrbump
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/mrbump/ChangeLog,v 1.1 2010/02/06 23:25:56 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/mrbump/ChangeLog,v 1.2 2010/04/22 19:35:33 jlec Exp $
+
+ 22 Apr 2010; Justin Lecher <jlec@gentoo.org> mrbump-0.4.4.ebuild:
+ Support for Python ABIs, #316175
*mrbump-0.4.4 (06 Feb 2010)
diff --git a/sci-chemistry/mrbump/mrbump-0.4.4.ebuild b/sci-chemistry/mrbump/mrbump-0.4.4.ebuild
index 6784cc2c3d75..68de41b79f53 100644
--- a/sci-chemistry/mrbump/mrbump-0.4.4.ebuild
+++ b/sci-chemistry/mrbump/mrbump-0.4.4.ebuild
@@ -1,10 +1,12 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/mrbump/mrbump-0.4.4.ebuild,v 1.1 2010/02/06 23:25:56 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/mrbump/mrbump-0.4.4.ebuild,v 1.2 2010/04/22 19:35:33 jlec Exp $
-EAPI="2"
+EAPI="3"
-inherit eutils multilib
+PYTHON_DEPEND="2"
+
+inherit eutils multilib python
DESCRIPTION="An automated scheme for Molecular Replacement"
HOMEPAGE="http://www.ccp4.ac.uk/MrBUMP"
@@ -23,10 +25,13 @@ RDEPEND=">=sci-chemistry/ccp4-apps-6.1.3[X?]
sci-biology/t-coffee )
sci-biology/fasta
X? ( media-gfx/graphviz )
- perl? ( dev-perl/SOAP-Lite )
- >=dev-lang/python-2.3"
+ perl? ( dev-perl/SOAP-Lite )"
DEPEND="${RDEPEND}"
+pkg_setup() {
+ python_set_active_version 2
+}
+
src_unpack(){
unpack ${A}
cd "${S}"
@@ -35,6 +40,7 @@ src_unpack(){
src_prepare() {
epatch "${FILESDIR}"/${PV}-superpose.patch
+ python_convert_shebangs 2 setup_lib/*
}
src_install(){