Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: git.eclass
Date: Fri, 04 Sep 2009 02:51:51
Message-Id: E1MjTiZ-0006Es-8j@stork.gentoo.org
1 scarabeus 09/09/04 08:00:23
2
3 Modified: git.eclass
4 Log:
5 Adjust git.eclass to support packages with + in their name (gtk+,...). Per bug #283436. Thanks to gseba for the patch.
6
7 Revision Changes Path
8 1.29 eclass/git.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/git.eclass?rev=1.29&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/git.eclass?rev=1.29&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/git.eclass?r1=1.28&r2=1.29
13
14 Index: git.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/git.eclass,v
17 retrieving revision 1.28
18 retrieving revision 1.29
19 diff -u -r1.28 -r1.29
20 --- git.eclass 24 Aug 2009 21:48:58 -0000 1.28
21 +++ git.eclass 4 Sep 2009 08:00:23 -0000 1.29
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2009 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/git.eclass,v 1.28 2009/08/24 21:48:58 scarabeus Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/git.eclass,v 1.29 2009/09/04 08:00:23 scarabeus Exp $
27
28 # @ECLASS: git.eclass
29 # @MAINTAINER:
30 @@ -75,7 +75,7 @@
31 # git+ssh://
32 # rsync://
33 # ssh://
34 -eval X="\$${PN//-/_}_LIVE_REPO"
35 +eval X="\$${PN//[-+]/_}_LIVE_REPO"
36 if [[ ${X} = "" ]]; then
37 EGIT_REPO_URI=${EGIT_REPO_URI:=}
38 else
39 @@ -113,7 +113,7 @@
40 # @ECLASS-VARIABLE: EGIT_BRANCH
41 # @DESCRIPTION:
42 # git eclass can fetch any branch in git_fetch().
43 -eval X="\$${PN//-/_}_LIVE_BRANCH"
44 +eval X="\$${PN//[-+]/_}_LIVE_BRANCH"
45 if [[ ${X} = "" ]]; then
46 EGIT_BRANCH=${EGIT_BRANCH:=master}
47 else
48 @@ -123,7 +123,7 @@
49 # @ECLASS-VARIABLE: EGIT_TREE
50 # @DESCRIPTION:
51 # git eclass can checkout any tree (commit).
52 -eval X="\$${PN//-/_}_LIVE_TREE"
53 +eval X="\$${PN//[-+]/_}_LIVE_TREE"
54 if [[ ${X} = "" ]]; then
55 : ${EGIT_TREE:=${EGIT_BRANCH}}
56 else