1 |
commit: ad37e9dd4ba89b0bf1cf4957457fb5f44f994d1e |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 2 18:24:12 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 2 18:24:23 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad37e9dd |
7 |
|
8 |
app-portage/hackport: drop old |
9 |
|
10 |
Package-Manager: Portage-3.0.5, Repoman-3.0.1 |
11 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
12 |
|
13 |
app-portage/hackport/Manifest | 1 - |
14 |
.../files/hackport-0.6.3-missing-ffi.patch | 33 --------- |
15 |
.../files/hackport-0.6.3-missing-test-deps.patch | 79 ---------------------- |
16 |
.../files/hackport-0.6.3-old-filepath.patch | 40 ----------- |
17 |
app-portage/hackport/hackport-0.6.3.ebuild | 63 ----------------- |
18 |
5 files changed, 216 deletions(-) |
19 |
|
20 |
diff --git a/app-portage/hackport/Manifest b/app-portage/hackport/Manifest |
21 |
index 854b42eb19c..4624185df5f 100644 |
22 |
--- a/app-portage/hackport/Manifest |
23 |
+++ b/app-portage/hackport/Manifest |
24 |
@@ -1,2 +1 @@ |
25 |
-DIST hackport-0.6.3.tar.gz 1986620 BLAKE2B 6878b3f378b1c5303047c4e6ea27edd587527bc0f303dae8947f0e2a066452b5c4cf3a13594499c3b367ff515114f43c2fa7dece935a704f0f6855fc23f14100 SHA512 ef2f2125c89352207f82e02668bfd84c9e38d5ed3f8643d19d4f270cf7440169c7e6d24513f90e7d616900a06a429e54cf01a42363ff463d536fa37700b7d1cc |
26 |
DIST hackport-0.6.6.tar.gz 2079279 BLAKE2B 6e4084babb3fc036568387845ca2793d47a29ce94c24211259324d3040d0c0e15be028d0a9726ea8512dd518d7e9dd8447aba67725c0916418f523449f2179b4 SHA512 b836bd21e3713796feaab9ca830fdef80f52b9723d0fba6cfb60d802e038eaec2da8492eb025d6ae376aea69734c031e23c0887642675c4f767b1592d82c5523 |
27 |
|
28 |
diff --git a/app-portage/hackport/files/hackport-0.6.3-missing-ffi.patch b/app-portage/hackport/files/hackport-0.6.3-missing-ffi.patch |
29 |
deleted file mode 100644 |
30 |
index 21c848ab53c..00000000000 |
31 |
--- a/app-portage/hackport/files/hackport-0.6.3-missing-ffi.patch |
32 |
+++ /dev/null |
33 |
@@ -1,33 +0,0 @@ |
34 |
-From 4264f8bc91dabce03ac858388358ff5f4c6db8df Mon Sep 17 00:00:00 2001 |
35 |
-From: Sergei Trofimovich <slyfox@g.o> |
36 |
-Date: Sat, 25 Jan 2020 23:52:58 +0000 |
37 |
-Subject: [PATCH 2/3] hackport.cabal: add missing ForeignFunctionInterface |
38 |
- extension |
39 |
-MIME-Version: 1.0 |
40 |
-Content-Type: text/plain; charset=UTF-8 |
41 |
-Content-Transfer-Encoding: 8bit |
42 |
- |
43 |
-gcc-8.0 does not enable `ForeignFunctionInterface` by default. |
44 |
- |
45 |
-Reported-by: Toralf Förster |
46 |
-Bug: https://bugs.gentoo.org/704778 |
47 |
-Signed-off-by: Sergei Trofimovich <slyfox@g.o> |
48 |
---- |
49 |
- hackport.cabal | 1 + |
50 |
- 1 file changed, 1 insertion(+) |
51 |
- |
52 |
-diff --git a/hackport.cabal b/hackport.cabal |
53 |
-index 049933e00..70928fe6b 100644 |
54 |
---- a/hackport.cabal |
55 |
-+++ b/hackport.cabal |
56 |
-@@ -70,6 +70,7 @@ Executable hackport |
57 |
- DoAndIfThenElse, |
58 |
- EmptyDataDecls, |
59 |
- ExistentialQuantification, |
60 |
-+ ForeignFunctionInterface, |
61 |
- FlexibleContexts, |
62 |
- FlexibleInstances, |
63 |
- GADTs, |
64 |
--- |
65 |
-2.25.0 |
66 |
- |
67 |
|
68 |
diff --git a/app-portage/hackport/files/hackport-0.6.3-missing-test-deps.patch b/app-portage/hackport/files/hackport-0.6.3-missing-test-deps.patch |
69 |
deleted file mode 100644 |
70 |
index fa6c446cf38..00000000000 |
71 |
--- a/app-portage/hackport/files/hackport-0.6.3-missing-test-deps.patch |
72 |
+++ /dev/null |
73 |
@@ -1,79 +0,0 @@ |
74 |
-From 4cd81196f7a477327ce87971b376e785f362b9b7 Mon Sep 17 00:00:00 2001 |
75 |
-From: Sergei Trofimovich <slyfox@g.o> |
76 |
-Date: Fri, 24 Jan 2020 08:09:34 +0000 |
77 |
-Subject: [PATCH 1/3] hackport.cabal: add missing test depends |
78 |
- |
79 |
-Signed-off-by: Sergei Trofimovich <slyfox@g.o> |
80 |
---- |
81 |
- hackport.cabal | 21 ++++++++++++++++++++- |
82 |
- 1 file changed, 20 insertions(+), 1 deletion(-) |
83 |
- |
84 |
-diff --git a/hackport.cabal b/hackport.cabal |
85 |
-index 94d345292..049933e00 100644 |
86 |
---- a/hackport.cabal |
87 |
-+++ b/hackport.cabal |
88 |
-@@ -76,6 +76,7 @@ Executable hackport |
89 |
- GeneralizedNewtypeDeriving, |
90 |
- KindSignatures, |
91 |
- MultiParamTypeClasses, |
92 |
-+ -- cabal |
93 |
- PatternGuards, |
94 |
- RankNTypes, |
95 |
- RecordWildCards, |
96 |
-@@ -86,7 +87,6 @@ Executable hackport |
97 |
- ViewPatterns |
98 |
- other-extensions: |
99 |
- DeriveDataTypeable, |
100 |
-- PatternGuards, |
101 |
- -- extensions due to bundled cabal-install |
102 |
- CPP, |
103 |
- ForeignFunctionInterface, |
104 |
-@@ -151,9 +151,15 @@ Test-Suite test-resolve-category |
105 |
- pretty, |
106 |
- process, |
107 |
- split, |
108 |
-+ text, |
109 |
- time, |
110 |
-+ transformers, |
111 |
- unix, |
112 |
- xml |
113 |
-+ default-extensions: |
114 |
-+ -- cabal |
115 |
-+ PatternGuards, |
116 |
-+ DoAndIfThenElse |
117 |
- |
118 |
- Test-Suite test-print-deps |
119 |
- ghc-options: -Wall |
120 |
-@@ -174,9 +180,15 @@ Test-Suite test-print-deps |
121 |
- parsec, |
122 |
- pretty, |
123 |
- process, |
124 |
-+ text, |
125 |
- time, |
126 |
-+ transformers, |
127 |
- unix, |
128 |
- xml |
129 |
-+ default-extensions: |
130 |
-+ -- cabal |
131 |
-+ PatternGuards, |
132 |
-+ DoAndIfThenElse |
133 |
- |
134 |
- Test-Suite test-normalize-deps |
135 |
- ghc-options: -Wall |
136 |
-@@ -197,6 +209,13 @@ Test-Suite test-normalize-deps |
137 |
- parsec, |
138 |
- pretty, |
139 |
- process, |
140 |
-+ text, |
141 |
- time, |
142 |
-+ transformers, |
143 |
- unix, |
144 |
- xml |
145 |
-+ |
146 |
-+ default-extensions: |
147 |
-+ -- cabal |
148 |
-+ PatternGuards, |
149 |
-+ DoAndIfThenElse |
150 |
--- |
151 |
-2.25.0 |
152 |
- |
153 |
|
154 |
diff --git a/app-portage/hackport/files/hackport-0.6.3-old-filepath.patch b/app-portage/hackport/files/hackport-0.6.3-old-filepath.patch |
155 |
deleted file mode 100644 |
156 |
index c660db766b2..00000000000 |
157 |
--- a/app-portage/hackport/files/hackport-0.6.3-old-filepath.patch |
158 |
+++ /dev/null |
159 |
@@ -1,40 +0,0 @@ |
160 |
-From b4fe6e48679084ca28c1192612c60599ae81808c Mon Sep 17 00:00:00 2001 |
161 |
-From: Sergei Trofimovich <slyfox@g.o> |
162 |
-Date: Sat, 25 Jan 2020 23:53:39 +0000 |
163 |
-Subject: [PATCH 3/3] Merge.hs: avoid using isExtensionOf |
164 |
- |
165 |
-`isExtensionOf` is not available in gcc-8.0. |
166 |
- |
167 |
-Reported-by: Jeremy Stent |
168 |
-Bug: https://bugs.gentoo.org/704778 |
169 |
-Signed-off-by: Sergei Trofimovich <slyfox@g.o> |
170 |
---- |
171 |
- Merge.hs | 5 +++-- |
172 |
- 1 file changed, 3 insertions(+), 2 deletions(-) |
173 |
- |
174 |
-diff --git a/Merge.hs b/Merge.hs |
175 |
-index 645817345..522a3739d 100644 |
176 |
---- a/Merge.hs |
177 |
-+++ b/Merge.hs |
178 |
-@@ -39,7 +39,8 @@ import System.Directory ( getCurrentDirectory |
179 |
- , listDirectory |
180 |
- ) |
181 |
- import System.Process (system) |
182 |
--import System.FilePath ((</>), isExtensionOf) |
183 |
-+import System.FilePath ((</>)) |
184 |
-+import qualified System.FilePath as SF |
185 |
- import System.Exit |
186 |
- |
187 |
- import qualified Cabal2Ebuild as C2E |
188 |
-@@ -183,7 +184,7 @@ getPreviousPackageId pkgDir newPkgId = do |
189 |
- . L.sortOn (Portage.pkgVersion) |
190 |
- . filter (<newPkgId) |
191 |
- $ Portage.filePathToPackageId newPkgId |
192 |
-- <$> filter (\fp -> ".ebuild" `isExtensionOf` fp) pkgDir |
193 |
-+ <$> filter (\fp -> SF.takeExtension fp == ".ebuild") pkgDir |
194 |
- case pkgIds of |
195 |
- x:_ -> Just x |
196 |
- _ -> Nothing |
197 |
--- |
198 |
-2.25.0 |
199 |
- |
200 |
|
201 |
diff --git a/app-portage/hackport/hackport-0.6.3.ebuild b/app-portage/hackport/hackport-0.6.3.ebuild |
202 |
deleted file mode 100644 |
203 |
index 7bfc0828b6b..00000000000 |
204 |
--- a/app-portage/hackport/hackport-0.6.3.ebuild |
205 |
+++ /dev/null |
206 |
@@ -1,63 +0,0 @@ |
207 |
-# Copyright 1999-2020 Gentoo Authors |
208 |
-# Distributed under the terms of the GNU General Public License v2 |
209 |
- |
210 |
-EAPI=7 |
211 |
- |
212 |
-# ebuild generated by hackport 0.6.3.9999 |
213 |
- |
214 |
-CABAL_FEATURES="test-suite" |
215 |
-inherit haskell-cabal |
216 |
- |
217 |
-DESCRIPTION="Hackage and Portage integration tool" |
218 |
-HOMEPAGE="https://hackage.haskell.org/package/hackport" |
219 |
-SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" |
220 |
- |
221 |
-LICENSE="GPL-2" |
222 |
-SLOT="0" |
223 |
-KEYWORDS="~amd64 ~x86" |
224 |
-IUSE="" |
225 |
- |
226 |
-RESTRICT=test # tests are broken: need path to ebuild tree |
227 |
- |
228 |
-RDEPEND=" |
229 |
- app-portage/repoman |
230 |
- dev-haskell/async:= |
231 |
- dev-haskell/base16-bytestring:= |
232 |
- dev-haskell/base64-bytestring:= |
233 |
- dev-haskell/cryptohash:= |
234 |
- dev-haskell/ed25519:= |
235 |
- dev-haskell/extensible-exceptions:= |
236 |
- dev-haskell/hashable:= |
237 |
- >=dev-haskell/http-4000.0.3:= |
238 |
- dev-haskell/missingh:= |
239 |
- dev-haskell/mtl:= |
240 |
- >=dev-haskell/network-2.6:= |
241 |
- >=dev-haskell/network-uri-2.6:= |
242 |
- dev-haskell/old-locale:= |
243 |
- dev-haskell/old-time:= |
244 |
- dev-haskell/parsec:= |
245 |
- dev-haskell/random:= |
246 |
- dev-haskell/regex-compat:= |
247 |
- dev-haskell/split:= |
248 |
- dev-haskell/stm:= |
249 |
- >=dev-haskell/tar-0.5:= |
250 |
- dev-haskell/text:= |
251 |
- >=dev-haskell/xml-1.3.7:= |
252 |
- dev-haskell/zlib:= |
253 |
- >=dev-lang/ghc-7.8.2:= |
254 |
-" |
255 |
-DEPEND="${RDEPEND} |
256 |
- >=dev-haskell/cabal-1.18.1.3 |
257 |
- test? ( dev-haskell/hunit ) |
258 |
-" |
259 |
- |
260 |
-PATCHES=( |
261 |
- "${FILESDIR}"/${P}-missing-ffi.patch |
262 |
- "${FILESDIR}"/${P}-missing-test-deps.patch |
263 |
- "${FILESDIR}"/${P}-old-filepath.patch |
264 |
-) |
265 |
- |
266 |
-src_install() { |
267 |
- haskell-cabal_src_install |
268 |
- doman man/hackport.1 |
269 |
-} |