mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-haskell/text: add 2.1.1
Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Mark Wright <gienah@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST text-1.2.5.0.tar.gz 155890 BLAKE2B aaf7206dad552ff98a465914ad8183ec1ccd57e56504496a5b8d11645b0f0fb395dd801c9b6fe32b51ed3902658eb5e5fb92187de668d32801597b4eb904b820 SHA512 dbda65180fc012324fe45467b63e0f53e7e0fa2da3b11875e458ba6bd31d0ee7634121967d2aa6853ed5c907c0661dcc59b8c68fb55edab2923490d8b50722d6
|
||||
DIST text-2.1.1.tar.gz 300910 BLAKE2B 7d9d2353be61d0ab7ffe2074096dcbcff4f2f9a9414fe0fa3343e17816ad3d3abffe2765813171f2260dc32c130ee41c06fdd3fa6232ac8fb2c4c307058dfa29 SHA512 8bda7826b95df2e4e45d035340ea2dac8c6b4aa2b738989e77070a973f681140885917085ec7836d358453a94b9144362982706f0dae053f2670e099de2c251f
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
<email>haskell@gentoo.org</email>
|
||||
<name>Gentoo Haskell</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="simdutf">use simdutf library</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="hackage">text</remote-id>
|
||||
<remote-id type="github">haskell/text</remote-id>
|
||||
|
||||
53
dev-haskell/text/text-2.1.1.ebuild
Normal file
53
dev-haskell/text/text-2.1.1.ebuild
Normal file
@@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# ebuild generated by hackport 0.8.4.0.9999
|
||||
#hackport: flags: -bytestring-builder,-developer,-integer-simple
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour" # circular deps in test-suite
|
||||
# break circular dependencies:
|
||||
# https://github.com/gentoo-haskell/gentoo-haskell/issues/810
|
||||
CABAL_FEATURES+=" nocabaldep"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="An efficient packed Unicode text type"
|
||||
HOMEPAGE="https://github.com/haskell/text"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="+simdutf"
|
||||
|
||||
# break cyclic dependencies:
|
||||
RESTRICT=test
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/ghc-9.4.1:=
|
||||
simdutf? (
|
||||
|| (
|
||||
llvm-core/clang:*
|
||||
sys-devel/gcc:*[cxx]
|
||||
)
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
"
|
||||
# test? (
|
||||
# >=dev-haskell/quickcheck-2.12.6 <dev-haskell/quickcheck-2.15
|
||||
# dev-haskell/tasty
|
||||
# dev-haskell/tasty-hunit
|
||||
# dev-haskell/tasty-inspection-testing
|
||||
# dev-haskell/tasty-quickcheck
|
||||
# )
|
||||
|
||||
src_configure() {
|
||||
haskell-cabal_src_configure \
|
||||
--flag=-bytestring-builder \
|
||||
--flag=-developer \
|
||||
--flag=-integer-simple \
|
||||
$(cabal_flag simdutf simdutf)
|
||||
}
|
||||
|
||||
CABAL_CORE_LIB_GHC_PV="9.8.2 9.8.3 9.8.4 9.10.1"
|
||||
Reference in New Issue
Block a user