Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: go-mono.eclass
Date: Tue, 05 Oct 2010 21:03:57
Message-Id: 20101005204941.567F920051@flycatcher.gentoo.org
1 pacho 10/10/05 20:49:41
2
3 Modified: go-mono.eclass
4 Log:
5 Update go-mono.eclass to use git (bug #339230), thanks to Alistair Bush for the fix.
6
7 Revision Changes Path
8 1.9 eclass/go-mono.eclass
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/go-mono.eclass?rev=1.9&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/go-mono.eclass?rev=1.9&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/go-mono.eclass?r1=1.8&r2=1.9
13
14 Index: go-mono.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/go-mono.eclass,v
17 retrieving revision 1.8
18 retrieving revision 1.9
19 diff -u -r1.8 -r1.9
20 --- go-mono.eclass 3 Jan 2010 19:10:49 -0000 1.8
21 +++ go-mono.eclass 5 Oct 2010 20:49:41 -0000 1.9
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2008 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/go-mono.eclass,v 1.8 2010/01/03 19:10:49 scarabeus Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/go-mono.eclass,v 1.9 2010/10/05 20:49:41 pacho Exp $
27
28 # @ECLASS: go-mono.eclass
29 # @MAINTAINER:
30 @@ -9,13 +9,11 @@
31 # @DESCRIPTION:
32 # Common functionality needed by all go-mono.org apps.
33
34 -
35 inherit base versionator mono
36
37 -
38 PRE_URI="http://mono.ximian.com/monobuild/preview/sources"
39
40 -SVN_PN="${PN/mono-debugger/debugger}"
41 +GIT_PN="${PN/mono-debugger/debugger}"
42
43 ESVN_STORE_DIR="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}/svn-src/mono"
44
45 @@ -34,15 +32,16 @@
46 elif [[ "${PV}" == "9999" ]]
47 then
48 GO_MONO_P=${P}
49 - ESVN_REPO_URI="svn://anonsvn.mono-project.com/source/trunk/${SVN_PN}"
50 + EGIT_REPO_URI="http://github.com/mono/${GIT_PN}.git"
51 SRC_URI=""
52 - inherit autotools subversion
53 + inherit autotools git
54 elif [[ "${PV%.9999}" != "${PV}" ]]
55 then
56 GO_MONO_P=${P}
57 - 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}"
58 + EGIT_REPO_URI="http://github.com/mono/${GIT_PN}.git"
59 + EGIT_BRANCH="mono-$(get_version_component_range 1)-$(get_version_component_range 2)${GO_MONO_SUB_BRANCH}"
60 SRC_URI=""
61 - inherit autotools subversion
62 + inherit autotools git
63 else
64 GO_MONO_P=${P}
65 SRC_URI="http://ftp.novell.com/pub/mono/sources/${PN}/${P}.tar.bz2"
66 @@ -75,7 +74,7 @@
67 if [[ "${PV%.9999}" != "${PV}" || "${PV}" == "9999" ]]
68 then
69 default
70 - subversion_src_unpack
71 + git_src_unpack
72 else
73 default
74 fi