diff options
author | Maciej Mrozowski <reavertm@gentoo.org> | 2010-07-27 12:39:34 +0000 |
---|---|---|
committer | Maciej Mrozowski <reavertm@gentoo.org> | 2010-07-27 12:39:34 +0000 |
commit | 551593c20b76d1665350c64eb241cb1620de0c81 (patch) | |
tree | e9b064aecca8eed4d2c365a702a6e43b0a109bd5 /eclass/git.eclass | |
parent | initial import, ebuild written by Thomas Kahle, who is upstream (diff) | |
download | gentoo-2-551593c20b76d1665350c64eb241cb1620de0c81.tar.gz gentoo-2-551593c20b76d1665350c64eb241cb1620de0c81.tar.bz2 gentoo-2-551593c20b76d1665350c64eb241cb1620de0c81.zip |
Do not strip -git suffix from ${PN} when setting default EGIT_PROJECT. PN with -git suffix is perfectly acceptable package name.
Diffstat (limited to 'eclass/git.eclass')
-rw-r--r-- | eclass/git.eclass | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/eclass/git.eclass b/eclass/git.eclass index b631c4b22aeb..476ca98b3c5d 100644 --- a/eclass/git.eclass +++ b/eclass/git.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/git.eclass,v 1.47 2010/07/26 03:24:19 reavertm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/git.eclass,v 1.48 2010/07/27 12:39:34 reavertm Exp $ # @ECLASS: git.eclass # @MAINTAINER: @@ -97,14 +97,10 @@ else fi # @ECLASS-VARIABLE: EGIT_PROJECT # @DESCRIPTION: -# Project name of your ebuild. -# Git eclass will check out the git repository like: -# ${EGIT_STORE_DIR}/${EGIT_PROJECT}/${EGIT_REPO_URI##*/} -# so if you define EGIT_REPO_URI as http://git.collab.net/repo/git or -# http://git.collab.net/repo/git. and PN is subversion-git. -# it will check out like: -# ${EGIT_STORE_DIR}/subversion -: ${EGIT_PROJECT:=${PN/-git}} +# Project name, it must be unique across EGIT_STORE_DIR. +# Git eclass will check out the git repository into ${EGIT_STORE_DIR}/${EGIT_PROJECT}/${EGIT_REPO_URI##*/} +# Default is ${PN}. +: ${EGIT_PROJECT:=${PN}} # @ECLASS-VARIABLE: EGIT_BOOTSTRAP # @DESCRIPTION: |