1 |
dcoutts 07/12/13 00:42:07 |
2 |
|
3 |
Modified: cabal-1.1.6.1.ebuild ChangeLog cabal-1.1.6.2.ebuild |
4 |
cabal-1.1.4.ebuild cabal-1.1.3-r1.ebuild |
5 |
Log: |
6 |
Various minor maintanance changes. Remove unecessary blocker. |
7 |
(Portage version: 2.1.3.19) |
8 |
|
9 |
Revision Changes Path |
10 |
1.5 dev-haskell/cabal/cabal-1.1.6.1.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/cabal-1.1.6.1.ebuild?rev=1.5&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/cabal-1.1.6.1.ebuild?rev=1.5&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/cabal-1.1.6.1.ebuild?r1=1.4&r2=1.5 |
15 |
|
16 |
Index: cabal-1.1.6.1.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-haskell/cabal/cabal-1.1.6.1.ebuild,v |
19 |
retrieving revision 1.4 |
20 |
retrieving revision 1.5 |
21 |
diff -u -r1.4 -r1.5 |
22 |
--- cabal-1.1.6.1.ebuild 31 Oct 2007 12:54:22 -0000 1.4 |
23 |
+++ cabal-1.1.6.1.ebuild 13 Dec 2007 00:42:07 -0000 1.5 |
24 |
@@ -1,6 +1,6 @@ |
25 |
# Copyright 1999-2007 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/cabal-1.1.6.1.ebuild,v 1.4 2007/10/31 12:54:22 dcoutts Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/cabal-1.1.6.1.ebuild,v 1.5 2007/12/13 00:42:07 dcoutts Exp $ |
29 |
|
30 |
CABAL_FEATURES="bootstrap profile lib" |
31 |
inherit haskell-cabal eutils |
32 |
@@ -8,11 +8,10 @@ |
33 |
DESCRIPTION="Haskell Common Architecture for Building Applications and Libraries" |
34 |
HOMEPAGE="http://haskell.org/cabal" |
35 |
SRC_URI="http://haskell.org/cabal/release/${P}/${P}.tar.gz" |
36 |
+ |
37 |
LICENSE="as-is" |
38 |
SLOT="0" |
39 |
- |
40 |
KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
41 |
- |
42 |
IUSE="doc" |
43 |
|
44 |
DEPEND=">=dev-lang/ghc-6.2" |
45 |
@@ -21,7 +20,7 @@ |
46 |
unpack "${A}" |
47 |
if ! $(ghc-cabal); then |
48 |
sed -i 's/Build-Depends: base/Build-Depends: base, unix/' \ |
49 |
- ${S}/Cabal.cabal |
50 |
+ "${S}/Cabal.cabal" |
51 |
fi |
52 |
} |
53 |
|
54 |
@@ -39,8 +38,8 @@ |
55 |
cabal_src_install |
56 |
|
57 |
# documentation (install directly) |
58 |
- dohtml -r doc/users-guide |
59 |
if use doc; then |
60 |
+ dohtml -r doc/users-guide |
61 |
dohtml -r doc/API |
62 |
dohtml -r doc/pkg-spec-html |
63 |
dodoc doc/pkg-spec.pdf |
64 |
|
65 |
|
66 |
|
67 |
1.36 dev-haskell/cabal/ChangeLog |
68 |
|
69 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/ChangeLog?rev=1.36&view=markup |
70 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/ChangeLog?rev=1.36&content-type=text/plain |
71 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/ChangeLog?r1=1.35&r2=1.36 |
72 |
|
73 |
Index: ChangeLog |
74 |
=================================================================== |
75 |
RCS file: /var/cvsroot/gentoo-x86/dev-haskell/cabal/ChangeLog,v |
76 |
retrieving revision 1.35 |
77 |
retrieving revision 1.36 |
78 |
diff -u -r1.35 -r1.36 |
79 |
--- ChangeLog 31 Oct 2007 12:54:22 -0000 1.35 |
80 |
+++ ChangeLog 13 Dec 2007 00:42:07 -0000 1.36 |
81 |
@@ -1,6 +1,12 @@ |
82 |
# ChangeLog for dev-haskell/cabal |
83 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
84 |
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/ChangeLog,v 1.35 2007/10/31 12:54:22 dcoutts Exp $ |
85 |
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/ChangeLog,v 1.36 2007/12/13 00:42:07 dcoutts Exp $ |
86 |
+ |
87 |
+ 12 Dec 2007; Duncan Coutts <dcoutts@g.o> cabal-1.1.4.ebuild, |
88 |
+ cabal-1.1.6.1.ebuild, cabal-1.1.6.2.ebuild: |
89 |
+ Various minor maintanance changes. Remove unecessary blocker. |
90 |
+ Use new eclass functions to reduce code. Tidy code layout. |
91 |
+ Only install user guide if USE=doc. |
92 |
|
93 |
31 Oct 2007; Duncan Coutts <dcoutts@g.o> cabal-1.1.3-r1.ebuild, |
94 |
cabal-1.1.4.ebuild, cabal-1.1.6.1.ebuild, cabal-1.1.6.2.ebuild: |
95 |
|
96 |
|
97 |
|
98 |
1.10 dev-haskell/cabal/cabal-1.1.6.2.ebuild |
99 |
|
100 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/cabal-1.1.6.2.ebuild?rev=1.10&view=markup |
101 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/cabal-1.1.6.2.ebuild?rev=1.10&content-type=text/plain |
102 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/cabal-1.1.6.2.ebuild?r1=1.9&r2=1.10 |
103 |
|
104 |
Index: cabal-1.1.6.2.ebuild |
105 |
=================================================================== |
106 |
RCS file: /var/cvsroot/gentoo-x86/dev-haskell/cabal/cabal-1.1.6.2.ebuild,v |
107 |
retrieving revision 1.9 |
108 |
retrieving revision 1.10 |
109 |
diff -u -r1.9 -r1.10 |
110 |
--- cabal-1.1.6.2.ebuild 31 Oct 2007 12:54:22 -0000 1.9 |
111 |
+++ cabal-1.1.6.2.ebuild 13 Dec 2007 00:42:07 -0000 1.10 |
112 |
@@ -1,6 +1,6 @@ |
113 |
# Copyright 1999-2007 Gentoo Foundation |
114 |
# Distributed under the terms of the GNU General Public License v2 |
115 |
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/cabal-1.1.6.2.ebuild,v 1.9 2007/10/31 12:54:22 dcoutts Exp $ |
116 |
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/cabal-1.1.6.2.ebuild,v 1.10 2007/12/13 00:42:07 dcoutts Exp $ |
117 |
|
118 |
CABAL_FEATURES="bootstrap profile lib" |
119 |
inherit haskell-cabal eutils |
120 |
@@ -8,31 +8,26 @@ |
121 |
DESCRIPTION="Haskell Common Architecture for Building Applications and Libraries" |
122 |
HOMEPAGE="http://haskell.org/cabal" |
123 |
SRC_URI="http://haskell.org/cabal/release/${P}/${P}.tar.gz" |
124 |
+ |
125 |
LICENSE="as-is" |
126 |
SLOT="0" |
127 |
- |
128 |
KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd" |
129 |
- |
130 |
IUSE="doc" |
131 |
|
132 |
DEPEND=">=dev-lang/ghc-6.2" |
133 |
|
134 |
-GHC_PV="6.6.1" |
135 |
+CABAL_CORE_LIB_GHC_PV="6.6.1" |
136 |
|
137 |
src_unpack() { |
138 |
- if test $(ghc-version) = ${GHC_PV}; then |
139 |
- elog "cabal-${PV} is included in ghc-${GHC_PV}, nothing to install." |
140 |
- else |
141 |
- unpack "${A}" |
142 |
- if ! $(ghc-cabal); then |
143 |
- sed -i 's/Build-Depends: base/Build-Depends: base, unix/' \ |
144 |
- ${S}/Cabal.cabal |
145 |
- fi |
146 |
+ unpack "${A}" |
147 |
+ if ! $(ghc-cabal); then |
148 |
+ sed -i 's/Build-Depends: base/Build-Depends: base, unix/' \ |
149 |
+ "${S}/Cabal.cabal" |
150 |
fi |
151 |
} |
152 |
|
153 |
src_compile() { |
154 |
- if ! test $(ghc-version) = ${GHC_PV}; then |
155 |
+ if ! cabal-is-dummy-lib; then |
156 |
if ghc-cabal; then |
157 |
make setup HC="$(ghc-getghc) -ignore-package Cabal" |
158 |
else |
159 |
@@ -44,19 +39,14 @@ |
160 |
} |
161 |
|
162 |
src_install() { |
163 |
- if test $(ghc-version) = ${GHC_PV}; then |
164 |
- dodir "$(ghc-confdir)" |
165 |
- echo '[]' > "${D}/$(ghc-confdir)/$(ghc-localpkgconf)" |
166 |
- else |
167 |
- cabal_src_install |
168 |
+ cabal_src_install |
169 |
|
170 |
- # documentation (install directly) |
171 |
+ # documentation (install directly) |
172 |
+ if use doc; then |
173 |
dohtml -r doc/users-guide |
174 |
- if use doc; then |
175 |
- dohtml -r doc/API |
176 |
- dohtml -r doc/pkg-spec-html |
177 |
- dodoc doc/pkg-spec.pdf |
178 |
- fi |
179 |
- dodoc changelog copyright README releaseNotes TODO |
180 |
+ dohtml -r doc/API |
181 |
+ dohtml -r doc/pkg-spec-html |
182 |
+ dodoc doc/pkg-spec.pdf |
183 |
fi |
184 |
+ dodoc changelog copyright README releaseNotes TODO |
185 |
} |
186 |
|
187 |
|
188 |
|
189 |
1.12 dev-haskell/cabal/cabal-1.1.4.ebuild |
190 |
|
191 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/cabal-1.1.4.ebuild?rev=1.12&view=markup |
192 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/cabal-1.1.4.ebuild?rev=1.12&content-type=text/plain |
193 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/cabal-1.1.4.ebuild?r1=1.11&r2=1.12 |
194 |
|
195 |
Index: cabal-1.1.4.ebuild |
196 |
=================================================================== |
197 |
RCS file: /var/cvsroot/gentoo-x86/dev-haskell/cabal/cabal-1.1.4.ebuild,v |
198 |
retrieving revision 1.11 |
199 |
retrieving revision 1.12 |
200 |
diff -u -r1.11 -r1.12 |
201 |
--- cabal-1.1.4.ebuild 31 Oct 2007 12:54:22 -0000 1.11 |
202 |
+++ cabal-1.1.4.ebuild 13 Dec 2007 00:42:07 -0000 1.12 |
203 |
@@ -1,6 +1,6 @@ |
204 |
# Copyright 1999-2007 Gentoo Foundation |
205 |
# Distributed under the terms of the GNU General Public License v2 |
206 |
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/cabal-1.1.4.ebuild,v 1.11 2007/10/31 12:54:22 dcoutts Exp $ |
207 |
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/cabal-1.1.4.ebuild,v 1.12 2007/12/13 00:42:07 dcoutts Exp $ |
208 |
|
209 |
CABAL_FEATURES="bootstrap profile lib" |
210 |
inherit haskell-cabal eutils base |
211 |
@@ -15,8 +15,7 @@ |
212 |
|
213 |
IUSE="doc" |
214 |
|
215 |
-DEPEND="<dev-lang/ghc-6.6 |
216 |
- !>=dev-lang/ghc-6.6" |
217 |
+DEPEND="<dev-lang/ghc-6.6" |
218 |
|
219 |
src_unpack() { |
220 |
unpack ${A} |
221 |
@@ -50,9 +49,9 @@ |
222 |
|
223 |
pkg_postinst () { |
224 |
if ghc-cabal && ghc-package-exists "Cabal-1.0"; then |
225 |
- ebegin "Unregistering ghc's built-in cabal " |
226 |
- $(ghc-getghcpkg) unregister "Cabal-1.0" > /dev/null |
227 |
- eend $? |
228 |
+ ebegin "Unregistering ghc's built-in cabal " |
229 |
+ $(ghc-getghcpkg) unregister "Cabal-1.0" > /dev/null |
230 |
+ eend $? |
231 |
fi |
232 |
ghc-package_pkg_postinst |
233 |
} |
234 |
|
235 |
|
236 |
|
237 |
1.13 dev-haskell/cabal/cabal-1.1.3-r1.ebuild |
238 |
|
239 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/cabal-1.1.3-r1.ebuild?rev=1.13&view=markup |
240 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/cabal-1.1.3-r1.ebuild?rev=1.13&content-type=text/plain |
241 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/cabal-1.1.3-r1.ebuild?r1=1.12&r2=1.13 |
242 |
|
243 |
Index: cabal-1.1.3-r1.ebuild |
244 |
=================================================================== |
245 |
RCS file: /var/cvsroot/gentoo-x86/dev-haskell/cabal/cabal-1.1.3-r1.ebuild,v |
246 |
retrieving revision 1.12 |
247 |
retrieving revision 1.13 |
248 |
diff -u -r1.12 -r1.13 |
249 |
--- cabal-1.1.3-r1.ebuild 31 Oct 2007 12:54:22 -0000 1.12 |
250 |
+++ cabal-1.1.3-r1.ebuild 13 Dec 2007 00:42:07 -0000 1.13 |
251 |
@@ -1,6 +1,6 @@ |
252 |
# Copyright 1999-2007 Gentoo Foundation |
253 |
# Distributed under the terms of the GNU General Public License v2 |
254 |
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/cabal-1.1.3-r1.ebuild,v 1.12 2007/10/31 12:54:22 dcoutts Exp $ |
255 |
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/cabal-1.1.3-r1.ebuild,v 1.13 2007/12/13 00:42:07 dcoutts Exp $ |
256 |
|
257 |
CABAL_FEATURES="bootstrap lib" |
258 |
inherit haskell-cabal eutils base |
259 |
@@ -31,14 +31,14 @@ |
260 |
# Update: Seems that solving this upstream causes problems on Windows, so |
261 |
# this hack will remain for now. |
262 |
if $(ghc-cabal); then |
263 |
- sed -i 's/Build-Depends: base, util/Build-Depends: base/' ${S}/Cabal.cabal |
264 |
+ sed -i 's/Build-Depends: base, util/Build-Depends: base/' "${S}/Cabal.cabal" |
265 |
else |
266 |
- sed -i 's/Build-Depends: base, util/Build-Depends: base, unix/' ${S}/Cabal.cabal |
267 |
+ sed -i 's/Build-Depends: base, util/Build-Depends: base, unix/' "${S}/Cabal.cabal" |
268 |
fi |
269 |
|
270 |
# patch to make installed packages be exposed by default with |
271 |
# ghc 6.2.2 (which is Cabal's default with ghc 6.4.1) |
272 |
- cd ${S} |
273 |
+ cd "${S}" |
274 |
epatch "${FILESDIR}/${PN}-1.1.3-ghc622.patch" |
275 |
} |
276 |
|
277 |
|
278 |
|
279 |
|
280 |
-- |
281 |
gentoo-commits@g.o mailing list |