Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/boo: ChangeLog boo-0.9.4.9.ebuild
Date: Tue, 01 Mar 2011 17:38:51
Message-Id: 20110301173841.3F15F2004F@flycatcher.gentoo.org
1 pacho 11/03/01 17:38:41
2
3 Modified: ChangeLog
4 Added: boo-0.9.4.9.ebuild
5 Log:
6 Version bump with lots of bugfixes including compile problems like bug #356953 (by Diego Elio Pettenò).
7
8 (Portage version: 2.1.9.41/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.38 dev-lang/boo/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/boo/ChangeLog?rev=1.38&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/boo/ChangeLog?rev=1.38&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/boo/ChangeLog?r1=1.37&r2=1.38
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-lang/boo/ChangeLog,v
20 retrieving revision 1.37
21 retrieving revision 1.38
22 diff -u -r1.37 -r1.38
23 --- ChangeLog 7 Oct 2010 20:07:10 -0000 1.37
24 +++ ChangeLog 1 Mar 2011 17:38:41 -0000 1.38
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-lang/boo
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/boo/ChangeLog,v 1.37 2010/10/07 20:07:10 pacho Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/boo/ChangeLog,v 1.38 2011/03/01 17:38:41 pacho Exp $
31 +
32 +*boo-0.9.4.9 (01 Mar 2011)
33 +
34 + 01 Mar 2011; Pacho Ramos <pacho@g.o> +boo-0.9.4.9.ebuild:
35 + Version bump with lots of bugfixes including compile problems like bug
36 + #356953 (by Diego Elio Pettenò).
37
38 07 Oct 2010; Pacho Ramos <pacho@g.o> -boo-0.9.1.3287-r1.ebuild:
39 Remove old.
40
41
42
43 1.1 dev-lang/boo/boo-0.9.4.9.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/boo/boo-0.9.4.9.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/boo/boo-0.9.4.9.ebuild?rev=1.1&content-type=text/plain
47
48 Index: boo-0.9.4.9.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-lang/boo/boo-0.9.4.9.ebuild,v 1.1 2011/03/01 17:38:41 pacho Exp $
53
54 EAPI=2
55
56 inherit multilib mono fdo-mime eutils
57
58 DESCRIPTION="A wrist friendly language for the CLI"
59 HOMEPAGE="http://boo.codehaus.org/"
60 SRC_URI="http://dist.codehaus.org/boo/distributions/${P}-src.tar.bz2"
61 LICENSE="BSD"
62
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~x86"
65 IUSE=""
66
67 RDEPEND=">=dev-lang/mono-2.0
68 x11-libs/gtksourceview:2.0"
69 DEPEND="${RDEPEND}
70 x11-misc/shared-mime-info
71 app-arch/unzip
72 >=dev-dotnet/nant-0.86_beta1"
73
74 RESTRICT="test"
75
76 pkg_setup() {
77 if /usr/bin/gacutil -l|grep Boo.Lang.Extensions &> /dev/null
78 then
79 eerror "$(best_version ${CATEGORY}/${PN}) has installed Boo.Lang.Extensions into the GAC."
80 eerror "This is a bug, that will cause compilation of ${CATEGORY}/${PF} to fail. It has"
81 eerror "been fixed in this version. For now, it requires that you uninstall"
82 eerror "${CATEGORY}/${PN} before updating."
83 eerror "Please run: emerge -C ${CATEGORY}/${PN} and try again."
84 die "Please run: emerge -C ${CATEGORY}/${PN} and try again."
85 fi
86
87 # gacutil may generate a root-owned directory in ${T} which makes nant fail afterwards (bug #269907)
88 rm -rf "${T}/.wapi"
89 }
90
91 src_prepare() {
92 sed -i -e 's@${libdir}/boo@${libdir}/mono/boo@g' \
93 extras/boo.pc.in || die
94 epatch "${FILESDIR}/${PN}-0.9.1.3287-GACproblems.patch"
95 epatch "${FILESDIR}/${PN}-0.7.8.2559-gtksourceview2.patch"
96 }
97
98 src_compile() {
99 nant -t:mono-2.0 \
100 -D:install.prefix=/usr \
101 -D:install.libdir=/usr/$(get_libdir) \
102 set-release-configuration all|| die "Compilation failed"
103 }
104
105 src_install() {
106 nant install -D:install.buildroot="${D}" \
107 -D:install.prefix="${D}"/usr \
108 -D:install.share="${D}"/usr/share \
109 -D:install.libdir="${D}"/usr/lib \
110 -D:install.bindir="${D}/usr/bin" \
111 -D:fakeroot.sharedmime="${D}"/usr \
112 -D:fakeroot.gsv="${D}"/usr \
113 || die "install failed"
114 rm -rf "${D}"/usr/share/gtksourceview-1.0 || die
115 mono_multilib_comply
116 }
117
118 pkg_postinst() {
119 fdo-mime_mime_database_update
120 }
121
122 pkg_postrm() {
123 fdo-mime_mime_database_update
124 }