mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-haskell/hashable: add 1.4.2.0-r2
Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1 +1,3 @@
|
||||
DIST hashable-1.4.0.2.tar.gz 25528 BLAKE2B a9d219ce08db64b2bccf691f26ea5e248785ac3263ce1045eb612d2deaf51baa5f0b14270a9810aa1d32193fe9f52b26c2ca4fccb94b98e2ccdcb0b6ba6e8a56 SHA512 a8cc2b7cafa8f18d9a74490d2dff7edf12901b7c40ca0c1881af579695135c1ca7629347d34d0c7dc662078d7669d5d6234bd889c1f77f344297942243fe7dda
|
||||
DIST hashable-1.4.2.0-rev1.cabal 4520 BLAKE2B fa09b82c6df33e80381957593f9e4c9206467f9b81ed4dcca73f7924ffee68ccc78600875ca46709582cb231aebff54fa1328fbdee1c0b8613c0d12726f3fc1f SHA512 a244e2e323faa8e36865b52aafbf3f8a792d1051379b11fc5be5f4257c64d5a6c52e4bdbf3a24790f23de707f13ef645ac13222cbc05b5f1e77e4c05564d9298
|
||||
DIST hashable-1.4.2.0.tar.gz 25094 BLAKE2B c398381bd1555b4c3d91656391ac492b036daa2f67cc501af8734d46a891e55028f0e7af4cede1d4ebd57863a2ceb10493ec822a01d29bb0edf07c8dc574e199 SHA512 6e44177b6c00d4b385696348a8f66e6158beeb224aa85726141bc4d58c5e3094dab35dd68ae4ef61845ccb3ffd8836547d988d61e9b39176782b567189381140
|
||||
|
||||
45
dev-haskell/hashable/hashable-1.4.2.0-r2.ebuild
Normal file
45
dev-haskell/hashable/hashable-1.4.2.0-r2.ebuild
Normal file
@@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# ebuild generated by hackport 0.8.0.0.9999
|
||||
#hackport: flags: sse41:cpu_flags_x86_sse4_1,sse2:cpu_flags_x86_sse2,+integer-gmp,+random-initial-seed
|
||||
|
||||
CABAL_HACKAGE_REVISION=1
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="A class for types that can be converted to a hash value"
|
||||
HOMEPAGE="https://github.com/haskell-unordered-containers/hashable"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
IUSE="random-initial-seed"
|
||||
|
||||
RESTRICT=test # fails 1 test consistently on ghc-9.0.2
|
||||
|
||||
RDEPEND="
|
||||
>=dev-haskell/base-orphans-0.8.6:=[profile?] <dev-haskell/base-orphans-0.10:=[profile?]
|
||||
>=dev-haskell/data-array-byte-0.1.0.1:=[profile?] <dev-haskell/data-array-byte-0.2:=[profile?]
|
||||
>=dev-lang/ghc-8.4.3:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-2.2.0.1
|
||||
test? (
|
||||
dev-haskell/hunit
|
||||
>=dev-haskell/quickcheck-2.4.0.1
|
||||
>=dev-haskell/random-1.0 <dev-haskell/random-1.3
|
||||
>=dev-haskell/test-framework-0.3.3
|
||||
dev-haskell/test-framework-hunit
|
||||
>=dev-haskell/test-framework-quickcheck2-0.2.9
|
||||
)
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
haskell-cabal_src_configure \
|
||||
--flag=integer-gmp \
|
||||
$(cabal_flag random-initial-seed random-initial-seed)
|
||||
}
|
||||
@@ -12,14 +12,8 @@
|
||||
can affect legitimate use cases).
|
||||
</flag>
|
||||
</use>
|
||||
<longdescription>
|
||||
This package defines a class, 'Hashable', for types that
|
||||
can be converted to a hash value. This class
|
||||
exists for the benefit of hashing-based data
|
||||
structures. The package provides instances for
|
||||
basic types and a way to combine hash values.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">tibbe/hashable</remote-id>
|
||||
<remote-id type="hackage">hashable</remote-id>
|
||||
<remote-id type="github">haskell-unordered-containers/hashable</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
Reference in New Issue
Block a user