Gentoo Archives: gentoo-commits

From: "Christoph Junghans (ottxor)" <ottxor@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog cvs.eclass
Date: Sat, 28 Sep 2013 16:22:34
Message-Id: 20130928162229.C18312004C@flycatcher.gentoo.org
1 ottxor 13/09/28 16:22:29
2
3 Modified: ChangeLog cvs.eclass
4 Log:
5 added prefix support
6
7 Revision Changes Path
8 1.995 eclass/ChangeLog
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.995&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.995&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.994&r2=1.995
13
14 Index: ChangeLog
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
17 retrieving revision 1.994
18 retrieving revision 1.995
19 diff -u -r1.994 -r1.995
20 --- ChangeLog 27 Sep 2013 19:21:43 -0000 1.994
21 +++ ChangeLog 28 Sep 2013 16:22:29 -0000 1.995
22 @@ -1,6 +1,9 @@
23 # ChangeLog for eclass directory
24 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.994 2013/09/27 19:21:43 mgorny Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.995 2013/09/28 16:22:29 ottxor Exp $
27 +
28 + 28 Sep 2013; Christoph Junghans <ottxor@g.o> cvs.eclass:
29 + added prefix support
30
31 27 Sep 2013; Michał Górny <mgorny@g.o> distutils-r1.eclass:
32 Use pydistutils.cfg to set build-dirs instead of passing commands explicitly.
33
34
35
36 1.83 eclass/cvs.eclass
37
38 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/cvs.eclass?rev=1.83&view=markup
39 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/cvs.eclass?rev=1.83&content-type=text/plain
40 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/cvs.eclass?r1=1.82&r2=1.83
41
42 Index: cvs.eclass
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v
45 retrieving revision 1.82
46 retrieving revision 1.83
47 diff -u -r1.82 -r1.83
48 --- cvs.eclass 18 Jun 2013 04:31:44 -0000 1.82
49 +++ cvs.eclass 28 Sep 2013 16:22:29 -0000 1.83
50 @@ -1,6 +1,6 @@
51 # Copyright 1999-2013 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 -# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.82 2013/06/18 04:31:44 ottxor Exp $
54 +# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.83 2013/09/28 16:22:29 ottxor Exp $
55
56 # @ECLASS: cvs.eclass
57 # @MAINTAINER:
58 @@ -202,6 +202,7 @@
59
60 # called from cvs_src_unpack
61 cvs_fetch() {
62 + has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
63
64 # Make these options local variables so that the global values are
65 # not affected by modifications in this function.
66 @@ -392,7 +393,7 @@
67
68 export CVS_RSH="${T}/cvs_sshwrapper"
69 cat > "${CVS_RSH}"<<EOF
70 -#!/usr/bin/python
71 +#!${EPREFIX}/usr/bin/python
72 import fcntl
73 import os
74 import sys
75 @@ -436,7 +437,7 @@
76 >> "${CVS_RSH}"
77 echo "${CVS_ECLASS_STRICT_HOST_CHECKING}')" \
78 >> "${CVS_RSH}"
79 - echo "os.execv('/usr/bin/ssh', newarglist)" \
80 + echo "os.execv('${EPREFIX}/usr/bin/ssh', newarglist)" \
81 >> "${CVS_RSH}"
82
83 chmod a+x "${CVS_RSH}"