1 |
jlec 10/04/25 10:52:40 |
2 |
|
3 |
Modified: viewmol-2.4.1-r1.ebuild |
4 |
Log: |
5 |
Python ABI fixes, #316183 |
6 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 sci-chemistry/viewmol/viewmol-2.4.1-r1.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/viewmol/viewmol-2.4.1-r1.ebuild?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/viewmol/viewmol-2.4.1-r1.ebuild?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/viewmol/viewmol-2.4.1-r1.ebuild?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: viewmol-2.4.1-r1.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/viewmol/viewmol-2.4.1-r1.ebuild,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- viewmol-2.4.1-r1.ebuild 10 Mar 2010 17:09:14 -0000 1.1 |
22 |
+++ viewmol-2.4.1-r1.ebuild 25 Apr 2010 10:52:40 -0000 1.2 |
23 |
@@ -1,6 +1,6 @@ |
24 |
# Copyright 1999-2010 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/viewmol/viewmol-2.4.1-r1.ebuild,v 1.1 2010/03/10 17:09:14 jlec Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/viewmol/viewmol-2.4.1-r1.ebuild,v 1.2 2010/04/25 10:52:40 jlec Exp $ |
28 |
|
29 |
EAPI="3" |
30 |
|
31 |
@@ -15,7 +15,7 @@ |
32 |
|
33 |
LICENSE="GPL-2" |
34 |
SLOT="0" |
35 |
-KEYWORDS="~x86" |
36 |
+KEYWORDS="~amd64 ~x86" |
37 |
IUSE="" |
38 |
|
39 |
RDEPEND=" |
40 |
@@ -33,6 +33,10 @@ |
41 |
|
42 |
S="${WORKDIR}/${P}/source" |
43 |
|
44 |
+pkg_setup() { |
45 |
+ python_set_active_version 2 |
46 |
+} |
47 |
+ |
48 |
src_prepare() { |
49 |
epatch "${FILESDIR}"/${PV}-remove-icc-check.patch |
50 |
epatch "${FILESDIR}"/${PV}-change-default-paths.patch |
51 |
@@ -71,9 +75,9 @@ |
52 |
pushd $(uname -s) |
53 |
emake viewmol_ tm_ bio_ readgamess_ readgauss_ readmopac_ readpdb_ || die |
54 |
popd |
55 |
- ${ERPEFIX}/bin/bash makeTranslations || die |
56 |
+ "${ERPEFIX}"/bin/bash makeTranslations || die |
57 |
} |
58 |
|
59 |
src_install() { |
60 |
- ./install ${ED}/usr || die |
61 |
+ ./install "${ED}"/usr || die |
62 |
} |