summaryrefslogtreecommitdiff
path: root/dev-haskell/text-short
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-23 08:35:49 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-23 08:35:49 +0100
commit386855c4d1ef509c1fd32abd721589c81669613b (patch)
tree35dc984118f0a7dc2df88313d83bb5779fd12514 /dev-haskell/text-short
parent0118ac4510d7b85ca62da20e4abd1286dd8bd752 (diff)
gentoo auto-resync : 23:10:2023 - 08:35:49
Diffstat (limited to 'dev-haskell/text-short')
-rw-r--r--dev-haskell/text-short/Manifest5
-rw-r--r--dev-haskell/text-short/metadata.xml11
-rw-r--r--dev-haskell/text-short/text-short-0.1.5-r1.ebuild (renamed from dev-haskell/text-short/text-short-0.1.5.ebuild)28
3 files changed, 27 insertions, 17 deletions
diff --git a/dev-haskell/text-short/Manifest b/dev-haskell/text-short/Manifest
index c95f6ff894ed..67f98b57963a 100644
--- a/dev-haskell/text-short/Manifest
+++ b/dev-haskell/text-short/Manifest
@@ -1,3 +1,4 @@
+DIST text-short-0.1.5-rev2.cabal 3202 BLAKE2B 92985f445d522e0e26e85d86d4bf4ab1d517ea066f062097cc58b276a5d845fbb53e86ae7c97c33de16b0a9f061f9ba4485a151f41f7351771dff044cd761190 SHA512 337e7e557691aaed379658069a1dc50116a247c86133e219a1f4ec0f468f1f6cdde9461365424dfc1900f6676bc15c75c46a241148414512d7da81e766b11662
DIST text-short-0.1.5.tar.gz 25113 BLAKE2B a3ed468d60d4a351ad86600f5d6e7241ae88b987746fabc8ff79f6e0f0c687a9d5d5e0f4fcabb2fbf7c48ce2e3a37b798e478d6c8239760974e7a55835cab1aa SHA512 32f09a1abc37ddb3f85921d80629355f68b2e68531f14318907e792a8eeb7d4a258bfcf7d45710dcb67f85fadfbad2bb9ffdac27a912aefc4296dc1818585125
-EBUILD text-short-0.1.5.ebuild 965 BLAKE2B 30220a161609c2311d626d1ab2cb87fa0c3f8e1a9a58f7f31f0a15325a659bd6b7efafd6b8662344b5825e91d2b0b5a6a30fe2b6f3812cc102e42aef40ba213b SHA512 f59a5ab19b7054e68d5259a28e58c8b8f3517c9aae3af7b2298175e8b150a26b5308ab397221f4b4f17f189cc5b82ba3f341a8716d734838d02b8aa5d5dcd25a
-MISC metadata.xml 872 BLAKE2B 91ab79a1fe67e92a0d86869ef6be2bf2dbcbfb0cbda3425c9dc2b3ed0e494fe514b06bb0604eb1f5f8ecb8c1d6425d8dd0b213ac31f2d77c55e247cfac04ab39 SHA512 3c4d2162ee00fea6c378da26e4003bf3aafdbcb4df4024ee53b629f4eea49ce4eff5c2f82d5c3b1cec7a5ee9b352e6dbd4acbccb93705a9fdc02742dcf617e03
+EBUILD text-short-0.1.5-r1.ebuild 1106 BLAKE2B 3e70ed7f9fadca0e6a560aee6e0068993bfa97159909ccf04c4f93e1b4a04173f926d524c42d440a441727fcea0f0d866f8759e68b516545e1ee309525ea997f SHA512 6933b1b2aeb7792f515cada4e9365ed050f0e167c7f6369d85b883be1a8396a40bcc52965e388ffb603415efee7e590780f61dedb5f1e9ac2aa7d6340d762f0f
+MISC metadata.xml 458 BLAKE2B ab227c8904af5dac5091b26f666feae6b91c5226ed8a4dd19ab72a8a72289b43c5f10252ab7408d816b4f2b9d0f08da48c8f580f0c8c9ae23816f2a4cefbb352 SHA512 66e643a5b764a6d496d5ae7cc99ee921acd86b93ab654f4a1897beb853e66e4f67af15eaca148872d822a2d9f582170b8636d0b556eed90512303f7a3d02c739
diff --git a/dev-haskell/text-short/metadata.xml b/dev-haskell/text-short/metadata.xml
index d3f5190bed94..0573ab12c9a2 100644
--- a/dev-haskell/text-short/metadata.xml
+++ b/dev-haskell/text-short/metadata.xml
@@ -6,11 +6,10 @@
<name>Gentoo Haskell</name>
</maintainer>
<use>
- <flag name="asserts">Enable runtime-checks via 'assert'</flag>
+ <flag name="debug">Enable runtime-checks via 'assert'</flag>
</use>
- <longdescription>
- This package provides the 'ShortText' type which is suitable for keeping many short strings in memory. This is similiar to how 'ShortByteString' relates to 'ByteString'.
-
- The main difference between 'Text' and 'ShortText' is that 'ShortText' uses UTF-8 instead of UTF-16 internally and also doesn't support zero-copy slicing (thereby saving 2 words). Consequently, the memory footprint of a (boxed) 'ShortText' value is 4 words (2 words when unboxed) plus the length of the UTF-8 encoded payload.
- </longdescription>
+ <upstream>
+ <remote-id type="hackage">text-short</remote-id>
+ <remote-id type="github">hvr/text-short</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/dev-haskell/text-short/text-short-0.1.5.ebuild b/dev-haskell/text-short/text-short-0.1.5-r1.ebuild
index ede4252283a0..a91116ad98e5 100644
--- a/dev-haskell/text-short/text-short-0.1.5.ebuild
+++ b/dev-haskell/text-short/text-short-0.1.5-r1.ebuild
@@ -3,31 +3,41 @@
EAPI=8
-# ebuild generated by hackport 0.7.9999
+# ebuild generated by hackport 0.8.2.1.9999
+#hackport: flags: asserts:debug
+
+CABAL_HACKAGE_REVISION=2
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="Memory-efficient representation of Unicode text strings"
HOMEPAGE="https://hackage.haskell.org/package/text-short"
-SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86"
-IUSE="asserts"
+IUSE="debug"
-RDEPEND=">=dev-haskell/hashable-1.2.6:=[profile?] <dev-haskell/hashable-1.5:=[profile?]
- >=dev-lang/ghc-8.4.3:=
+RDEPEND="
+ >=dev-haskell/hashable-1.2.6:=[profile?] <dev-haskell/hashable-1.5:=[profile?]
+ >=dev-lang/ghc-8.8.1:=
+ || (
+ ( >=dev-haskell/text-1.0 <dev-haskell/text-1.3 )
+ ( >=dev-haskell/text-2.0 <dev-haskell/text-2.1 )
+ )
+ dev-haskell/text:=[profile?]
"
DEPEND="${RDEPEND}
- >=dev-haskell/cabal-2.2.0.1
- test? ( >=dev-haskell/tasty-1.4 <dev-haskell/tasty-1.5
+ >=dev-haskell/cabal-3.0.0.0
+ test? (
+ >=dev-haskell/tasty-1.4 <dev-haskell/tasty-1.5
>=dev-haskell/tasty-hunit-0.10.0 <dev-haskell/tasty-hunit-0.11
- >=dev-haskell/tasty-quickcheck-0.10 <dev-haskell/tasty-quickcheck-0.11 )
+ >=dev-haskell/tasty-quickcheck-0.10 <dev-haskell/tasty-quickcheck-0.11
+ )
"
src_configure() {
haskell-cabal_src_configure \
- $(cabal_flag asserts asserts)
+ $(cabal_flag debug asserts)
}