[gentoo-commits] repo/gentoo:master commit in: dev-haskell/hashtables/files/, dev-haskell/hashtables/

2024-06-02 Thread Mark Wright
commit: 1688339c808ae603800a08f633856729dd29e984
Author: Mark Wright  gentoo  org>
AuthorDate: Sun Jun  2 12:06:34 2024 +
Commit: Mark Wright  gentoo  org>
CommitDate: Sun Jun  2 12:06:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1688339c

dev-haskell/hashtables: Fix clang compile error

Thanks to toralf for reporting.

Closes: https://bugs.gentoo.org/919302
Signed-off-by: Mark Wright  gentoo.org>

 ...les-1.3.1-clang-argument-must-be-a-constant-integer.patch | 12 
 dev-haskell/hashtables/hashtables-1.3.1.ebuild   |  6 +-
 2 files changed, 17 insertions(+), 1 deletion(-)

diff --git 
a/dev-haskell/hashtables/files/hashtables-1.3.1-clang-argument-must-be-a-constant-integer.patch
 
b/dev-haskell/hashtables/files/hashtables-1.3.1-clang-argument-must-be-a-constant-integer.patch
new file mode 100644
index ..a8dd7bcd9a87
--- /dev/null
+++ 
b/dev-haskell/hashtables/files/hashtables-1.3.1-clang-argument-must-be-a-constant-integer.patch
@@ -0,0 +1,12 @@
+--- hashtables-1.3.1-orig/cbits/sse-42.c   2001-09-09 11:46:40.0 
+1000
 hashtables-1.3.1/cbits/sse-42.c2024-06-01 12:50:27.039285052 +1000
+@@ -49,8 +49,7 @@
+ #define _MODE (SIDD_UWORD_OPS | SIDD_CMP_EQUAL_EACH)
+ 
+ static inline __m128i cmp_mask(__m128i a, __m128i b) {
+-const int mode = SIDD_UWORD_OPS | SIDD_CMP_EQUAL_EACH | SIDD_BIT_MASK;
+-return _mm_cmpistrm(a, b, mode);
++return _mm_cmpistrm(a, b, SIDD_UWORD_OPS | SIDD_CMP_EQUAL_EACH | 
SIDD_BIT_MASK);
+ }
+ 
+ static inline int32_t line_result(uint32_t m, int start) {

diff --git a/dev-haskell/hashtables/hashtables-1.3.1.ebuild 
b/dev-haskell/hashtables/hashtables-1.3.1.ebuild
index 13d8df830c14..34972a4fa001 100644
--- a/dev-haskell/hashtables/hashtables-1.3.1.ebuild
+++ b/dev-haskell/hashtables/hashtables-1.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -36,6 +36,10 @@ DEPEND="
)
 "
 
+PATCHES=(
+   
"${FILESDIR}"/${PN}-1.3.1-clang-argument-must-be-a-constant-integer.patch
+)
+
 src_configure() {
haskell-cabal_src_configure \
$(cabal_flag bounds-checking bounds-checking) \



[gentoo-commits] repo/gentoo:master commit in: dev-haskell/hashtables/

2023-10-22 Thread Sam James
commit: 4f94a291f63f9521a6daec6b3602188544e14173
Author: hololeap  protonmail  com>
AuthorDate: Tue Oct  3 05:11:22 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct 23 03:10:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f94a291

dev-haskell/hashtables: new package, add 1.3.1

Signed-off-by: hololeap  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-haskell/hashtables/Manifest|  1 +
 dev-haskell/hashtables/hashtables-1.3.1.ebuild | 47 ++
 dev-haskell/hashtables/metadata.xml| 16 +
 3 files changed, 64 insertions(+)

diff --git a/dev-haskell/hashtables/Manifest b/dev-haskell/hashtables/Manifest
new file mode 100644
index ..0a4264f7732a
--- /dev/null
+++ b/dev-haskell/hashtables/Manifest
@@ -0,0 +1 @@
+DIST hashtables-1.3.1.tar.gz 58697 BLAKE2B 
d543987f667553b0739b414600190127840cb656d1509cb2541274bed00c298d176ff8ae059f79cc1dbf9201f1e76697103c9620a6208e9a9bf744cafea379d5
 SHA512 
b6430e092cfa9cde3dbea34cd9e2a10869c41e40e88f79e28aa6aabfdcd359dd74fb87020f8b9e004b817a6e9a8825335fcc91c2b88f7eb93b25758c71c77833

diff --git a/dev-haskell/hashtables/hashtables-1.3.1.ebuild 
b/dev-haskell/hashtables/hashtables-1.3.1.ebuild
new file mode 100644
index ..13d8df830c14
--- /dev/null
+++ b/dev-haskell/hashtables/hashtables-1.3.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# ebuild generated by hackport 0.8.4.0.
+#hackport: flags: sse42:cpu_flags_x86_sse4_2,+unsafe-tricks,-portable
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Mutable hash tables in the ST monad"
+HOMEPAGE="https://github.com/gregorycollins/hashtables;
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="bounds-checking cpu_flags_x86_sse4_2 debug detailed-profiling"
+
+RDEPEND="
+   =dev-haskell/hashable-1.4*:=[profile?]
+   dev-haskell/primitive:=[profile?]
+   >=dev-haskell/vector-0.7:=[profile?] =dev-lang/ghc-8.10.6:=
+"
+DEPEND="
+   ${RDEPEND}
+   >=dev-haskell/cabal-3.2.1.0
+   test? (
+   >=dev-haskell/hunit-1.2 =dev-haskell/mwc-random-0.8 =dev-haskell/quickcheck-2.3.0.2
+   >=dev-haskell/test-framework-0.3.1 
=dev-haskell/test-framework-hunit-0.2.6 
=dev-haskell/test-framework-quickcheck2-0.2.6 

+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   hask...@gentoo.org
+   Gentoo Haskell
+   
+   
+   if on, use bounds-checking array 
accesses
+   add detailed profiling 
information to profiled build-depends
+   
+   
+   hashtables
+   gregorycollins/hashtables
+   
+



[gentoo-commits] repo/gentoo:master commit in: dev-haskell/hashtables/, profiles/

2022-09-29 Thread Jakov Smolić
commit: 5bec0e0d7c83a18bba3f4121a780c09a93746994
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Sep 29 07:54:15 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Sep 29 07:54:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bec0e0d

dev-haskell/hashtables: Remove last-rited pkg

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-haskell/hashtables/Manifest  |  1 -
 dev-haskell/hashtables/hashtables-1.3.ebuild | 44 
 dev-haskell/hashtables/metadata.xml  | 12 
 profiles/package.mask|  1 -
 4 files changed, 58 deletions(-)

diff --git a/dev-haskell/hashtables/Manifest b/dev-haskell/hashtables/Manifest
deleted file mode 100644
index bb8c2dd1cab0..
--- a/dev-haskell/hashtables/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST hashtables-1.3.tar.gz 58599 BLAKE2B 
a0ce2ecc6b91c3b1c46759ef7e6a067b6872998d7fbecc22e8ee84bafc80bd5b7e286100c3c906a0b60ae86bceafb2cca7717081f347790d70c47e164aea9800
 SHA512 
7fb82e7c45c13d7bde8a216fb678d20bbd4c970f7860cbc2f08fb5524324f6b9584e1b5d397bdcb3fdbf53928758b608986167bb2bc2f1adae6feb3b0dd9

diff --git a/dev-haskell/hashtables/hashtables-1.3.ebuild 
b/dev-haskell/hashtables/hashtables-1.3.ebuild
deleted file mode 100644
index d3059c57ed9b..
--- a/dev-haskell/hashtables/hashtables-1.3.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# ebuild generated by hackport 0.7.1.1.
-#hackport: flags: sse42:cpu_flags_x86_sse4_2,+unsafe-tricks,-portable
-
-CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
-inherit haskell-cabal
-
-DESCRIPTION="Mutable hash tables in the ST monad"
-HOMEPAGE="https://github.com/gregorycollins/hashtables;
-SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz;
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE="bounds-checking cpu_flags_x86_sse4_2 debug detailed-profiling"
-
-RDEPEND=">=dev-haskell/hashable-1.4:=[profile?] 
=dev-haskell/vector-0.7:=[profile?] 
=dev-lang/ghc-8.4.3:=
-"
-DEPEND="${RDEPEND}
-   >=dev-haskell/cabal-2.2.0.1
-   test? ( >=dev-haskell/hunit-1.2 =dev-haskell/mwc-random-0.8 =dev-haskell/quickcheck-2.3.0.2
-   >=dev-haskell/test-framework-0.3.1 
=dev-haskell/test-framework-hunit-0.2.6 
=dev-haskell/test-framework-quickcheck2-0.2.6 

-https://www.gentoo.org/dtd/metadata.dtd;>
-
-   
-   hask...@gentoo.org
-   Gentoo Haskell
-   
-   
-   if on, use bounds-checking array 
accesses
-   add detailed profiling 
information to profiled build-depends
-   
-

diff --git a/profiles/package.mask b/profiles/package.mask
index f7fb46b38f2f..22498a02c362 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -291,7 +291,6 @@ dev-haskell/groups
 dev-haskell/haddock
 dev-haskell/haddock-api
 dev-haskell/hashable-time
-dev-haskell/hashtables
 
 # hololeap  (2022-08-21)
 # doctest-parallel does not currently work with Setup.hs (used internally by



[gentoo-commits] repo/gentoo:master commit in: dev-haskell/hashtables/

2020-09-08 Thread Sergei Trofimovich
commit: 3ee2adc53dc7ca495c6c7db6568e9e2f47192f15
Author: Jack Todaro  posteo  org>
AuthorDate: Mon Sep  7 20:40:50 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Sep  8 21:23:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ee2adc5

dev-haskell/hashtables: bump up to 1.2.4.1

Package-Manager: Portage-3.0.6, Repoman-3.0.1
Signed-off-by: Jack Todaro  posteo.org>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-haskell/hashtables/Manifest  |  1 +
 dev-haskell/hashtables/hashtables-1.2.4.1.ebuild | 44 
 2 files changed, 45 insertions(+)

diff --git a/dev-haskell/hashtables/Manifest b/dev-haskell/hashtables/Manifest
index 41e46798864..44c474e7ce2 100644
--- a/dev-haskell/hashtables/Manifest
+++ b/dev-haskell/hashtables/Manifest
@@ -1,3 +1,4 @@
 DIST hashtables-1.1.2.1.tar.gz 48553 BLAKE2B 
eff3d256a6e0bbf3ac31e6d26c43efce9bc06ba09d14b22a6a5bd1d0ea17b81912590739376a6912990501d33598e39e4f92818dceb8c89a8e57853dffbc4373
 SHA512 
87739d4021b705e40982e66925400eea38efd2f2a11dc46626f33d2a9c9287a5a323d93c82d6e8415aef0434350256fda80819a4bbb58ff2afee74ed755c266a
 DIST hashtables-1.2.1.0.tar.gz 53706 BLAKE2B 
5bc1d17fdf80f561fa7d6e9a9010025098579694356484bdaf41ebf6e5e2a03dd6983cb653eef553fb41be99aaa3ce11b2004efe62a585b0ec34f7c4fa12cefe
 SHA512 
2c6cd17434402ff963a1b3357e58dfab3d4b60f5a2848b5433dcbbc1705d24707eacfc36af5dfb461ab03ce678c0736f3277292677e8ab297b306bd14e797e64
 DIST hashtables-1.2.3.4.tar.gz 58458 BLAKE2B 
ea57de50f1bc02107b06ea57f215aa8b7bc97ae658a43e2e57481c097452ee5b9bf2b8d67e0656c7b94830cb7bd4ed7d2e8f3f5b1c3b2070fcc3f1ed1d5f7acc
 SHA512 
4723540f930edd1d5fd5cf58eadf7ed24fcd7761b90f303d559bc617737ec30cee2e9571ecced61fd369a933ae95b4386e48b122b876e73d0ad4bb65df16b76e
+DIST hashtables-1.2.4.1.tar.gz 58425 BLAKE2B 
1e7d0e0f80e2e8ef17370f7019f802989c12eb7a7e340cfac44fa4138baa105985846262b0d5eeb1f59ee21d27a5036dce9c45623fecf6ecdf319ed8d4e36bc8
 SHA512 
e88fb8f9c8a51be31e5d07ca1fef3d1a05a347942878f84a500d8c224b1118a2be97f9a947f17834a8331f296f302eafeef34d1f151360361675ecf5204b38f6

diff --git a/dev-haskell/hashtables/hashtables-1.2.4.1.ebuild 
b/dev-haskell/hashtables/hashtables-1.2.4.1.ebuild
new file mode 100644
index 000..b4558c55689
--- /dev/null
+++ b/dev-haskell/hashtables/hashtables-1.2.4.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.6.6
+#hackport: flags: sse42:cpu_flags_x86_sse4_2
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Mutable hash tables in the ST monad"
+HOMEPAGE="https://github.com/gregorycollins/hashtables;
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz;
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="bounds-checking cpu_flags_x86_sse4_2 debug detailed-profiling portable 
+unsafe-tricks"
+
+RDEPEND="dev-haskell/primitive:=[profile?]
+   >=dev-haskell/vector-0.7:=[profile?] 
=dev-lang/ghc-7.8.2:=
+   >=dev-haskell/hashable-1.2.1:=[profile?] 


[gentoo-commits] repo/gentoo:master commit in: dev-haskell/hashtables/

2020-09-08 Thread Sergei Trofimovich
commit: f38335ae5b05f27780b4496c01d5935f5857dbc7
Author: Jack Todaro  posteo  org>
AuthorDate: Mon Sep  7 20:42:04 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Sep  8 21:23:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f38335ae

dev-haskell/hashtables: drop old

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Jack Todaro  posteo.org>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-haskell/hashtables/Manifest  |  3 --
 dev-haskell/hashtables/hashtables-1.1.2.1.ebuild | 35 --
 dev-haskell/hashtables/hashtables-1.2.1.0.ebuild | 36 --
 dev-haskell/hashtables/hashtables-1.2.3.4.ebuild | 38 
 4 files changed, 112 deletions(-)

diff --git a/dev-haskell/hashtables/Manifest b/dev-haskell/hashtables/Manifest
index 44c474e7ce2..1fe7076067d 100644
--- a/dev-haskell/hashtables/Manifest
+++ b/dev-haskell/hashtables/Manifest
@@ -1,4 +1 @@
-DIST hashtables-1.1.2.1.tar.gz 48553 BLAKE2B 
eff3d256a6e0bbf3ac31e6d26c43efce9bc06ba09d14b22a6a5bd1d0ea17b81912590739376a6912990501d33598e39e4f92818dceb8c89a8e57853dffbc4373
 SHA512 
87739d4021b705e40982e66925400eea38efd2f2a11dc46626f33d2a9c9287a5a323d93c82d6e8415aef0434350256fda80819a4bbb58ff2afee74ed755c266a
-DIST hashtables-1.2.1.0.tar.gz 53706 BLAKE2B 
5bc1d17fdf80f561fa7d6e9a9010025098579694356484bdaf41ebf6e5e2a03dd6983cb653eef553fb41be99aaa3ce11b2004efe62a585b0ec34f7c4fa12cefe
 SHA512 
2c6cd17434402ff963a1b3357e58dfab3d4b60f5a2848b5433dcbbc1705d24707eacfc36af5dfb461ab03ce678c0736f3277292677e8ab297b306bd14e797e64
-DIST hashtables-1.2.3.4.tar.gz 58458 BLAKE2B 
ea57de50f1bc02107b06ea57f215aa8b7bc97ae658a43e2e57481c097452ee5b9bf2b8d67e0656c7b94830cb7bd4ed7d2e8f3f5b1c3b2070fcc3f1ed1d5f7acc
 SHA512 
4723540f930edd1d5fd5cf58eadf7ed24fcd7761b90f303d559bc617737ec30cee2e9571ecced61fd369a933ae95b4386e48b122b876e73d0ad4bb65df16b76e
 DIST hashtables-1.2.4.1.tar.gz 58425 BLAKE2B 
1e7d0e0f80e2e8ef17370f7019f802989c12eb7a7e340cfac44fa4138baa105985846262b0d5eeb1f59ee21d27a5036dce9c45623fecf6ecdf319ed8d4e36bc8
 SHA512 
e88fb8f9c8a51be31e5d07ca1fef3d1a05a347942878f84a500d8c224b1118a2be97f9a947f17834a8331f296f302eafeef34d1f151360361675ecf5204b38f6

diff --git a/dev-haskell/hashtables/hashtables-1.1.2.1.ebuild 
b/dev-haskell/hashtables/hashtables-1.1.2.1.ebuild
deleted file mode 100644
index c9196569efd..000
--- a/dev-haskell/hashtables/hashtables-1.1.2.1.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-# ebuild generated by hackport 0.3.4.
-
-CABAL_FEATURES="lib profile haddock hoogle hscolour"
-inherit haskell-cabal
-
-DESCRIPTION="Mutable hash tables in the ST monad"
-HOMEPAGE="https://github.com/gregorycollins/hashtables;
-SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz;
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~x86"
-IUSE="bounds-checking portable cpu_flags_x86_sse4_1 +unsafe-tricks"
-
-RDEPEND="dev-haskell/primitive:=[profile?]
-   >=dev-haskell/vector-0.7:=[profile?] 
=dev-lang/ghc-6.10.4:=
-   >=dev-haskell/hashable-1.1:=[profile?] 
https://github.com/gregorycollins/hashtables;
-SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz;
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~x86"
-IUSE="bounds-checking cpu_flags_x86_sse4_2 portable +unsafe-tricks"
-
-RDEPEND="dev-haskell/primitive:=[profile?]
-   >=dev-haskell/vector-0.7:=[profile?] 
=dev-lang/ghc-7.4.1:=
-   >=dev-haskell/hashable-1.1:=[profile?] 
https://github.com/gregorycollins/hashtables;
-SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz;
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~x86"
-IUSE="bounds-checking cpu_flags_x86_sse4_2 debug detailed-profiling portable 
+unsafe-tricks"
-
-RDEPEND=">=dev-haskell/hashable-1.1:=[profile?] 
=dev-haskell/vector-0.7:=[profile?] 
=dev-lang/ghc-7.8.2:=
-"
-DEPEND="${RDEPEND}
-   >=dev-haskell/cabal-2.2
-"
-
-src_configure() {
-   haskell-cabal_src_configure \
-   $(cabal_flag bounds-checking bounds-checking) \
-   $(cabal_flag debug debug) \
-   $(cabal_flag detailed-profiling detailed-profiling) \
-   $(cabal_flag portable portable) \
-   $(cabal_flag cpu_flags_x86_sse4_2 sse42) \
-   $(cabal_flag unsafe-tricks unsafe-tricks)
-}



[gentoo-commits] repo/gentoo:master commit in: dev-haskell/hashtables/

2020-08-03 Thread Sergei Trofimovich
commit: dc764c82d3754cfded075b0712a7e51a5d5900fe
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Aug  3 06:41:40 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Aug  3 06:41:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc764c82

dev-haskell/hashtables: bump up to 1.2.3.4

Closes: https://github.com/gentoo/gentoo/pull/16960
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-haskell/hashtables/Manifest  |  1 +
 dev-haskell/hashtables/hashtables-1.2.3.4.ebuild | 38 
 dev-haskell/hashtables/metadata.xml  |  1 +
 3 files changed, 40 insertions(+)

diff --git a/dev-haskell/hashtables/Manifest b/dev-haskell/hashtables/Manifest
index fbf7e1bff89..41e46798864 100644
--- a/dev-haskell/hashtables/Manifest
+++ b/dev-haskell/hashtables/Manifest
@@ -1,2 +1,3 @@
 DIST hashtables-1.1.2.1.tar.gz 48553 BLAKE2B 
eff3d256a6e0bbf3ac31e6d26c43efce9bc06ba09d14b22a6a5bd1d0ea17b81912590739376a6912990501d33598e39e4f92818dceb8c89a8e57853dffbc4373
 SHA512 
87739d4021b705e40982e66925400eea38efd2f2a11dc46626f33d2a9c9287a5a323d93c82d6e8415aef0434350256fda80819a4bbb58ff2afee74ed755c266a
 DIST hashtables-1.2.1.0.tar.gz 53706 BLAKE2B 
5bc1d17fdf80f561fa7d6e9a9010025098579694356484bdaf41ebf6e5e2a03dd6983cb653eef553fb41be99aaa3ce11b2004efe62a585b0ec34f7c4fa12cefe
 SHA512 
2c6cd17434402ff963a1b3357e58dfab3d4b60f5a2848b5433dcbbc1705d24707eacfc36af5dfb461ab03ce678c0736f3277292677e8ab297b306bd14e797e64
+DIST hashtables-1.2.3.4.tar.gz 58458 BLAKE2B 
ea57de50f1bc02107b06ea57f215aa8b7bc97ae658a43e2e57481c097452ee5b9bf2b8d67e0656c7b94830cb7bd4ed7d2e8f3f5b1c3b2070fcc3f1ed1d5f7acc
 SHA512 
4723540f930edd1d5fd5cf58eadf7ed24fcd7761b90f303d559bc617737ec30cee2e9571ecced61fd369a933ae95b4386e48b122b876e73d0ad4bb65df16b76e

diff --git a/dev-haskell/hashtables/hashtables-1.2.3.4.ebuild 
b/dev-haskell/hashtables/hashtables-1.2.3.4.ebuild
new file mode 100644
index 000..b1ef85e089f
--- /dev/null
+++ b/dev-haskell/hashtables/hashtables-1.2.3.4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.6.1.
+#hackport: flags: sse42:cpu_flags_x86_sse4_2
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Mutable hash tables in the ST monad"
+HOMEPAGE="https://github.com/gregorycollins/hashtables;
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz;
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="bounds-checking cpu_flags_x86_sse4_2 debug detailed-profiling portable 
+unsafe-tricks"
+
+RDEPEND=">=dev-haskell/hashable-1.1:=[profile?] 
=dev-haskell/vector-0.7:=[profile?] 
=dev-lang/ghc-7.8.2:=
+"
+DEPEND="${RDEPEND}
+   >=dev-haskell/cabal-2.2
+"
+
+src_configure() {
+   haskell-cabal_src_configure \
+   $(cabal_flag bounds-checking bounds-checking) \
+   $(cabal_flag debug debug) \
+   $(cabal_flag detailed-profiling detailed-profiling) \
+   $(cabal_flag portable portable) \
+   $(cabal_flag cpu_flags_x86_sse4_2 sse42) \
+   $(cabal_flag unsafe-tricks unsafe-tricks)
+}

diff --git a/dev-haskell/hashtables/metadata.xml 
b/dev-haskell/hashtables/metadata.xml
index 7443663f12a..9a65adf5473 100644
--- a/dev-haskell/hashtables/metadata.xml
+++ b/dev-haskell/hashtables/metadata.xml
@@ -99,6 +99,7 @@


if on, use bounds-checking array 
accesses
+   add detailed profiling 
information to profiled build-depends
if on, use only pure Haskell code and no 
GHC extensions.
turn on unsafe GHC tricks




[gentoo-commits] repo/gentoo:master commit in: dev-haskell/hashtables/

2018-01-27 Thread Michał Górny
commit: d8cd75a2a930703e095576de6bab450232ce9723
Author: Francesco Turco  fastmail  fm>
AuthorDate: Thu Sep  7 15:04:10 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan 27 09:54:15 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8cd75a2

dev-haskell/hashtables: use HTTPS for links to en.wikipedia.org, bug #637190

 dev-haskell/hashtables/metadata.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-haskell/hashtables/metadata.xml 
b/dev-haskell/hashtables/metadata.xml
index 9e68dbf75d7..7443663f12a 100644
--- a/dev-haskell/hashtables/metadata.xml
+++ b/dev-haskell/hashtables/metadata.xml
@@ -24,7 +24,7 @@

2. "Data.HashTable.ST.Cuckoo" contains an implementation of 
\"cuckoo
hashing\" as introduced by Pagh and Rodler in 2001 (see
-   http://en.wikipedia.org/wiki/Cuckoo_hashing;). Cuckoo 
hashing has
+   https://en.wikipedia.org/wiki/Cuckoo_hashing;). Cuckoo 
hashing has
worst-case /O(1)/ lookups and can reach a high \"load factor\", 
in which
the table can perform acceptably well even when more than 90% 
full.
Randomized testing shows this implementation of cuckoo hashing 
to be
@@ -35,7 +35,7 @@
when the table is resized.

3. "Data.HashTable.ST.Linear" contains a linear hash table (see
-   http://en.wikipedia.org/wiki/Linear_hashing;), which 
trades some insert
+   https://en.wikipedia.org/wiki/Linear_hashing;), which 
trades some insert
and lookup performance for higher space efficiency and much 
shorter
delays when expanding the table. In most cases, benchmarks show 
this
table to be currently slightly faster than @Data.HashTable@ 
from the
@@ -70,7 +70,7 @@
incompatible with HPC code coverage reports.

* @sse41@, default /OFF/. If this flag is enabled, we use some 
SSE 4.1
-   instructions (see http://en.wikipedia.org/wiki/SSE4;, 
first available on
+   instructions (see https://en.wikipedia.org/wiki/SSE4;, 
first available on
Intel Core 2 processors) to speed up cache-line searches for 
cuckoo
hashing.




[gentoo-commits] repo/gentoo:master commit in: dev-haskell/hashtables/

2017-10-19 Thread Jonas Stein
commit: 380683c29613c599a45c81648d8e03a9ab02906c
Author: Jonas Stein  gentoo  org>
AuthorDate: Thu Oct 19 21:20:14 2017 +
Commit: Jonas Stein  gentoo  org>
CommitDate: Thu Oct 19 21:20:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=380683c2

dev-haskell/hashtables: Remove proxy-maint

Remove proxy maintainer project from metadata, because there was no
proxied maintainer left.
Reported-By: Michael Mair-Keimberger
Package-Manager: Portage-2.3.11, Repoman-2.3.3

 dev-haskell/hashtables/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/dev-haskell/hashtables/metadata.xml 
b/dev-haskell/hashtables/metadata.xml
index 537275d8628..9e68dbf75d7 100644
--- a/dev-haskell/hashtables/metadata.xml
+++ b/dev-haskell/hashtables/metadata.xml
@@ -4,10 +4,6 @@

hask...@gentoo.org

-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   

This package provides a couple of different implementations of 
mutable hash
tables in the ST monad, as well as a typeclass abstracting 
their common



[gentoo-commits] repo/gentoo:master commit in: dev-haskell/hashtables/

2016-06-04 Thread Sergei Trofimovich
commit: efd783c3877ba62bb52b68e7098efd7b82142201
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Jun  4 13:54:46 2016 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jun  4 13:55:02 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efd783c3

dev-haskell/hashtables: drop broken USE=debug flag, bug #584908

Reported-by: Toralf Förster
Bug: https://bugs.gentoo.org/584908

Package-Manager: portage-2.3.0_rc1

 dev-haskell/hashtables/hashtables-1.1.2.1.ebuild | 5 ++---
 dev-haskell/hashtables/hashtables-1.2.1.0.ebuild | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/dev-haskell/hashtables/hashtables-1.1.2.1.ebuild 
b/dev-haskell/hashtables/hashtables-1.1.2.1.ebuild
index cd9d4af..5d14445 100644
--- a/dev-haskell/hashtables/hashtables-1.1.2.1.ebuild
+++ b/dev-haskell/hashtables/hashtables-1.1.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -16,7 +16,7 @@ 
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
 LICENSE="BSD"
 SLOT="0/${PV}"
 KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 sparc x86"
-IUSE="bounds-checking debug portable cpu_flags_x86_sse4_1 +unsafe-tricks"
+IUSE="bounds-checking portable cpu_flags_x86_sse4_1 +unsafe-tricks"
 
 RDEPEND="dev-haskell/primitive:=[profile?]
>=dev-haskell/vector-0.7:=[profile?] 


[gentoo-commits] repo/gentoo:master commit in: dev-haskell/hashtables/

2016-04-22 Thread Sergei Trofimovich
commit: 2ee29136436c5d3dc078f263d4d96f9396f3b7ec
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Apr 22 08:02:31 2016 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Apr 22 08:08:56 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ee29136

dev-haskell/hashtables: simplify ranged depend

Package-Manager: portage-2.2.28

 dev-haskell/hashtables/hashtables-1.1.2.1.ebuild | 3 +--
 dev-haskell/hashtables/hashtables-1.2.1.0.ebuild | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/dev-haskell/hashtables/hashtables-1.1.2.1.ebuild 
b/dev-haskell/hashtables/hashtables-1.1.2.1.ebuild
index fbf3b20..cd9d4af 100644
--- a/dev-haskell/hashtables/hashtables-1.1.2.1.ebuild
+++ b/dev-haskell/hashtables/hashtables-1.1.2.1.ebuild
@@ -21,8 +21,7 @@ IUSE="bounds-checking debug portable cpu_flags_x86_sse4_1 
+unsafe-tricks"
 RDEPEND="dev-haskell/primitive:=[profile?]
>=dev-haskell/vector-0.7:=[profile?] 
=dev-lang/ghc-6.10.4:=
-   || ( ( >=dev-haskell/hashable-1.1:=[profile?] 
=dev-haskell/hashable-1.2.1:=[profile?] 
=dev-haskell/hashable-1.1:=[profile?] 

[gentoo-commits] repo/gentoo:master commit in: dev-haskell/hashtables/

2016-04-01 Thread Sergei Trofimovich
commit: 789a48298fb885834dfc7528b107a426a5646b58
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Apr  1 21:37:24 2016 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Apr  1 21:37:24 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=789a4829

dev-haskell/hashtables: drop old

Package-Manager: portage-2.2.28

 dev-haskell/hashtables/Manifest  |  2 --
 dev-haskell/hashtables/hashtables-1.2.0.1.ebuild | 38 ---
 dev-haskell/hashtables/hashtables-1.2.0.2.ebuild | 39 
 3 files changed, 79 deletions(-)

diff --git a/dev-haskell/hashtables/Manifest b/dev-haskell/hashtables/Manifest
index 87f2c19..7b74082 100644
--- a/dev-haskell/hashtables/Manifest
+++ b/dev-haskell/hashtables/Manifest
@@ -1,4 +1,2 @@
 DIST hashtables-1.1.2.1.tar.gz 48553 SHA256 
c50d910fea2e81eca53d9a2dfbc925246be5b7cc2d0854c6d9e95eaab05ac684 SHA512 
87739d4021b705e40982e66925400eea38efd2f2a11dc46626f33d2a9c9287a5a323d93c82d6e8415aef0434350256fda80819a4bbb58ff2afee74ed755c266a
 WHIRLPOOL 
26fd049380d0dbdd959eb2d778b8409bc901f307db8e65c26193b1abc70d6d715ffb47fa6ef1343d60897fc580f8f101d719a547f139dadb3a3bb51da5ab9bd1
-DIST hashtables-1.2.0.1.tar.gz 53093 SHA256 
329d700e716b18a2cf1a75669104da3a773091a7e441c5470c202d4c439bf0fc SHA512 
5677ca82aafec488ae1801363a3c58f173f5e11a92ac0c8991c08f0da5128ef62a66ade391771a99f8a6a339057ca774591e146667237a2a3bedc283a3a1684c
 WHIRLPOOL 
fa26257fe461177f508bd0bfb86be8d9355bae0f20b228c8a779939158acad95031a6a1032a8b28d8977c7e56efd1e1d02e4354b2d0bfde39c4433e26add5eff
-DIST hashtables-1.2.0.2.tar.gz 54283 SHA256 
012be9fa5e91118b9301ca58138fbf45222119a284d5561ca6f7e3f9b42e1837 SHA512 
8b6416056c56acfa81224506779bf47626373cdd70f39ff8fd40a11a474e2c45dccd3a7a534c45265d275c1cc13cc6a0d657c8f9f1c1f5fda8fbad98d9043739
 WHIRLPOOL 
2c3375ac986d348e6a1ce3dcc199ea491ee991e51e42f0f9e02e726539cbf69de4d5e5e6b926c957d088f4174b368cbe6c0a8a958d63a6fedfb1a6dd6117f77c
 DIST hashtables-1.2.1.0.tar.gz 53706 SHA256 
ef5122c8f3b72d1e817a4f2adb410ad88b30818934a276b7184790697f4fdcac SHA512 
2c6cd17434402ff963a1b3357e58dfab3d4b60f5a2848b5433dcbbc1705d24707eacfc36af5dfb461ab03ce678c0736f3277292677e8ab297b306bd14e797e64
 WHIRLPOOL 
fba19771e0d875430571aaa8e72666e2d434217ecb97a4611525f0e01bf4f6ba96e80c15e5c514b4ac8ca34271ac6c8bf63086e7294aabb60279cf77ca9c

diff --git a/dev-haskell/hashtables/hashtables-1.2.0.1.ebuild 
b/dev-haskell/hashtables/hashtables-1.2.0.1.ebuild
deleted file mode 100644
index c70f72f..000
--- a/dev-haskell/hashtables/hashtables-1.2.0.1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-# ebuild generated by hackport 0.4.4.
-
-CABAL_FEATURES="lib profile haddock hoogle hscolour"
-inherit haskell-cabal
-
-DESCRIPTION="Mutable hash tables in the ST monad"
-HOMEPAGE="https://github.com/gregorycollins/hashtables;
-SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="bounds-checking debug portable cpu_flags_x86_sse4_2 +unsafe-tricks"
-
-RDEPEND="dev-haskell/primitive:=[profile?]
-   >=dev-haskell/vector-0.7:=[profile?] 
=dev-lang/ghc-7.4.1:=
-   || ( ( >=dev-haskell/hashable-1.1:=[profile?] 
=dev-haskell/hashable-1.2.1:=[profile?] 
https://github.com/gregorycollins/hashtables;
-SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="bounds-checking cpu_flags_x86_sse4_2 debug portable +unsafe-tricks"
-
-RDEPEND="dev-haskell/primitive:=[profile?]
-   >=dev-haskell/vector-0.7:=[profile?] 
=dev-lang/ghc-7.4.1:=
-   || ( ( >=dev-haskell/hashable-1.1:=[profile?] 
=dev-haskell/hashable-1.2.1:=[profile?]