diff options
| author | Tomas Chvatal <scarabeus@gentoo.org> | 2011-02-02 20:31:25 +0100 |
|---|---|---|
| committer | Tomas Chvatal <scarabeus@gentoo.org> | 2011-02-02 20:31:25 +0100 |
| commit | 6341d133dc2f7e514d7abe3b0a44b3b2a6566f3a (patch) | |
| tree | 866fb08b6849c927d2ef574a744aa2484bc5d810 | |
| parent | ca2c96876598ec4ae7b8522a3ab634d4bc784c68 (diff) | |
| download | kde-6341d133dc2f7e514d7abe3b0a44b3b2a6566f3a.tar.gz kde-6341d133dc2f7e514d7abe3b0a44b3b2a6566f3a.tar.bz2 kde-6341d133dc2f7e514d7abe3b0a44b3b2a6566f3a.zip | |
Rename git-ng to git-2 as decided per discussion with donnie.
| -rw-r--r-- | eclass/git-2.eclass (renamed from eclass/git-ng.eclass) | 56 | ||||
| -rw-r--r-- | eclass/kde4-base.eclass | 4 | ||||
| -rw-r--r-- | eclass/kde4-meta.eclass | 2 | ||||
| -rw-r--r-- | games-board/kaya/Manifest | 2 | ||||
| -rw-r--r-- | games-board/kaya/kaya-9999.ebuild | 2 |
5 files changed, 33 insertions, 33 deletions
diff --git a/eclass/git-ng.eclass b/eclass/git-2.eclass index 2942fb52540..96c81c442bb 100644 --- a/eclass/git-ng.eclass +++ b/eclass/git-2.eclass @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -# @ECLASS: git-ng.eclass +# @ECLASS: git-2.eclass # @MAINTAINER: # Tomas Chvatal <scarabeus@gentoo.org> # @BLURB: This eclass provides functions for fetch and unpack git repositories @@ -19,12 +19,12 @@ DEPEND="dev-vcs/git" # Sometimes we might want to redefine S. SOURCE="${WORKDIR}/${PN}-${PV}" -# @FUNCTION: git-ng_init_variables +# @FUNCTION: git-2_init_variables # @DESCRIPTION: # Internal function initializing all git variables. # We define it in function scope so user can define # all the variables before and after inherit. -git-ng_init_variables() { +git-2_init_variables() { debug-print-function ${FUNCNAME} "$@" # @ECLASS-VARIABLE: ESCM_STORE_DIR @@ -128,10 +128,10 @@ git-ng_init_variables() { } -# @FUNCTION: git-ng_submodules +# @FUNCTION: git-2_submodules # @DESCRIPTION: # Internal function wrapping the submodule initialisation and update -git-ng_submodules() { +git-2_submodules() { debug-print-function ${FUNCNAME} "$@" [[ "$#" -ne 1 ]] && die "${FUNCNAME}: requires 1 argument (path)" @@ -154,11 +154,11 @@ git-ng_submodules() { popd > /dev/null } -# @FUNCTION: git-ng_branch +# @FUNCTION: git-2_branch # @DESCRIPTION: # Internal function that changes branch for the repo based on ESCM_COMMIT and # ESCM_BRANCH variables. -git-ng_branch() { +git-2_branch() { debug-print-function ${FUNCNAME} "$@" debug-print "${FUNCNAME}: working in \"${SOURCE}\"" @@ -177,10 +177,10 @@ git-ng_branch() { unset branchname src } -# @FUNCTION: git-ng_gc +# @FUNCTION: git-2_gc # @DESCRIPTION: # Internal function running garbage collector on checked out tree. -git-ng_gc() { +git-2_gc() { debug-print-function ${FUNCNAME} "$@" pushd "${EGIT_DIR}" &> /dev/null @@ -195,10 +195,10 @@ git-ng_gc() { popd &> /dev/null } -# @FUNCTION: git-ng_prepare_storedir +# @FUNCTION: git-2_prepare_storedir # @DESCRIPTION: # Internal function preparing directory where we are going to store SCM repository. -git-ng_prepare_storedir() { +git-2_prepare_storedir() { debug-print-function ${FUNCNAME} "$@" local clone_dir @@ -233,10 +233,10 @@ git-ng_prepare_storedir() { fi } -# @FUNCTION: git-ng_move_source +# @FUNCTION: git-2_move_source # @DESCRIPTION: # Internal function moving sources from the EGIT_DIR to SOURCE dir. -git-ng_move_source() { +git-2_move_source() { debug-print-function ${FUNCNAME} "$@" if [[ -n ${ESCM_HAS_SUBMODULES} ]]; then @@ -251,10 +251,10 @@ git-ng_move_source() { } -# @FUNCTION: git-ng_fetch +# @FUNCTION: git-2_fetch # @DESCRIPTION: # Internal function fetching repository from ESCM_REPO_URI and storing it in specified ESCM_STORE_DIR. -git-ng_fetch() { +git-2_fetch() { debug-print-function ${FUNCNAME} "$@" local oldsha1 cursha1 extra_clone_opts upstream_branch @@ -279,7 +279,7 @@ git-ng_fetch() { cursha1=$(git rev-parse ${upstream_branch}) einfo " at the commit: ${cursha1}" - git-ng_submodules "${EGIT_DIR}" + git-2_submodules "${EGIT_DIR}" popd &> /dev/null elif [[ -n ${ESCM_OFFLINE} ]] ; then pushd "${EGIT_DIR}" &> /dev/null @@ -314,7 +314,7 @@ git-ng_fetch() { || die "${FUNCNAME}: can't update from ${ESCM_REPO_URI}." fi - git-ng_submodules "${EGIT_DIR}" + git-2_submodules "${EGIT_DIR}" cursha1=$(git rev-parse ${upstream_branch}) # write out message based on the revisions @@ -338,7 +338,7 @@ git-ng_fetch() { # @FUNCTION: git_bootstrap # @DESCRIPTION: # Internal function that runs bootstrap command on unpacked source. -git-ng_bootstrap() { +git-2_bootstrap() { debug-print-function ${FUNCNAME} "$@" # @ECLASS_VARIABLE: ESCM_BOOTSTRAP @@ -377,19 +377,19 @@ git-ng_bootstrap() { fi } -# @FUNCTION: git-ng_src_unpack +# @FUNCTION: git-2_src_unpack # @DESCRIPTION: # src_upack function -git-ng_src_unpack() { +git-2_src_unpack() { debug-print-function ${FUNCNAME} "$@" - git-ng_init_variables - git-ng_prepare_storedir - git-ng_fetch $@ - git-ng_gc - git-ng_move_source - git-ng_branch - git-ng_submodules "${SOURCE}" - git-ng_bootstrap + git-2_init_variables + git-2_prepare_storedir + git-2_fetch $@ + git-2_gc + git-2_move_source + git-2_branch + git-2_submodules "${SOURCE}" + git-2_bootstrap echo ">>> Unpacked to ${SOURCE}" } diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass index b346da9a9b7..5b6dffb385f 100644 --- a/eclass/kde4-base.eclass +++ b/eclass/kde4-base.eclass @@ -31,7 +31,7 @@ inherit kde4-functions base virtualx eutils if [[ ${BUILD_TYPE} = live ]]; then case ${KDE_SCM} in svn) inherit subversion ;; - git) inherit git-ng ;; + git) inherit git-2 ;; esac fi @@ -715,7 +715,7 @@ kde4-base_src_unpack() { subversion_src_unpack ;; git) - git-ng_src_unpack + git-2_src_unpack ;; esac else diff --git a/eclass/kde4-meta.eclass b/eclass/kde4-meta.eclass index 4dd44065bcf..f2ac008fafb 100644 --- a/eclass/kde4-meta.eclass +++ b/eclass/kde4-meta.eclass @@ -155,7 +155,7 @@ kde4-meta_src_unpack() { subversion_wc_info subversion_bootstrap elif [[ "${KDE_SCM}" == "git" ]]; then - git-ng_src_unpack + git-2_src_unpack fi kde4-meta_src_extract else diff --git a/games-board/kaya/Manifest b/games-board/kaya/Manifest index 5e5fe36a576..961981c1fb0 100644 --- a/games-board/kaya/Manifest +++ b/games-board/kaya/Manifest @@ -1,2 +1,2 @@ -EBUILD kaya-9999.ebuild 1212 RMD160 610b961beda45c2fe78beb2b72623e23e3efbe7c SHA1 1b6d1776544a66b34faec506c3960daad7d8bd99 SHA256 26245a1ee5107cee6926b42d1577f36e884ee1f500bb566bec71aa19f4968793 +EBUILD kaya-9999.ebuild 1211 RMD160 90048e0d5f8260113ac72d9db5cd2c6b74155760 SHA1 5a0404e240fc81653ca740c2d8de35e5cb3d1d00 SHA256 55ce39ea5698f412a77072c1460ebf9d23fa5a02f5bfdb6fae5cb5e80456620d MISC metadata.xml 224 RMD160 98404d5594d059b0b9264245b1f699a62f406200 SHA1 7a92e03ae6eae32944a77df6ad1045f1044baa63 SHA256 d1cf1db3f2ca852f10f2a5dd6ad005b715e7175605a20e440a4133a2128d8b91 diff --git a/games-board/kaya/kaya-9999.ebuild b/games-board/kaya/kaya-9999.ebuild index dbdf6a893b0..b9f5a2e2839 100644 --- a/games-board/kaya/kaya-9999.ebuild +++ b/games-board/kaya/kaya-9999.ebuild @@ -26,7 +26,7 @@ pkg_setup() { } src_unpack() { - git-ng_src_unpack + git-2_src_unpack cd "${WORKDIR}" mkdir all |
