summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhololeap <hololeap@protonmail.com>2023-10-02 23:10:09 -0600
committerSam James <sam@gentoo.org>2023-10-23 04:10:13 +0100
commita50b8dc3f2502ac9e04345834f7e92f60fa3cfb4 (patch)
tree1cbaa389c1b7b9f6c711d7e16d0efdb23c19b7e6 /dev-haskell/text-short
parentdev-haskell/text-icu: add 0.8.0.2 (diff)
downloadgentoo-a50b8dc3f2502ac9e04345834f7e92f60fa3cfb4.tar.gz
gentoo-a50b8dc3f2502ac9e04345834f7e92f60fa3cfb4.tar.bz2
gentoo-a50b8dc3f2502ac9e04345834f7e92f60fa3cfb4.zip
dev-haskell/text-short: Hackage revision bump
Rename USE=asserts to USE=debug Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-haskell/text-short')
-rw-r--r--dev-haskell/text-short/Manifest1
-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, 25 insertions, 15 deletions
diff --git a/dev-haskell/text-short/Manifest b/dev-haskell/text-short/Manifest
index 39edddd750b0..ccc44f1f626d 100644
--- a/dev-haskell/text-short/Manifest
+++ b/dev-haskell/text-short/Manifest
@@ -1 +1,2 @@
+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
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)
}