Gentoo Archives: gentoo-commits

From: "Maciej Mrozowski (reavertm)" <reavertm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: git.eclass
Date: Tue, 27 Jul 2010 12:39:38
Message-Id: 20100727123934.9CBC02CE15@corvid.gentoo.org
1 reavertm 10/07/27 12:39:34
2
3 Modified: git.eclass
4 Log:
5 Do not strip -git suffix from ${PN} when setting default EGIT_PROJECT. PN with -git suffix is perfectly acceptable package name.
6
7 Revision Changes Path
8 1.48 eclass/git.eclass
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/git.eclass?rev=1.48&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/git.eclass?rev=1.48&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/git.eclass?r1=1.47&r2=1.48
13
14 Index: git.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/git.eclass,v
17 retrieving revision 1.47
18 retrieving revision 1.48
19 diff -u -r1.47 -r1.48
20 --- git.eclass 26 Jul 2010 03:24:19 -0000 1.47
21 +++ git.eclass 27 Jul 2010 12:39:34 -0000 1.48
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.47 2010/07/26 03:24:19 reavertm Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/git.eclass,v 1.48 2010/07/27 12:39:34 reavertm Exp $
27
28 # @ECLASS: git.eclass
29 # @MAINTAINER:
30 @@ -97,14 +97,10 @@
31 fi
32 # @ECLASS-VARIABLE: EGIT_PROJECT
33 # @DESCRIPTION:
34 -# Project name of your ebuild.
35 -# Git eclass will check out the git repository like:
36 -# ${EGIT_STORE_DIR}/${EGIT_PROJECT}/${EGIT_REPO_URI##*/}
37 -# so if you define EGIT_REPO_URI as http://git.collab.net/repo/git or
38 -# http://git.collab.net/repo/git. and PN is subversion-git.
39 -# it will check out like:
40 -# ${EGIT_STORE_DIR}/subversion
41 -: ${EGIT_PROJECT:=${PN/-git}}
42 +# Project name, it must be unique across EGIT_STORE_DIR.
43 +# Git eclass will check out the git repository into ${EGIT_STORE_DIR}/${EGIT_PROJECT}/${EGIT_REPO_URI##*/}
44 +# Default is ${PN}.
45 +: ${EGIT_PROJECT:=${PN}}
46
47 # @ECLASS-VARIABLE: EGIT_BOOTSTRAP
48 # @DESCRIPTION: