summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2010-10-05 20:49:41 +0000
committerPacho Ramos <pacho@gentoo.org>2010-10-05 20:49:41 +0000
commit9d5e3a780a46cfd2a56903a1ec9a731d88d2636a (patch)
treefb7663cfa20756468338867a9d6cd99ca2355f3c /eclass/go-mono.eclass
parentx86 stable, bug #335430 (diff)
downloadhistorical-9d5e3a780a46cfd2a56903a1ec9a731d88d2636a.tar.gz
historical-9d5e3a780a46cfd2a56903a1ec9a731d88d2636a.tar.bz2
historical-9d5e3a780a46cfd2a56903a1ec9a731d88d2636a.zip
Update go-mono.eclass to use git (bug #339230), thanks to Alistair Bush for the fix.
Diffstat (limited to 'eclass/go-mono.eclass')
-rw-r--r--eclass/go-mono.eclass17
1 files changed, 8 insertions, 9 deletions
diff --git a/eclass/go-mono.eclass b/eclass/go-mono.eclass
index 38ab829960a6..640c3d858ea2 100644
--- a/eclass/go-mono.eclass
+++ b/eclass/go-mono.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/go-mono.eclass,v 1.8 2010/01/03 19:10:49 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/go-mono.eclass,v 1.9 2010/10/05 20:49:41 pacho Exp $
# @ECLASS: go-mono.eclass
# @MAINTAINER:
@@ -9,13 +9,11 @@
# @DESCRIPTION:
# Common functionality needed by all go-mono.org apps.
-
inherit base versionator mono
-
PRE_URI="http://mono.ximian.com/monobuild/preview/sources"
-SVN_PN="${PN/mono-debugger/debugger}"
+GIT_PN="${PN/mono-debugger/debugger}"
ESVN_STORE_DIR="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}/svn-src/mono"
@@ -34,15 +32,16 @@ then
elif [[ "${PV}" == "9999" ]]
then
GO_MONO_P=${P}
- ESVN_REPO_URI="svn://anonsvn.mono-project.com/source/trunk/${SVN_PN}"
+ EGIT_REPO_URI="http://github.com/mono/${GIT_PN}.git"
SRC_URI=""
- inherit autotools subversion
+ inherit autotools git
elif [[ "${PV%.9999}" != "${PV}" ]]
then
GO_MONO_P=${P}
- ESVN_REPO_URI="svn://anonsvn.mono-project.com/source/branches/mono-$(get_version_component_range 1)-$(get_version_component_range 2)${GO_MONO_SUB_BRANCH}/${SVN_PN}"
+ EGIT_REPO_URI="http://github.com/mono/${GIT_PN}.git"
+ EGIT_BRANCH="mono-$(get_version_component_range 1)-$(get_version_component_range 2)${GO_MONO_SUB_BRANCH}"
SRC_URI=""
- inherit autotools subversion
+ inherit autotools git
else
GO_MONO_P=${P}
SRC_URI="http://ftp.novell.com/pub/mono/sources/${PN}/${P}.tar.bz2"
@@ -75,7 +74,7 @@ go-mono_src_unpack() {
if [[ "${PV%.9999}" != "${PV}" || "${PV}" == "9999" ]]
then
default
- subversion_src_unpack
+ git_src_unpack
else
default
fi