1 |
commit: 45f50c32a691620e159aa40a82ed05775313ec0e |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 29 00:40:22 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 29 00:41:02 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45f50c32 |
7 |
|
8 |
dev-vcs/darcs: revert "drop old" |
9 |
|
10 |
Restore ppc keywords, used by layman. |
11 |
|
12 |
This reverts commit 5a0365a7ec87a27b290e0eca6f4fa5c13583879f. |
13 |
|
14 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
15 |
|
16 |
dev-vcs/darcs/Manifest | 5 ++ |
17 |
dev-vcs/darcs/darcs-2.10.1.ebuild | 98 +++++++++++++++++++++++++ |
18 |
dev-vcs/darcs/darcs-2.10.3-r1.ebuild | 103 +++++++++++++++++++++++++++ |
19 |
dev-vcs/darcs/darcs-2.12.0.ebuild | 97 +++++++++++++++++++++++++ |
20 |
dev-vcs/darcs/darcs-2.12.4.ebuild | 92 ++++++++++++++++++++++++ |
21 |
dev-vcs/darcs/darcs-2.8.4-r6.ebuild | 134 +++++++++++++++++++++++++++++++++++ |
22 |
dev-vcs/darcs/metadata.xml | 2 + |
23 |
7 files changed, 531 insertions(+) |
24 |
|
25 |
diff --git a/dev-vcs/darcs/Manifest b/dev-vcs/darcs/Manifest |
26 |
index 539dea6307a..6fe5771f69a 100644 |
27 |
--- a/dev-vcs/darcs/Manifest |
28 |
+++ b/dev-vcs/darcs/Manifest |
29 |
@@ -1 +1,6 @@ |
30 |
+DIST darcs-2.10.1.tar.gz 1509208 BLAKE2B 54df9e87ab5b4d49146eeaad99c4718cc38b6fb032da2fb005c1ddc8a6d5ffa725b9c7caac30eb4da394bfb0926ba76040e24a69beeacd25e810cad8987d34f3 SHA512 b8c3971da3d635a7d90e35226c2ffa6d6ca8e78ba18793c632b7509bc4d52c1bda2490d147cdaea5842fbe5d8826b0025de61e2fb4f58c441875c5858d910e47 |
31 |
+DIST darcs-2.10.3.tar.gz 1513296 BLAKE2B 4a900a4307f1067cb078396f28358f75107821a67104ec91653cdc0ae1c5503fd18baa3d0ae95a0476fa5917345de932411053d35d8f0cfee3782cdd84a13c7e SHA512 cf8f34df331d8a47c6a25775c465824e5d71ed00ae6bc477989b4bb0e7fad606b213a4fb4e06b02dca096df2b6b1fe36f394672a112b48c6b56188a7eae8f90e |
32 |
+DIST darcs-2.12.0.tar.gz 1465730 BLAKE2B a021796aefc38aaf355a3156f26c8f313ffbe44ad5e9172883217f609c73baed49301a26bbc818574175c0e7174ad6401407ae9492584e3aed56e8fb2bf10f7a SHA512 654f9054dfe8e23e17ae00cdf22153ddaf89d114c5ee0e1ca86f373c1abf62b7bd808965f4d4df695aaba44d1d334d725cc0d57dea5df7cd1992a0ef15e49135 |
33 |
+DIST darcs-2.12.4.tar.gz 1462383 BLAKE2B 49827a07770da8253775649e9a72b33d4e715f7eae63c093c6d3a16f097cd9f3246e2aec4ee4782efd1629423a3d3a23d6d5350131ed4daa4fc47701fd6449ae SHA512 52a0b9b8a23b05dc29513c20c3c0fdc0b696da87156ea83a5736ea294618b993d1f3914f82a918e331db5de0746c147244f46d396ee7dbb02fee116825e1dd6a |
34 |
DIST darcs-2.12.5.tar.gz 1460698 BLAKE2B 9050b5863221d2c82e93d689b733b34a0b63fd0e7f29b0041ba3ff10e4359e4d32e1c8bca5ac4722a65fbebab66b25cba443efe23ee3e4a87d4117a7335db4de SHA512 9bda8149269dc23750321f3929e156e32c76de4f5bb8291bc248d0e326bf08b69c82ef7383f9d02dcc65ca199078f6e1ab575197fc2aee225486a8c1b9275542 |
35 |
+DIST darcs-2.8.4.tar.gz 1301464 BLAKE2B 748494ae1c34318c14e128a4d08667b839644dbcf2b2d8bbcc86263ee5332f859f91bc2a56f3c6ccf6a465f45a90d97d304c9c15ebdd3cdd709c251c61c15a6c SHA512 c60531bacea43bdd5a18ae461dd390fe64682cac56fa4e6b5153a5da3c003b59d8fb24827bd42b4b30f0d2c61877d36b58eb98317644f9f8a200ab7c5961c48e |
36 |
|
37 |
diff --git a/dev-vcs/darcs/darcs-2.10.1.ebuild b/dev-vcs/darcs/darcs-2.10.1.ebuild |
38 |
new file mode 100644 |
39 |
index 00000000000..40404e1b806 |
40 |
--- /dev/null |
41 |
+++ b/dev-vcs/darcs/darcs-2.10.1.ebuild |
42 |
@@ -0,0 +1,98 @@ |
43 |
+# Copyright 1999-2019 Gentoo Authors |
44 |
+# Distributed under the terms of the GNU General Public License v2 |
45 |
+ |
46 |
+EAPI=5 |
47 |
+ |
48 |
+# ebuild generated by hackport 0.4.5.9999 |
49 |
+#hackport: flags: +library,+executable,-hpc,-warn-as-error,+pkgconfig,-rts,-static,-optimize,hashed-storage-diff:diff |
50 |
+ |
51 |
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" |
52 |
+inherit haskell-cabal |
53 |
+ |
54 |
+DESCRIPTION="a distributed, interactive, smart revision control system" |
55 |
+HOMEPAGE="http://darcs.net/" |
56 |
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" |
57 |
+ |
58 |
+LICENSE="GPL-2" |
59 |
+SLOT="0/${PV}" |
60 |
+KEYWORDS="~amd64 ~x86" |
61 |
+IUSE="+curl diff +http +network-uri +terminfo +threaded" |
62 |
+ |
63 |
+RESTRICT=test # missing file 'tests/bin/renameHelper.hs' |
64 |
+ |
65 |
+RDEPEND=">=dev-haskell/attoparsec-0.11:=[profile?] <dev-haskell/attoparsec-0.14:=[profile?] |
66 |
+ >=dev-haskell/base16-bytestring-0.1:=[profile?] <dev-haskell/base16-bytestring-0.2:=[profile?] |
67 |
+ >=dev-haskell/binary-0.5:=[profile?] <dev-haskell/binary-0.8:=[profile?] |
68 |
+ >=dev-haskell/cryptohash-0.4:=[profile?] <dev-haskell/cryptohash-0.12:=[profile?] |
69 |
+ >=dev-haskell/data-ordlist-0.4:=[profile?] <dev-haskell/data-ordlist-0.5:=[profile?] |
70 |
+ >=dev-haskell/dataenc-0.11:=[profile?] <dev-haskell/dataenc-0.15:=[profile?] |
71 |
+ >=dev-haskell/hashable-1.0:=[profile?] <dev-haskell/hashable-1.3:=[profile?] |
72 |
+ >=dev-haskell/haskeline-0.6.3:=[profile?] <dev-haskell/haskeline-0.8:=[profile?] |
73 |
+ >=dev-haskell/html-1.0:=[profile?] <dev-haskell/html-1.1:=[profile?] |
74 |
+ >=dev-haskell/mmap-0.5:=[profile?] <dev-haskell/mmap-0.6:=[profile?] |
75 |
+ >=dev-haskell/mtl-2.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?] |
76 |
+ >=dev-haskell/old-locale-1.0:=[profile?] <dev-haskell/old-locale-1.1:=[profile?] |
77 |
+ >=dev-haskell/old-time-1.1:=[profile?] <dev-haskell/old-time-1.2:=[profile?] |
78 |
+ >=dev-haskell/parsec-3.1:=[profile?] <dev-haskell/parsec-3.2:=[profile?] |
79 |
+ >=dev-haskell/random-1.0:=[profile?] <dev-haskell/random-1.2:=[profile?] |
80 |
+ >=dev-haskell/regex-applicative-0.2:=[profile?] <dev-haskell/regex-applicative-0.4:=[profile?] |
81 |
+ >=dev-haskell/regex-compat-tdfa-0.95.1:=[profile?] <dev-haskell/regex-compat-tdfa-0.96:=[profile?] |
82 |
+ >=dev-haskell/tar-0.4:=[profile?] <dev-haskell/tar-0.5:=[profile?] |
83 |
+ >=dev-haskell/text-0.11.2.0:=[profile?] <dev-haskell/text-1.3:=[profile?] |
84 |
+ >=dev-haskell/transformers-compat-0.4:=[profile?] <dev-haskell/transformers-compat-0.5:=[profile?] |
85 |
+ >=dev-haskell/unix-compat-0.1.2:=[profile?] <dev-haskell/unix-compat-0.5:=[profile?] |
86 |
+ >=dev-haskell/utf8-string-0.3.6:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?] |
87 |
+ >=dev-haskell/vector-0.7:=[profile?] <dev-haskell/vector-0.11:=[profile?] |
88 |
+ >=dev-haskell/zip-archive-0.2.3:=[profile?] <dev-haskell/zip-archive-0.3:=[profile?] |
89 |
+ >=dev-haskell/zlib-0.5.3.0:=[profile?] <dev-haskell/zlib-0.7.0.0:=[profile?] |
90 |
+ >=dev-lang/ghc-7.4.1:= |
91 |
+ virtual/libiconv |
92 |
+ >=dev-haskell/transformers-0.3:=[profile?] <dev-haskell/transformers-0.5:=[profile?] |
93 |
+ curl? ( net-misc/curl ) |
94 |
+ diff? ( dev-haskell/lcs:=[profile?] ) |
95 |
+ http? ( >=dev-haskell/http-4000.2.3:=[profile?] <dev-haskell/http-4000.3:=[profile?] |
96 |
+ network-uri? ( >=dev-haskell/network-2.6:=[profile?] <dev-haskell/network-2.7:=[profile?] |
97 |
+ >=dev-haskell/network-uri-2.6:=[profile?] <dev-haskell/network-uri-2.7:=[profile?] ) |
98 |
+ !network-uri? ( >=dev-haskell/network-2.3:=[profile?] <dev-haskell/network-2.6:=[profile?] ) ) |
99 |
+ terminfo? ( >=dev-haskell/terminfo-0.3:=[profile?] <dev-haskell/terminfo-0.5:=[profile?] ) |
100 |
+" |
101 |
+DEPEND="${RDEPEND} |
102 |
+ >=dev-haskell/cabal-1.10 |
103 |
+ dev-lang/ghc |
104 |
+ test? ( >=dev-haskell/cmdargs-0.10 <dev-haskell/cmdargs-0.11 |
105 |
+ >=dev-haskell/findbin-0.0 <dev-haskell/findbin-0.1 |
106 |
+ >=dev-haskell/hunit-1.0 <dev-haskell/hunit-1.3 |
107 |
+ >=dev-haskell/quickcheck-2.3 <dev-haskell/quickcheck-2.9 |
108 |
+ >=dev-haskell/shelly-1.6.2 <dev-haskell/shelly-1.7 |
109 |
+ >=dev-haskell/split-0.1.4.1 <dev-haskell/split-0.3 |
110 |
+ >=dev-haskell/test-framework-0.4.0 <dev-haskell/test-framework-0.9 |
111 |
+ >=dev-haskell/test-framework-hunit-0.2.2 <dev-haskell/test-framework-hunit-0.4 |
112 |
+ >=dev-haskell/test-framework-quickcheck2-0.3 <dev-haskell/test-framework-quickcheck2-0.4 ) |
113 |
+ curl? ( virtual/pkgconfig ) |
114 |
+" |
115 |
+ |
116 |
+src_configure() { |
117 |
+ haskell-cabal_src_configure \ |
118 |
+ $(cabal_flag curl curl) \ |
119 |
+ --flag=executable \ |
120 |
+ $(cabal_flag diff hashed-storage-diff) \ |
121 |
+ --flag=-hpc \ |
122 |
+ $(cabal_flag http http) \ |
123 |
+ --flag=library \ |
124 |
+ $(cabal_flag network-uri network-uri) \ |
125 |
+ --flag=-optimize \ |
126 |
+ --flag=pkgconfig \ |
127 |
+ --flag=-rts \ |
128 |
+ --flag=-static \ |
129 |
+ $(cabal_flag terminfo terminfo) \ |
130 |
+ $(cabal_flag threaded threaded) \ |
131 |
+ --flag=-warn-as-error |
132 |
+} |
133 |
+ |
134 |
+src_install() { |
135 |
+ haskell-cabal_src_install |
136 |
+ |
137 |
+ # fixup perms in such an an awkward way |
138 |
+ mv "${ED}/usr/share/man/man1/darcs.1" "${S}/darcs.1" || die "darcs.1 not found" |
139 |
+ doman "${S}/darcs.1" |
140 |
+} |
141 |
|
142 |
diff --git a/dev-vcs/darcs/darcs-2.10.3-r1.ebuild b/dev-vcs/darcs/darcs-2.10.3-r1.ebuild |
143 |
new file mode 100644 |
144 |
index 00000000000..ecf1eda0544 |
145 |
--- /dev/null |
146 |
+++ b/dev-vcs/darcs/darcs-2.10.3-r1.ebuild |
147 |
@@ -0,0 +1,103 @@ |
148 |
+# Copyright 1999-2019 Gentoo Authors |
149 |
+# Distributed under the terms of the GNU General Public License v2 |
150 |
+ |
151 |
+EAPI=5 |
152 |
+ |
153 |
+# ebuild generated by hackport 0.4.6.9999 |
154 |
+#hackport: flags: +library,+executable,-hpc,-warn-as-error,+pkgconfig,-rts,-static,-optimize,hashed-storage-diff:diff |
155 |
+ |
156 |
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" |
157 |
+inherit haskell-cabal |
158 |
+ |
159 |
+DESCRIPTION="a distributed, interactive, smart revision control system" |
160 |
+HOMEPAGE="http://darcs.net/" |
161 |
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" |
162 |
+ |
163 |
+LICENSE="GPL-2" |
164 |
+SLOT="0/${PV}" |
165 |
+KEYWORDS="~amd64 ~x86" |
166 |
+IUSE="+curl diff +http +network-uri +terminfo +threaded" |
167 |
+ |
168 |
+RESTRICT=test # occasionally hangs on directory creation race conditions |
169 |
+ |
170 |
+RDEPEND=">=dev-haskell/attoparsec-0.11:=[profile?] <dev-haskell/attoparsec-0.14:=[profile?] |
171 |
+ >=dev-haskell/base16-bytestring-0.1:=[profile?] <dev-haskell/base16-bytestring-0.2:=[profile?] |
172 |
+ >=dev-haskell/binary-0.5:=[profile?] <dev-haskell/binary-0.9:=[profile?] |
173 |
+ >=dev-haskell/cryptohash-0.4:=[profile?] <dev-haskell/cryptohash-0.12:=[profile?] |
174 |
+ >=dev-haskell/data-ordlist-0.4:=[profile?] <dev-haskell/data-ordlist-0.5:=[profile?] |
175 |
+ >=dev-haskell/hashable-1.0:=[profile?] <dev-haskell/hashable-1.3:=[profile?] |
176 |
+ >=dev-haskell/haskeline-0.6.3:=[profile?] <dev-haskell/haskeline-0.8:=[profile?] |
177 |
+ >=dev-haskell/html-1.0:=[profile?] <dev-haskell/html-1.1:=[profile?] |
178 |
+ >=dev-haskell/mmap-0.5:=[profile?] <dev-haskell/mmap-0.6:=[profile?] |
179 |
+ >=dev-haskell/mtl-2.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?] |
180 |
+ >=dev-haskell/old-locale-1.0:=[profile?] <dev-haskell/old-locale-1.1:=[profile?] |
181 |
+ >=dev-haskell/old-time-1.1:=[profile?] <dev-haskell/old-time-1.2:=[profile?] |
182 |
+ >=dev-haskell/parsec-3.1:=[profile?] <dev-haskell/parsec-3.2:=[profile?] |
183 |
+ >=dev-haskell/random-1.0:=[profile?] <dev-haskell/random-1.2:=[profile?] |
184 |
+ >=dev-haskell/regex-applicative-0.2:=[profile?] <dev-haskell/regex-applicative-0.4:=[profile?] |
185 |
+ >=dev-haskell/regex-compat-tdfa-0.95.1:=[profile?] <dev-haskell/regex-compat-tdfa-0.96:=[profile?] |
186 |
+ >=dev-haskell/sandi-0.2:=[profile?] <dev-haskell/sandi-0.4:=[profile?] |
187 |
+ >=dev-haskell/tar-0.4:=[profile?] <dev-haskell/tar-0.6:=[profile?] |
188 |
+ >=dev-haskell/text-0.11.3.1:=[profile?] <dev-haskell/text-1.3:=[profile?] |
189 |
+ >=dev-haskell/transformers-compat-0.4:=[profile?] <dev-haskell/transformers-compat-0.6:=[profile?] |
190 |
+ >=dev-haskell/unix-compat-0.1.2:=[profile?] <dev-haskell/unix-compat-0.5:=[profile?] |
191 |
+ >=dev-haskell/utf8-string-0.3.6:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?] |
192 |
+ >=dev-haskell/vector-0.7:=[profile?] <dev-haskell/vector-0.12:=[profile?] |
193 |
+ >=dev-haskell/zip-archive-0.2.3:=[profile?] |
194 |
+ >=dev-haskell/zlib-0.5.3.0:=[profile?] <dev-haskell/zlib-0.7.0.0:=[profile?] |
195 |
+ >=dev-lang/ghc-7.4.1:= |
196 |
+ virtual/libiconv |
197 |
+ >=dev-haskell/transformers-0.3:=[profile?] <dev-haskell/transformers-0.6:=[profile?] |
198 |
+ curl? ( net-misc/curl ) |
199 |
+ diff? ( dev-haskell/lcs:=[profile?] ) |
200 |
+ http? ( >=dev-haskell/http-4000.2.3:=[profile?] <dev-haskell/http-4000.4:=[profile?] |
201 |
+ network-uri? ( >=dev-haskell/network-2.6:=[profile?] <dev-haskell/network-2.7:=[profile?] |
202 |
+ >=dev-haskell/network-uri-2.6:=[profile?] <dev-haskell/network-uri-2.7:=[profile?] ) |
203 |
+ !network-uri? ( >=dev-haskell/network-2.3:=[profile?] <dev-haskell/network-2.6:=[profile?] ) ) |
204 |
+ terminfo? ( >=dev-haskell/terminfo-0.3:=[profile?] <dev-haskell/terminfo-0.5:=[profile?] ) |
205 |
+" |
206 |
+DEPEND="${RDEPEND} |
207 |
+ >=dev-haskell/cabal-1.10 |
208 |
+ test? ( >=dev-haskell/cmdargs-0.10 <dev-haskell/cmdargs-0.11 |
209 |
+ >=dev-haskell/findbin-0.0 <dev-haskell/findbin-0.1 |
210 |
+ >=dev-haskell/hunit-1.0 <dev-haskell/hunit-1.4 |
211 |
+ >=dev-haskell/quickcheck-2.3 <dev-haskell/quickcheck-2.9 |
212 |
+ >=dev-haskell/shelly-1.6.2 <dev-haskell/shelly-1.7 |
213 |
+ >=dev-haskell/split-0.1.4.1 <dev-haskell/split-0.3 |
214 |
+ >=dev-haskell/test-framework-0.4.0 <dev-haskell/test-framework-0.9 |
215 |
+ >=dev-haskell/test-framework-hunit-0.2.2 <dev-haskell/test-framework-hunit-0.4 |
216 |
+ >=dev-haskell/test-framework-quickcheck2-0.3 <dev-haskell/test-framework-quickcheck2-0.4 ) |
217 |
+ curl? ( virtual/pkgconfig ) |
218 |
+" |
219 |
+ |
220 |
+src_prepare() { |
221 |
+ cabal_chdeps \ |
222 |
+ 'base >= 4.5 && < 4.9' 'base >= 4.5' \ |
223 |
+ 'zip-archive >= 0.2.3 && < 0.3' 'zip-archive >= 0.2.3' |
224 |
+} |
225 |
+ |
226 |
+src_configure() { |
227 |
+ haskell-cabal_src_configure \ |
228 |
+ $(cabal_flag curl curl) \ |
229 |
+ --flag=executable \ |
230 |
+ $(cabal_flag diff hashed-storage-diff) \ |
231 |
+ --flag=-hpc \ |
232 |
+ $(cabal_flag http http) \ |
233 |
+ --flag=library \ |
234 |
+ $(cabal_flag network-uri network-uri) \ |
235 |
+ --flag=-optimize \ |
236 |
+ --flag=pkgconfig \ |
237 |
+ --flag=-rts \ |
238 |
+ --flag=-static \ |
239 |
+ $(cabal_flag terminfo terminfo) \ |
240 |
+ $(cabal_flag threaded threaded) \ |
241 |
+ --flag=-warn-as-error |
242 |
+} |
243 |
+ |
244 |
+src_install() { |
245 |
+ haskell-cabal_src_install |
246 |
+ |
247 |
+ # fixup perms in such an an awkward way |
248 |
+ mv "${ED}/usr/share/man/man1/darcs.1" "${S}/darcs.1" || die "darcs.1 not found" |
249 |
+ doman "${S}/darcs.1" |
250 |
+} |
251 |
|
252 |
diff --git a/dev-vcs/darcs/darcs-2.12.0.ebuild b/dev-vcs/darcs/darcs-2.12.0.ebuild |
253 |
new file mode 100644 |
254 |
index 00000000000..bb4e0477466 |
255 |
--- /dev/null |
256 |
+++ b/dev-vcs/darcs/darcs-2.12.0.ebuild |
257 |
@@ -0,0 +1,97 @@ |
258 |
+# Copyright 1999-2019 Gentoo Authors |
259 |
+# Distributed under the terms of the GNU General Public License v2 |
260 |
+ |
261 |
+EAPI=6 |
262 |
+ |
263 |
+# ebuild generated by hackport 0.5.9999 |
264 |
+#hackport: flags: +library,+executable,-hpc,-warn-as-error,+pkgconfig,-rts,-static,-optimize,hashed-storage-diff:diff,+http |
265 |
+ |
266 |
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" |
267 |
+inherit haskell-cabal |
268 |
+ |
269 |
+DESCRIPTION="a distributed, interactive, smart revision control system" |
270 |
+HOMEPAGE="http://darcs.net/" |
271 |
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" |
272 |
+ |
273 |
+LICENSE="GPL-2" |
274 |
+SLOT="0/${PV}" |
275 |
+KEYWORDS="~amd64 ~x86" |
276 |
+IUSE="+curl +network-uri +terminfo +threaded" |
277 |
+ |
278 |
+RESTRICT=test # occasionally hangs on directory creation race conditions |
279 |
+ |
280 |
+RDEPEND=">=dev-haskell/async-2.0.1.4:=[profile?] <dev-haskell/async-2.2:=[profile?] |
281 |
+ >=dev-haskell/attoparsec-0.11:=[profile?] <dev-haskell/attoparsec-0.14:=[profile?] |
282 |
+ >=dev-haskell/base16-bytestring-0.1:=[profile?] <dev-haskell/base16-bytestring-0.2:=[profile?] |
283 |
+ >=dev-haskell/binary-0.5:=[profile?] <dev-haskell/binary-0.9:=[profile?] |
284 |
+ >=dev-haskell/cryptohash-0.4:=[profile?] <dev-haskell/cryptohash-0.12:=[profile?] |
285 |
+ >=dev-haskell/data-ordlist-0.4:=[profile?] <dev-haskell/data-ordlist-0.5:=[profile?] |
286 |
+ >=dev-haskell/fgl-5.5.0.1:=[profile?] <dev-haskell/fgl-5.6:=[profile?] |
287 |
+ >=dev-haskell/graphviz-2999.17.0.1:=[profile?] <dev-haskell/graphviz-2999.19:=[profile?] |
288 |
+ >=dev-haskell/hashable-1.1.2.5:=[profile?] <dev-haskell/hashable-1.3:=[profile?] |
289 |
+ >=dev-haskell/haskeline-0.6.3:=[profile?] <dev-haskell/haskeline-0.8:=[profile?] |
290 |
+ >=dev-haskell/html-1.0.1.2:=[profile?] <dev-haskell/html-1.1:=[profile?] |
291 |
+ >=dev-haskell/http-4000.2.8:=[profile?] <dev-haskell/http-4000.4:=[profile?] |
292 |
+ >=dev-haskell/mmap-0.5:=[profile?] <dev-haskell/mmap-0.6:=[profile?] |
293 |
+ >=dev-haskell/mtl-2.1.2:=[profile?] <dev-haskell/mtl-2.3:=[profile?] |
294 |
+ >=dev-haskell/old-locale-1.0.0.5:=[profile?] <dev-haskell/old-locale-1.1:=[profile?] |
295 |
+ >=dev-haskell/old-time-1.1:=[profile?] <dev-haskell/old-time-1.2:=[profile?] |
296 |
+ >=dev-haskell/parsec-3.1:=[profile?] <dev-haskell/parsec-3.2:=[profile?] |
297 |
+ >=dev-haskell/random-1.0.1.1:=[profile?] <dev-haskell/random-1.2:=[profile?] |
298 |
+ >=dev-haskell/regex-applicative-0.2:=[profile?] <dev-haskell/regex-applicative-0.4:=[profile?] |
299 |
+ >=dev-haskell/regex-compat-tdfa-0.95.1:=[profile?] <dev-haskell/regex-compat-tdfa-0.96:=[profile?] |
300 |
+ >=dev-haskell/sandi-0.2:=[profile?] <dev-haskell/sandi-0.4:=[profile?] |
301 |
+ >=dev-haskell/tar-0.4:=[profile?] <dev-haskell/tar-0.6:=[profile?] |
302 |
+ >=dev-haskell/text-1.2.1.3:=[profile?] <dev-haskell/text-1.3:=[profile?] |
303 |
+ >=dev-haskell/transformers-compat-0.4:=[profile?] <dev-haskell/transformers-compat-0.6:=[profile?] |
304 |
+ >=dev-haskell/unix-compat-0.1.2:=[profile?] <dev-haskell/unix-compat-0.5:=[profile?] |
305 |
+ >=dev-haskell/utf8-string-0.3.6:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?] |
306 |
+ >=dev-haskell/vector-0.10.0.1:=[profile?] <dev-haskell/vector-0.12:=[profile?] |
307 |
+ >=dev-haskell/zip-archive-0.2.3:=[profile?] <dev-haskell/zip-archive-0.4:=[profile?] |
308 |
+ >=dev-haskell/zlib-0.5.4.1:=[profile?] <dev-haskell/zlib-0.7.0.0:=[profile?] |
309 |
+ >=dev-lang/ghc-7.6.2:= |
310 |
+ >=dev-haskell/transformers-0.3:=[profile?] <dev-haskell/transformers-0.6:=[profile?] |
311 |
+ curl? ( net-misc/curl ) |
312 |
+ network-uri? ( >=dev-haskell/network-2.6:=[profile?] <dev-haskell/network-2.7:=[profile?] |
313 |
+ >=dev-haskell/network-uri-2.6:=[profile?] <dev-haskell/network-uri-2.7:=[profile?] ) |
314 |
+ !network-uri? ( >=dev-haskell/network-2.4.1.2:=[profile?] <dev-haskell/network-2.6:=[profile?] ) |
315 |
+ terminfo? ( >=dev-haskell/terminfo-0.3:=[profile?] <dev-haskell/terminfo-0.5:=[profile?] ) |
316 |
+" |
317 |
+DEPEND="${RDEPEND} |
318 |
+ >=dev-haskell/cabal-1.16.0 |
319 |
+ test? ( >=dev-haskell/cmdargs-0.10 <dev-haskell/cmdargs-0.11 |
320 |
+ >=dev-haskell/findbin-0.0 <dev-haskell/findbin-0.1 |
321 |
+ >=dev-haskell/hunit-1.2.5.2 <dev-haskell/hunit-1.4 |
322 |
+ >=dev-haskell/quickcheck-2.6 <dev-haskell/quickcheck-2.9 |
323 |
+ >=dev-haskell/shelly-1.6.2 <dev-haskell/shelly-1.7 |
324 |
+ >=dev-haskell/split-0.2.2 <dev-haskell/split-0.3 |
325 |
+ >=dev-haskell/test-framework-0.4.0 <dev-haskell/test-framework-0.9 |
326 |
+ >=dev-haskell/test-framework-hunit-0.2.2 <dev-haskell/test-framework-hunit-0.4 |
327 |
+ >=dev-haskell/test-framework-quickcheck2-0.3 <dev-haskell/test-framework-quickcheck2-0.4 ) |
328 |
+ curl? ( virtual/pkgconfig ) |
329 |
+" |
330 |
+ |
331 |
+src_configure() { |
332 |
+ haskell-cabal_src_configure \ |
333 |
+ $(cabal_flag curl curl) \ |
334 |
+ --flag=executable \ |
335 |
+ --flag=-hpc \ |
336 |
+ --flag=http \ |
337 |
+ --flag=library \ |
338 |
+ $(cabal_flag network-uri network-uri) \ |
339 |
+ --flag=-optimize \ |
340 |
+ --flag=pkgconfig \ |
341 |
+ --flag=-rts \ |
342 |
+ --flag=-static \ |
343 |
+ $(cabal_flag terminfo terminfo) \ |
344 |
+ $(cabal_flag threaded threaded) \ |
345 |
+ --flag=-warn-as-error |
346 |
+} |
347 |
+ |
348 |
+src_install() { |
349 |
+ haskell-cabal_src_install |
350 |
+ |
351 |
+ # fixup perms in such an an awkward way |
352 |
+ mv "${ED}/usr/share/man/man1/darcs.1" "${S}/darcs.1" || die "darcs.1 not found" |
353 |
+ doman "${S}/darcs.1" |
354 |
+} |
355 |
|
356 |
diff --git a/dev-vcs/darcs/darcs-2.12.4.ebuild b/dev-vcs/darcs/darcs-2.12.4.ebuild |
357 |
new file mode 100644 |
358 |
index 00000000000..11b513a7cc1 |
359 |
--- /dev/null |
360 |
+++ b/dev-vcs/darcs/darcs-2.12.4.ebuild |
361 |
@@ -0,0 +1,92 @@ |
362 |
+# Copyright 1999-2019 Gentoo Authors |
363 |
+# Distributed under the terms of the GNU General Public License v2 |
364 |
+ |
365 |
+EAPI=6 |
366 |
+ |
367 |
+# ebuild generated by hackport 0.5.9999 |
368 |
+#hackport: flags: +library,+executable,-hpc,-warn-as-error,+pkgconfig,-rts,-static,-optimize,hashed-storage-diff:diff,+http |
369 |
+ |
370 |
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" |
371 |
+inherit haskell-cabal |
372 |
+ |
373 |
+DESCRIPTION="a distributed, interactive, smart revision control system" |
374 |
+HOMEPAGE="http://darcs.net/" |
375 |
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" |
376 |
+ |
377 |
+LICENSE="GPL-2" |
378 |
+SLOT="0/${PV}" |
379 |
+KEYWORDS="~amd64 ~x86" |
380 |
+IUSE="+curl +network-uri +terminfo +threaded" |
381 |
+ |
382 |
+RDEPEND=">=dev-haskell/async-2.0.1.4:=[profile?] <dev-haskell/async-2.2:=[profile?] |
383 |
+ >=dev-haskell/attoparsec-0.11:=[profile?] <dev-haskell/attoparsec-0.14:=[profile?] |
384 |
+ >=dev-haskell/base16-bytestring-0.1:=[profile?] <dev-haskell/base16-bytestring-0.2:=[profile?] |
385 |
+ >=dev-haskell/cryptohash-0.4:=[profile?] <dev-haskell/cryptohash-0.12:=[profile?] |
386 |
+ >=dev-haskell/data-ordlist-0.4:=[profile?] <dev-haskell/data-ordlist-0.5:=[profile?] |
387 |
+ >=dev-haskell/fgl-5.5.0.1:=[profile?] <dev-haskell/fgl-5.6:=[profile?] |
388 |
+ >=dev-haskell/graphviz-2999.17.0.1:=[profile?] <dev-haskell/graphviz-2999.19:=[profile?] |
389 |
+ >=dev-haskell/hashable-1.1.2.5:=[profile?] <dev-haskell/hashable-1.3:=[profile?] |
390 |
+ >=dev-haskell/haskeline-0.6.3:=[profile?] <dev-haskell/haskeline-0.8:=[profile?] |
391 |
+ >=dev-haskell/html-1.0.1.2:=[profile?] <dev-haskell/html-1.1:=[profile?] |
392 |
+ >=dev-haskell/http-4000.2.8:=[profile?] <dev-haskell/http-4000.4:=[profile?] |
393 |
+ >=dev-haskell/mmap-0.5:=[profile?] <dev-haskell/mmap-0.6:=[profile?] |
394 |
+ >=dev-haskell/mtl-2.1.2:=[profile?] <dev-haskell/mtl-2.3:=[profile?] |
395 |
+ >=dev-haskell/old-time-1.1:=[profile?] <dev-haskell/old-time-1.2:=[profile?] |
396 |
+ >=dev-haskell/parsec-3.1:=[profile?] <dev-haskell/parsec-3.2:=[profile?] |
397 |
+ >=dev-haskell/random-1.0.1.1:=[profile?] <dev-haskell/random-1.2:=[profile?] |
398 |
+ >=dev-haskell/regex-applicative-0.2:=[profile?] <dev-haskell/regex-applicative-0.4:=[profile?] |
399 |
+ >=dev-haskell/regex-compat-tdfa-0.95.1:=[profile?] <dev-haskell/regex-compat-tdfa-0.96:=[profile?] |
400 |
+ >=dev-haskell/sandi-0.4:=[profile?] <dev-haskell/sandi-0.5:=[profile?] |
401 |
+ >=dev-haskell/tar-0.4:=[profile?] <dev-haskell/tar-0.6:=[profile?] |
402 |
+ >=dev-haskell/text-1.2.1.3:=[profile?] <dev-haskell/text-1.3:=[profile?] |
403 |
+ >=dev-haskell/transformers-compat-0.4:=[profile?] <dev-haskell/transformers-compat-0.6:=[profile?] |
404 |
+ >=dev-haskell/unix-compat-0.1.2:=[profile?] <dev-haskell/unix-compat-0.5:=[profile?] |
405 |
+ >=dev-haskell/utf8-string-0.3.6:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?] |
406 |
+ >=dev-haskell/vector-0.10.0.1:=[profile?] <dev-haskell/vector-0.12:=[profile?] |
407 |
+ >=dev-haskell/zip-archive-0.2.3:=[profile?] <dev-haskell/zip-archive-0.4:=[profile?] |
408 |
+ >=dev-haskell/zlib-0.5.4.1:=[profile?] <dev-haskell/zlib-0.7.0.0:=[profile?] |
409 |
+ >=dev-lang/ghc-7.10.1:= |
410 |
+ curl? ( net-misc/curl ) |
411 |
+ network-uri? ( >=dev-haskell/network-2.6:=[profile?] <dev-haskell/network-2.7:=[profile?] |
412 |
+ >=dev-haskell/network-uri-2.6:=[profile?] <dev-haskell/network-uri-2.7:=[profile?] ) |
413 |
+ !network-uri? ( >=dev-haskell/network-2.4.1.2:=[profile?] <dev-haskell/network-2.6:=[profile?] ) |
414 |
+ terminfo? ( >=dev-haskell/terminfo-0.3:=[profile?] <dev-haskell/terminfo-0.5:=[profile?] ) |
415 |
+" |
416 |
+DEPEND="${RDEPEND} |
417 |
+ >=dev-haskell/cabal-1.22.2.0 |
418 |
+ test? ( >=dev-haskell/cmdargs-0.10 <dev-haskell/cmdargs-0.11 |
419 |
+ >=dev-haskell/findbin-0.0 <dev-haskell/findbin-0.1 |
420 |
+ >=dev-haskell/hunit-1.2.5.2 <dev-haskell/hunit-1.4 |
421 |
+ >=dev-haskell/quickcheck-2.6 <dev-haskell/quickcheck-2.10 |
422 |
+ >=dev-haskell/shelly-1.6.2 <dev-haskell/shelly-1.7 |
423 |
+ >=dev-haskell/split-0.2.2 <dev-haskell/split-0.3 |
424 |
+ >=dev-haskell/test-framework-0.4.0 <dev-haskell/test-framework-0.9 |
425 |
+ >=dev-haskell/test-framework-hunit-0.2.2 <dev-haskell/test-framework-hunit-0.4 |
426 |
+ >=dev-haskell/test-framework-quickcheck2-0.3 <dev-haskell/test-framework-quickcheck2-0.4 ) |
427 |
+ curl? ( virtual/pkgconfig ) |
428 |
+" |
429 |
+ |
430 |
+src_configure() { |
431 |
+ haskell-cabal_src_configure \ |
432 |
+ $(cabal_flag curl curl) \ |
433 |
+ --flag=executable \ |
434 |
+ --flag=-hpc \ |
435 |
+ --flag=http \ |
436 |
+ --flag=library \ |
437 |
+ $(cabal_flag network-uri network-uri) \ |
438 |
+ --flag=-optimize \ |
439 |
+ --flag=pkgconfig \ |
440 |
+ --flag=-rts \ |
441 |
+ --flag=-static \ |
442 |
+ $(cabal_flag terminfo terminfo) \ |
443 |
+ $(cabal_flag threaded threaded) \ |
444 |
+ --flag=-warn-as-error |
445 |
+} |
446 |
+ |
447 |
+src_install() { |
448 |
+ haskell-cabal_src_install |
449 |
+ |
450 |
+ # fixup perms in such an an awkward way |
451 |
+ mv "${ED}/usr/share/man/man1/darcs.1" "${S}/darcs.1" || die "darcs.1 not found" |
452 |
+ doman "${S}/darcs.1" |
453 |
+} |
454 |
|
455 |
diff --git a/dev-vcs/darcs/darcs-2.8.4-r6.ebuild b/dev-vcs/darcs/darcs-2.8.4-r6.ebuild |
456 |
new file mode 100644 |
457 |
index 00000000000..5f688a52aac |
458 |
--- /dev/null |
459 |
+++ b/dev-vcs/darcs/darcs-2.8.4-r6.ebuild |
460 |
@@ -0,0 +1,134 @@ |
461 |
+# Copyright 1999-2020 Gentoo Authors |
462 |
+# Distributed under the terms of the GNU General Public License v2 |
463 |
+ |
464 |
+EAPI=5 |
465 |
+ |
466 |
+# ebuild generated by hackport 0.3.9999 |
467 |
+ |
468 |
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour" |
469 |
+inherit eutils haskell-cabal bash-completion-r1 |
470 |
+ |
471 |
+DESCRIPTION="a distributed, interactive, smart revision control system" |
472 |
+HOMEPAGE="http://darcs.net/" |
473 |
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" |
474 |
+ |
475 |
+LICENSE="GPL-2" |
476 |
+SLOT="0/${PV}" |
477 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" |
478 |
+IUSE="doc test" |
479 |
+RESTRICT="!test? ( test )" |
480 |
+ |
481 |
+RDEPEND="=dev-haskell/extensible-exceptions-0.1*:=[profile?] |
482 |
+ >=dev-haskell/hashed-storage-0.5.6:=[profile?] |
483 |
+ <dev-haskell/hashed-storage-0.6:=[profile?] |
484 |
+ >=dev-haskell/haskeline-0.6.3:=[profile?] |
485 |
+ <dev-haskell/haskeline-0.8:=[profile?] |
486 |
+ =dev-haskell/html-1.0*:=[profile?] |
487 |
+ =dev-haskell/mmap-0.5*:=[profile?] |
488 |
+ >=dev-haskell/mtl-1.0:=[profile?] |
489 |
+ <dev-haskell/mtl-2.3:=[profile?] |
490 |
+ >=dev-haskell/parsec-2.0:=[profile?] |
491 |
+ <dev-haskell/parsec-3.2:=[profile?] |
492 |
+ =dev-haskell/random-1.0*:=[profile?] |
493 |
+ >=dev-haskell/regex-compat-0.95.1:=[profile?] |
494 |
+ >=dev-haskell/tar-0.3:=[profile?] |
495 |
+ <dev-haskell/tar-0.5:=[profile?] |
496 |
+ >=dev-haskell/terminfo-0.3:=[profile?] <dev-haskell/terminfo-0.5:=[profile?] |
497 |
+ >=dev-haskell/text-0.11.0.6:=[profile?] |
498 |
+ >=dev-haskell/utf8-string-0.3.6:=[profile?] <dev-haskell/utf8-string-0.4:=[profile?] |
499 |
+ >=dev-haskell/vector-0.7:=[profile?] |
500 |
+ >=dev-haskell/zlib-0.5.1.0:=[profile?] |
501 |
+ <dev-haskell/zlib-0.6.0.0:=[profile?] |
502 |
+ >=dev-lang/ghc-6.10.4:= |
503 |
+ net-misc/curl" |
504 |
+DEPEND="${RDEPEND} |
505 |
+ >=dev-haskell/cabal-1.8 |
506 |
+ doc? ( virtual/latex-base |
507 |
+ || ( dev-tex/latex2html[png] |
508 |
+ dev-tex/latex2html[gif] |
509 |
+ ) |
510 |
+ ) |
511 |
+ test? ( >=dev-haskell/cmdlib-0.2.1[profile?] |
512 |
+ <dev-haskell/cmdlib-0.4[profile?] |
513 |
+ =dev-haskell/findbin-0.0*[profile?] |
514 |
+ >=dev-haskell/quickcheck-2.3 |
515 |
+ >=dev-haskell/shellish-0.1.3[profile?] |
516 |
+ <dev-haskell/shellish-0.2[profile?] |
517 |
+ >=dev-haskell/test-framework-0.4.0[profile?] |
518 |
+ >=dev-haskell/test-framework-hunit-0.2.2[profile?] |
519 |
+ >=dev-haskell/test-framework-quickcheck2-0.2.8[profile?] |
520 |
+ ) |
521 |
+ " |
522 |
+ |
523 |
+src_prepare() { |
524 |
+ rm "${S}/tests/add_permissions.sh" || die "Could not rm add_permissions.sh" |
525 |
+ rm "${S}/tests/send-output-v1.sh" || die "Could not rm send-output-v1.sh" |
526 |
+ rm "${S}/tests/send-output-v2.sh" || die "Could not rm send-output-v2.sh" |
527 |
+ rm "${S}/tests/utf8.sh" || die "Could not rm utf8.sh" |
528 |
+ |
529 |
+ epatch "${FILESDIR}"/${P}-ghc-7.8-part-1.patch |
530 |
+ epatch "${FILESDIR}"/${P}-ghc-7.8-part-2.patch |
531 |
+ epatch "${FILESDIR}"/${P}-fix-nonatomic-global.patch |
532 |
+ epatch "${FILESDIR}"/${P}-issue2364.patch |
533 |
+ epatch "${FILESDIR}"/${P}-issue2364-part-2.patch |
534 |
+ |
535 |
+ cabal_chdeps \ |
536 |
+ 'text >= 0.11.0.6 && < 0.12.0.0' 'text >= 0.11.0.6' \ |
537 |
+ 'terminfo == 0.3.*' 'terminfo >= 0.3 && < 0.5' \ |
538 |
+ 'array >= 0.1 && < 0.5' 'array >= 0.1 && <0.6' \ |
539 |
+ 'process >= 1.0.0.0 && < 1.2.0.0' 'process >= 1.0.0.0 && < 1.3' \ |
540 |
+ 'unix >= 1.0 && < 2.7' 'unix >=1.0 && <2.8' \ |
541 |
+ 'base >= 4.5 && < 4.7' 'base >= 4.5 && < 4.8' \ |
542 |
+ 'ghc >= 6.10 && < 7.8' 'ghc >= 6.10' \ |
543 |
+ 'mtl >= 1.0 && < 2.2' 'mtl >= 1.0 && < 2.3' |
544 |
+} |
545 |
+ |
546 |
+src_configure() { |
547 |
+ # checking whether ghc supports -threaded flag |
548 |
+ # Beware: http://www.haskell.org/ghc/docs/latest/html/users_guide/options-phases.html#options-linker |
549 |
+ # contains: 'The ability to make a foreign call that does not block all other Haskell threads.' |
550 |
+ # It might have interactivity impact. |
551 |
+ |
552 |
+ threaded_flag="" |
553 |
+ if $(ghc-getghc) --info | grep "Support SMP" | grep -q "YES"; then |
554 |
+ threaded_flag="--flags=threaded" |
555 |
+ einfo "$P will be built with threads support" |
556 |
+ else |
557 |
+ threaded_flag="--flags=-threaded" |
558 |
+ einfo "$P will be built without threads support" |
559 |
+ fi |
560 |
+ |
561 |
+ # Use curl for net stuff to avoid strict version dep on HTTP and network |
562 |
+ cabal_src_configure \ |
563 |
+ --flags=curl \ |
564 |
+ --flags=-http \ |
565 |
+ --flags=color \ |
566 |
+ --flags=terminfo \ |
567 |
+ --flags=mmap \ |
568 |
+ --flags=force-char8-encoding \ |
569 |
+ $threaded_flag \ |
570 |
+ $(cabal_flag test) |
571 |
+} |
572 |
+ |
573 |
+src_test() { |
574 |
+ # run cabal test from haskell-cabal |
575 |
+ haskell-cabal_src_test || die "cabal test failed" |
576 |
+} |
577 |
+ |
578 |
+src_install() { |
579 |
+ cabal_src_install |
580 |
+ newbashcomp "${S}/contrib/darcs_completion" "${PN}" |
581 |
+ |
582 |
+ # fixup perms in such an an awkward way |
583 |
+ mv "${ED}/usr/share/man/man1/darcs.1" "${S}/darcs.1" || die "darcs.1 not found" |
584 |
+ doman "${S}/darcs.1" |
585 |
+} |
586 |
+ |
587 |
+pkg_postinst() { |
588 |
+ ghc-package_pkg_postinst |
589 |
+ |
590 |
+ ewarn "NOTE: in order for the darcs send command to work properly," |
591 |
+ ewarn "you must properly configure your mail transport agent to relay" |
592 |
+ ewarn "outgoing mail. For example, if you are using ssmtp, please edit" |
593 |
+ ewarn "${EPREFIX}/etc/ssmtp/ssmtp.conf with appropriate values for your site." |
594 |
+} |
595 |
|
596 |
diff --git a/dev-vcs/darcs/metadata.xml b/dev-vcs/darcs/metadata.xml |
597 |
index 5dcfbffb362..f42758756fc 100644 |
598 |
--- a/dev-vcs/darcs/metadata.xml |
599 |
+++ b/dev-vcs/darcs/metadata.xml |
600 |
@@ -5,6 +5,8 @@ |
601 |
<email>haskell@g.o</email> |
602 |
</maintainer> |
603 |
<use> |
604 |
+ <flag name="diff">Use 'lcs' for diff building.</flag> |
605 |
+ <flag name="http">Use the pure Haskell HTTP package for HTTP support.</flag> |
606 |
<flag name="network-uri">Get Network.URI from the network-uri package.</flag> |
607 |
<flag name="terminfo">Use the terminfo package for enhanced console support.</flag> |
608 |
<flag name="threaded">Use threading and SMP support.</flag> |