diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-04-22 20:19:04 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-04-22 20:19:04 +0000 |
commit | 7ea23ccfa93bb4cc85c2cc46efd51e110e80741d (patch) | |
tree | 289bb6d657b76a55a7de3d3095d7f66fb8e19013 /sci-chemistry/ccp4i | |
parent | Version bump (diff) | |
download | gentoo-2-7ea23ccfa93bb4cc85c2cc46efd51e110e80741d.tar.gz gentoo-2-7ea23ccfa93bb4cc85c2cc46efd51e110e80741d.tar.bz2 gentoo-2-7ea23ccfa93bb4cc85c2cc46efd51e110e80741d.zip |
Fixes for Python ABIs, keyworded for *-linux
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/ccp4i')
-rw-r--r-- | sci-chemistry/ccp4i/ChangeLog | 5 | ||||
-rw-r--r-- | sci-chemistry/ccp4i/ccp4i-6.1.3-r1.ebuild | 12 |
2 files changed, 13 insertions, 4 deletions
diff --git a/sci-chemistry/ccp4i/ChangeLog b/sci-chemistry/ccp4i/ChangeLog index 439b9f5fdcdc..a94d1b5c294d 100644 --- a/sci-chemistry/ccp4i/ChangeLog +++ b/sci-chemistry/ccp4i/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-chemistry/ccp4i # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ccp4i/ChangeLog,v 1.2 2010/03/20 17:27:06 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ccp4i/ChangeLog,v 1.3 2010/04/22 20:19:04 jlec Exp $ + + 22 Apr 2010; Justin Lecher <jlec@gentoo.org> ccp4i-6.1.3-r1.ebuild: + Fixes for Python ABIs, keyworded for *-linux *ccp4i-6.1.3-r1 (20 Mar 2010) diff --git a/sci-chemistry/ccp4i/ccp4i-6.1.3-r1.ebuild b/sci-chemistry/ccp4i/ccp4i-6.1.3-r1.ebuild index c7f3b5130d54..47b04b4e3c2a 100644 --- a/sci-chemistry/ccp4i/ccp4i-6.1.3-r1.ebuild +++ b/sci-chemistry/ccp4i/ccp4i-6.1.3-r1.ebuild @@ -1,11 +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/ccp4i/ccp4i-6.1.3-r1.ebuild,v 1.1 2010/03/20 17:27:06 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ccp4i/ccp4i-6.1.3-r1.ebuild,v 1.2 2010/04/22 20:19:04 jlec Exp $ EAPI="2" -inherit base multilib +inherit base multilib python +PYTHON_DEPEND="2" MY_PN="${PN%i}" MY_P="${MY_PN}-${PV}" @@ -24,7 +25,7 @@ SRC_URI=" [[ -n ${PATCHDATE} ]] && SRC_URI="${SRC_URI} http://dev.gentooexperimental.org/~jlec/science-dist/${PV}-${PATCHDATE}-updates.patch.bz2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" LICENSE="ccp4" IUSE="" @@ -45,12 +46,17 @@ PATCHES=( "${WORKDIR}"/${P}-arpwarp.patch ) +pkg_setup() { + python_set_active_version 2 +} + src_prepare() { base_src_prepare [[ ! -z ${PATCHDATE} ]] && epatch "${WORKDIR}"/${PV}-${PATCHDATE}-updates.patch epatch "${WORKDIR}"/${PV}-oasis4.0.patch + python_convert_shebangs -r $(python_get_version) ccp4i/ share/dbccp4i/ } src_configure() { |