Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-chemistry/ccp4i: ChangeLog ccp4i-6.1.3-r1.ebuild
Date: Thu, 22 Apr 2010 20:19:12
Message-Id: 20100422201904.8206C2C04B@corvid.gentoo.org
1 jlec 10/04/22 20:19:04
2
3 Modified: ChangeLog ccp4i-6.1.3-r1.ebuild
4 Log:
5 Fixes for Python ABIs, keyworded for *-linux
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.3 sci-chemistry/ccp4i/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4i/ChangeLog?rev=1.3&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4i/ChangeLog?rev=1.3&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4i/ChangeLog?r1=1.2&r2=1.3
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/ccp4i/ChangeLog,v
18 retrieving revision 1.2
19 retrieving revision 1.3
20 diff -u -r1.2 -r1.3
21 --- ChangeLog 20 Mar 2010 17:27:06 -0000 1.2
22 +++ ChangeLog 22 Apr 2010 20:19:04 -0000 1.3
23 @@ -1,6 +1,9 @@
24 # ChangeLog for sci-chemistry/ccp4i
25 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ccp4i/ChangeLog,v 1.2 2010/03/20 17:27:06 jlec Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ccp4i/ChangeLog,v 1.3 2010/04/22 20:19:04 jlec Exp $
28 +
29 + 22 Apr 2010; Justin Lecher <jlec@g.o> ccp4i-6.1.3-r1.ebuild:
30 + Fixes for Python ABIs, keyworded for *-linux
31
32 *ccp4i-6.1.3-r1 (20 Mar 2010)
33
34
35
36
37 1.2 sci-chemistry/ccp4i/ccp4i-6.1.3-r1.ebuild
38
39 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4i/ccp4i-6.1.3-r1.ebuild?rev=1.2&view=markup
40 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4i/ccp4i-6.1.3-r1.ebuild?rev=1.2&content-type=text/plain
41 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4i/ccp4i-6.1.3-r1.ebuild?r1=1.1&r2=1.2
42
43 Index: ccp4i-6.1.3-r1.ebuild
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/ccp4i/ccp4i-6.1.3-r1.ebuild,v
46 retrieving revision 1.1
47 retrieving revision 1.2
48 diff -u -r1.1 -r1.2
49 --- ccp4i-6.1.3-r1.ebuild 20 Mar 2010 17:27:06 -0000 1.1
50 +++ ccp4i-6.1.3-r1.ebuild 22 Apr 2010 20:19:04 -0000 1.2
51 @@ -1,11 +1,12 @@
52 # Copyright 1999-2010 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 -# $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 $
55 +# $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 $
56
57 EAPI="2"
58
59 -inherit base multilib
60 +inherit base multilib python
61
62 +PYTHON_DEPEND="2"
63 MY_PN="${PN%i}"
64 MY_P="${MY_PN}-${PV}"
65
66 @@ -24,7 +25,7 @@
67 [[ -n ${PATCHDATE} ]] && SRC_URI="${SRC_URI} http://dev.gentooexperimental.org/~jlec/science-dist/${PV}-${PATCHDATE}-updates.patch.bz2"
68
69 SLOT="0"
70 -KEYWORDS="~amd64 ~x86"
71 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
72 LICENSE="ccp4"
73 IUSE=""
74
75 @@ -45,12 +46,17 @@
76 "${WORKDIR}"/${P}-arpwarp.patch
77 )
78
79 +pkg_setup() {
80 + python_set_active_version 2
81 +}
82 +
83 src_prepare() {
84 base_src_prepare
85
86 [[ ! -z ${PATCHDATE} ]] && epatch "${WORKDIR}"/${PV}-${PATCHDATE}-updates.patch
87
88 epatch "${WORKDIR}"/${PV}-oasis4.0.patch
89 + python_convert_shebangs -r $(python_get_version) ccp4i/ share/dbccp4i/
90 }
91
92 src_configure() {