Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-haskell/vector-algorithms/files/, dev-haskell/vector-algorithms/
Date: Sat, 12 Sep 2020 22:49:20
Message-Id: 1599950853.f0f26025bbb9fd67a7e0d7a9932eafb31080e9b2.slyfox@gentoo
1 commit: f0f26025bbb9fd67a7e0d7a9932eafb31080e9b2
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 12 22:47:33 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 12 22:47:33 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0f26025
7
8 dev-haskell/vector-algorithms: drop old
9
10 Package-Manager: Portage-3.0.6, Repoman-3.0.1
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 dev-haskell/vector-algorithms/Manifest | 2 -
14 .../vector-algorithms-0.7.0.1-ghc-8.0.2_rc1.patch | 44 ----------------------
15 .../vector-algorithms-0.6.0.4.ebuild | 40 --------------------
16 .../vector-algorithms-0.7.0.1.ebuild | 40 --------------------
17 4 files changed, 126 deletions(-)
18
19 diff --git a/dev-haskell/vector-algorithms/Manifest b/dev-haskell/vector-algorithms/Manifest
20 index 95ffba10192..eb43644ef7e 100644
21 --- a/dev-haskell/vector-algorithms/Manifest
22 +++ b/dev-haskell/vector-algorithms/Manifest
23 @@ -1,3 +1 @@
24 -DIST vector-algorithms-0.6.0.4.tar.gz 20455 BLAKE2B 0d0c4ef7ed8996d1ebe65971a451d4cb49118faedbf9cb4a987afb281adf563808778a689df608d2fb3c8fe9398af995d1c5e31cc89fd4f2075c2ebdd7ca4277 SHA512 5e99a77771831f0b9a4485f48aa7be5f5928e811512f0a68e18fa65ecace185dfea74ec09037b05d56e1a9208d2cdbcfed94ce2678d504f6d12267496a3616bf
25 -DIST vector-algorithms-0.7.0.1.tar.gz 25435 BLAKE2B f9cb3bf592316c92bff4313d264370cc35d62c64e7dec6f14ee9954c0fc12f573e799172793501e1b4f9c556fa1ea8e3db1ac3381ff71bb143e33520c69c18b8 SHA512 1ea718eeb062defee830fa7dba323981678691c5d320b8929dcd695af17f82d65007cfd35103310026dab51cf10462dbead09082fc0ba5ddd0c2e18e305c4c6a
26 DIST vector-algorithms-0.8.0.3.tar.gz 26559 BLAKE2B 7541d141967faf4bc1b33dcd23f283e1a6868f0b51e784918c1516a46c38ba3e9205045c87679738d89c48fee3ee2e61286eab59cc66ec8cfc18f1a4b977c634 SHA512 45311e19a1e5c9994e7d666b73445d11946f60915df3d2f385a435538d1b6b0929b56a960f83c5df1b2df883566e7f8e6fdd5be4e075364d7daecd6dbec780e5
27
28 diff --git a/dev-haskell/vector-algorithms/files/vector-algorithms-0.7.0.1-ghc-8.0.2_rc1.patch b/dev-haskell/vector-algorithms/files/vector-algorithms-0.7.0.1-ghc-8.0.2_rc1.patch
29 deleted file mode 100644
30 index 3616dd76d82..00000000000
31 --- a/dev-haskell/vector-algorithms/files/vector-algorithms-0.7.0.1-ghc-8.0.2_rc1.patch
32 +++ /dev/null
33 @@ -1,44 +0,0 @@
34 -diff --git a/tests/properties/Tests.hs b/tests/properties/Tests.hs
35 -index a0b7d35..8fcfd36 100644
36 ---- a/tests/properties/Tests.hs
37 -+++ b/tests/properties/Tests.hs
38 -@@ -1,2 +1,2 @@
39 --{-# LANGUAGE ImpredicativeTypes, RankNTypes, TypeOperators, FlexibleContexts #-}
40 -+{-# LANGUAGE ImpredicativeTypes, RankNTypes, TypeOperators, FlexibleContexts, ScopedTypeVariables #-}
41 -
42 -@@ -44,4 +44,4 @@ args = stdArgs
43 -
44 --check_Int_sort = forM_ algos $ \(name,algo) ->
45 -- quickCheckWith args (label name . prop_fullsort algo)
46 -+check_Int_sort = forM_ algos (\(name,algo :: Algo Int ()) ->
47 -+ quickCheckWith args (label name . prop_fullsort algo))
48 - where
49 -@@ -55,4 +55,4 @@ check_Int_sort = forM_ algos $ \(name,algo) ->
50 -
51 --check_Int_partialsort = forM_ algos $ \(name,algo) ->
52 -- quickCheckWith args (label name . prop_partialsort algo)
53 -+check_Int_partialsort = forM_ algos (\(name,algo :: SizeAlgo Int ()) ->
54 -+ quickCheckWith args (label name . prop_partialsort algo))
55 - where
56 -@@ -63,4 +63,4 @@ check_Int_partialsort = forM_ algos $ \(name,algo) ->
57 -
58 --check_Int_select = forM_ algos $ \(name,algo) ->
59 -- quickCheckWith args (label name . prop_select algo)
60 -+check_Int_select = forM_ algos (\(name,algo :: SizeAlgo Int ()) ->
61 -+ quickCheckWith args (label name . prop_select algo))
62 - where
63 -@@ -119,10 +119,10 @@ check_permutation = do
64 - qc $ label "introsort" . prop_permutation (INT.sort :: Algo Int ())
65 -- qc $ label "intropartial" . prop_sized (const . prop_permutation)
66 -+ qc $ label "intropartial" . prop_sized (\x -> const (prop_permutation x))
67 - (INT.partialSort :: SizeAlgo Int ())
68 -- qc $ label "introselect" . prop_sized (const . prop_permutation)
69 -+ qc $ label "introselect" . prop_sized (\x -> const (prop_permutation x))
70 - (INT.select :: SizeAlgo Int ())
71 - qc $ label "heapsort" . prop_permutation (H.sort :: Algo Int ())
72 -- qc $ label "heappartial" . prop_sized (const . prop_permutation)
73 -+ qc $ label "heappartial" . prop_sized (\x -> const (prop_permutation x))
74 - (H.partialSort :: SizeAlgo Int ())
75 -- qc $ label "heapselect" . prop_sized (const . prop_permutation)
76 -+ qc $ label "heapselect" . prop_sized (\x -> const (prop_permutation x))
77 - (H.select :: SizeAlgo Int ())
78
79 diff --git a/dev-haskell/vector-algorithms/vector-algorithms-0.6.0.4.ebuild b/dev-haskell/vector-algorithms/vector-algorithms-0.6.0.4.ebuild
80 deleted file mode 100644
81 index 60de2b4a02f..00000000000
82 --- a/dev-haskell/vector-algorithms/vector-algorithms-0.6.0.4.ebuild
83 +++ /dev/null
84 @@ -1,40 +0,0 @@
85 -# Copyright 1999-2019 Gentoo Authors
86 -# Distributed under the terms of the GNU General Public License v2
87 -
88 -EAPI=5
89 -
90 -# ebuild generated by hackport 0.4.4.9999
91 -
92 -CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite"
93 -inherit haskell-cabal
94 -
95 -DESCRIPTION="Efficient algorithms for vector arrays"
96 -HOMEPAGE="http://code.haskell.org/~dolio/"
97 -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
98 -
99 -LICENSE="BSD"
100 -SLOT="0/${PV}"
101 -KEYWORDS="~amd64 ~x86"
102 -IUSE="bench +boundschecks internalchecks +properties unsafechecks"
103 -
104 -RESTRICT=test # hangs
105 -
106 -RDEPEND="dev-haskell/mtl:=[profile?]
107 - dev-haskell/mwc-random:=[profile?]
108 - >=dev-haskell/primitive-0.3:=[profile?] <dev-haskell/primitive-0.7:=[profile?]
109 - >=dev-haskell/vector-0.6:=[profile?] <dev-haskell/vector-0.11:=[profile?]
110 - >=dev-lang/ghc-7.4.1:=
111 -"
112 -DEPEND="${RDEPEND}
113 - >=dev-haskell/cabal-1.9.2
114 - test? ( properties? ( >=dev-haskell/quickcheck-2 ) )
115 -"
116 -
117 -src_configure() {
118 - haskell-cabal_src_configure \
119 - $(cabal_flag bench bench) \
120 - $(cabal_flag boundschecks boundschecks) \
121 - $(cabal_flag internalchecks internalchecks) \
122 - $(cabal_flag properties properties) \
123 - $(cabal_flag unsafechecks unsafechecks)
124 -}
125
126 diff --git a/dev-haskell/vector-algorithms/vector-algorithms-0.7.0.1.ebuild b/dev-haskell/vector-algorithms/vector-algorithms-0.7.0.1.ebuild
127 deleted file mode 100644
128 index 9a143ddec1c..00000000000
129 --- a/dev-haskell/vector-algorithms/vector-algorithms-0.7.0.1.ebuild
130 +++ /dev/null
131 @@ -1,40 +0,0 @@
132 -# Copyright 1999-2019 Gentoo Authors
133 -# Distributed under the terms of the GNU General Public License v2
134 -
135 -EAPI=6
136 -
137 -# ebuild generated by hackport 0.4.6.9999
138 -
139 -CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite"
140 -inherit haskell-cabal
141 -
142 -DESCRIPTION="Efficient algorithms for vector arrays"
143 -HOMEPAGE="http://code.haskell.org/~dolio/"
144 -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
145 -
146 -LICENSE="BSD"
147 -SLOT="0/${PV}"
148 -KEYWORDS="~amd64 ~x86"
149 -IUSE="bench +boundschecks internalchecks +properties unsafechecks"
150 -
151 -RDEPEND="dev-haskell/mtl:=[profile?]
152 - dev-haskell/mwc-random:=[profile?]
153 - >=dev-haskell/primitive-0.3:=[profile?] <dev-haskell/primitive-0.7:=[profile?]
154 - >=dev-haskell/vector-0.6:=[profile?] <dev-haskell/vector-0.12:=[profile?]
155 - >=dev-lang/ghc-7.4.1:=
156 -"
157 -DEPEND="${RDEPEND}
158 - >=dev-haskell/cabal-1.9.2
159 - test? ( properties? ( >=dev-haskell/quickcheck-2 ) )
160 -"
161 -
162 -PATCHES=("${FILESDIR}"/${P}-ghc-8.0.2_rc1.patch)
163 -
164 -src_configure() {
165 - haskell-cabal_src_configure \
166 - $(cabal_flag bench bench) \
167 - $(cabal_flag boundschecks boundschecks) \
168 - $(cabal_flag internalchecks internalchecks) \
169 - $(cabal_flag properties properties) \
170 - $(cabal_flag unsafechecks unsafechecks)
171 -}