summaryrefslogtreecommitdiff
path: root/dev-haskell/text
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/text
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/text')
-rw-r--r--dev-haskell/text/Manifest11
-rw-r--r--dev-haskell/text/files/text-1.1.1.3-deepseq-1.4.patch33
-rw-r--r--dev-haskell/text/files/text-1.2.2.0-integer-simple.patch78
-rw-r--r--dev-haskell/text/metadata.xml43
-rw-r--r--dev-haskell/text/text-0.11.3.1.ebuild34
-rw-r--r--dev-haskell/text/text-1.1.1.3.ebuild41
-rw-r--r--dev-haskell/text/text-1.2.2.0.ebuild44
-rw-r--r--dev-haskell/text/text-1.2.2.1.ebuild40
8 files changed, 324 insertions, 0 deletions
diff --git a/dev-haskell/text/Manifest b/dev-haskell/text/Manifest
new file mode 100644
index 000000000000..908ba4764fae
--- /dev/null
+++ b/dev-haskell/text/Manifest
@@ -0,0 +1,11 @@
+AUX text-1.1.1.3-deepseq-1.4.patch 1113 BLAKE2B a98e12d81af76e7e36292156023f2b8e7ebdf712db2a4307e9719b03cb858c85ea2c9ae9b7f77288e817701d0b7bbe539dbc026133c8b9c0948a7b9655230f65 SHA512 c2f194ff78318895e8f676d1c0600ed1473ad71ddb7a8bb73ec5c86fcad9cbe15888ad1b7d6fc0087fcf4797b97ce4027ae0e9cdd292a04b02d96419c87c78f4
+AUX text-1.2.2.0-integer-simple.patch 2310 BLAKE2B cfcf4642d9c2aa8d0303c91db10216406412f4e5a9bc994d7fbd65e73246b410f26b61892903a789155de56a2ea2b9cff91cea70553e6d3ecc4bafeb53264df3 SHA512 1eb170e1ebd3368853078e9e6830cebab4dd7734a6f473e11c12cb2aca8a1d9f1b1cc078098abe9b4f57ad35d309e74dc74014b70bdbb30e87877f67e327392f
+DIST text-0.11.3.1.tar.gz 126477 BLAKE2B 27c135a5815eeeabd5791e4f0a16cce12def262d427096d7656a8932d59c4fdab91a7b196951b917ff8bd731034d8015e75d8016be1f3f9300fd3d29511a7634 SHA512 78e9b795ebcb4e43be42b34c3f5829e0f5030d93cb6dad59ca2eb4c7df3a5e338f65dc9f90da7b752cf2b1c15e8d973a25293a6418a4abed6e0ddac9222fb3e6
+DIST text-1.1.1.3.tar.gz 138063 BLAKE2B 150151cd991c2e905d75087dde7b889850a5b51bb1d95838c1969dd851f64af5d8594c333d49e4e1fe269479d8e59bf17bca33ad64e7ff36fcf45f529354bd99 SHA512 bfa5301827c72cbb3346fdb485e10094326a7cac71e01bba700ca0344bd4069c5b16c590dd7c38ee85969be06a2d3fcd760b34ff6f98eef176e7e8c325739490
+DIST text-1.2.2.0.tar.gz 148894 BLAKE2B 9a3e2d72f38f10b9e1e021ad7cf5cf182657a32f98fe5889befe1bf9fbd8da5a2a1e405177805774fca911b57279e3db73cd7e0ee22315210cb3c0f728633ad7 SHA512 832b0430581a06cfdfa2a5c83fa2720e3f4825ee0aa9c6b12ff6ccd424a9e3a061c9ae7eeda48fe7a9f077c50e379abe2eee3fb05bdbdec4d38115b5e3695f20
+DIST text-1.2.2.1.tar.gz 149888 BLAKE2B 6ef907f42f89f0d1a0b109ef3f277cb3a653fae9564e35a772945f88eca64b3250d7db1d5124d73358046f6c729c0b7f345b4e747383f305af8a66f9f55acae1 SHA512 f0615f7614127d86dbfb3fba5dd1753af3d0774c46e11ee4a99d4510f73b59cf1bd8c73ca0387dba4fbcea3936aaaf0e92561cf6aab1a98d08fcad481d3795e4
+EBUILD text-0.11.3.1.ebuild 956 BLAKE2B 32d42f0f840b47e5758f7fa12c052b98ad10c02a4f8bfbab31a05dc16ff694c4703be09ce9ac235a39e6fe031fd1509c0ceeee201d22e7234ea9922056ccfb25 SHA512 c1dc9cf65887bcd8be55202597773abd29e13a2bddc112bec7513289e271ef32ec21f17e3bac6897e658711fd5300fb73721dd1f64beff01106fb82abd3612f9
+EBUILD text-1.1.1.3.ebuild 1105 BLAKE2B 5c61f7e256de98cddaec637204d0bdb8cb9f9e651ef114697ec6c0ac118c6dd6f97230798f2b50ef3b167923f298b6424a5037a362cdd5fc6fe86af892a67caa SHA512 278eeb7f36e3b226c30720291ddc3e1270d46c55619a314e1a2ee8fd2f66f179f3a4d085031eae60759b9f7812007e58a0f857bc96e3429a13b1a5251eeb44e9
+EBUILD text-1.2.2.0.ebuild 1148 BLAKE2B b2a1806ffc6ef42066147d86243ee6f0645ff661507834efff0edee86deb49f641ca503003081ea6273ffa4b9a1ee5452fb8b0e996bce751cfeeecbefee727f3 SHA512 987e0d369a5e37e6c32772f593cbb309cfddfb6b04da451352729156d99e9b20f5c2ee0e42ed5369db953f00024f7f5b22e9eac8c39268749b6d54b6b1ef2a31
+EBUILD text-1.2.2.1.ebuild 1065 BLAKE2B 4c74a4490ea5e54b1e15798e6c1948d1eb0a2e69b828679a02a1105e5ec95aa006b8fce1f24663659e3686f8ebfb3dc3beef3adc5ed2dd0b87316b18ebb8bfef SHA512 327626f367d827e13152f8f295191f2b038f96840526450170439ce610a465ae09216a4c802bb3580a13fc41931157b8ef5155685b82b64fd5c89f21d841ff67
+MISC metadata.xml 1581 BLAKE2B 104f716f948006fb03fdfca08393a442a26767588a86e5f98ca12cbe54157b9448720e096888b47e0d4f6fdf30491fd6a77e62176985571a045d86f22d0de31a SHA512 398b1ba4d7eb16bd1517cd446278b42f2f15196faad1a59b0d9b04fefc9a63ccef0e871c614561ac7f0db5a3807ea4bd6a4ee5082a1a6915d525cdaedb6752c0
diff --git a/dev-haskell/text/files/text-1.1.1.3-deepseq-1.4.patch b/dev-haskell/text/files/text-1.1.1.3-deepseq-1.4.patch
new file mode 100644
index 000000000000..524ebac371ed
--- /dev/null
+++ b/dev-haskell/text/files/text-1.1.1.3-deepseq-1.4.patch
@@ -0,0 +1,33 @@
+commit 4115e196bde073d5deaa3759807a8647f3f3c6fa
+Author: Herbert Valerio Riedel <hvr@gnu.org>
+Date: Mon Nov 17 09:53:24 2014 +0100
+
+ Add support for `deepseq-1.4.0.0` (addresses #100)
+
+ The default method implementation has changed in `deepseq-1.4.0.0`.
+ (see haskell/deepseq#1 for details). This simply sets the `rnf`
+ implementation explicitly to avoid relying on the default method's
+ semantics.
+
+diff --git a/Data/Text.hs b/Data/Text.hs
+index 3bd34a7..b826acd 100644
+--- a/Data/Text.hs
++++ b/Data/Text.hs
+@@ -199,7 +199,7 @@ import Prelude (Char, Bool(..), Int, Maybe(..), String,
+ (&&), (||), (+), (-), (.), ($), ($!), (>>),
+ not, return, otherwise, quot)
+ #if defined(HAVE_DEEPSEQ)
+-import Control.DeepSeq (NFData)
++import Control.DeepSeq (NFData(rnf))
+ #endif
+ #if defined(ASSERTS)
+ import Control.Exception (assert)
+@@ -346,7 +346,7 @@ instance Exts.IsList Text where
+ #endif
+
+ #if defined(HAVE_DEEPSEQ)
+-instance NFData Text
++instance NFData Text where rnf !_ = ()
+ #endif
+
+ -- | This instance preserves data abstraction at the cost of inefficiency.
diff --git a/dev-haskell/text/files/text-1.2.2.0-integer-simple.patch b/dev-haskell/text/files/text-1.2.2.0-integer-simple.patch
new file mode 100644
index 000000000000..349fd79f8b37
--- /dev/null
+++ b/dev-haskell/text/files/text-1.2.2.0-integer-simple.patch
@@ -0,0 +1,78 @@
+https://bugs.gentoo.org/575120
+https://github.com/bos/text/issues/138
+
+commit 6c69034c81974b3fab9dba2993f22cc0a80f1b9e
+Author: Herbert Valerio Riedel <hvr@gnu.org>
+Date: Sat Feb 13 12:44:20 2016 +0100
+
+ Revert "Rename integer-simple to integer-pure (gh-138)"
+
+ This basically reverts commit b806d9491c740dfcbf172d2936f1eeb3b72d3492.
+ and therefore resolve #138
+
+diff --git a/Data/Text/Lazy/Builder/Int.hs b/Data/Text/Lazy/Builder/Int.hs
+index 6d26ecd..1cb0651 100644
+--- a/Data/Text/Lazy/Builder/Int.hs
++++ b/Data/Text/Lazy/Builder/Int.hs
+@@ -36,14 +36,14 @@ import Control.Monad.ST
+ #ifdef __GLASGOW_HASKELL__
+ # if defined(INTEGER_GMP)
+ import GHC.Integer.GMP.Internals (Integer(S#))
+-# elif defined(INTEGER_PURE)
++# elif defined(INTEGER_SIMPLE)
+ import GHC.Integer
+ # else
+-# error "You need to use either GMP or integer-pure."
++# error "You need to use either GMP or integer-simple."
+ # endif
+ #endif
+
+-#if defined(INTEGER_GMP) || defined(INTEGER_PURE)
++#if defined(INTEGER_GMP) || defined(INTEGER_SIMPLE)
+ # define PAIR(a,b) (# a,b #)
+ #else
+ # define PAIR(a,b) (a,b)
+diff --git a/text.cabal b/text.cabal
+index ffb92cf..5fa1be0 100644
+--- a/text.cabal
++++ b/text.cabal
+@@ -69,10 +69,10 @@ flag developer
+ default: False
+ manual: True
+
+-flag integer-pure
+- description: Use the pure-Haskell integer library instead of GMP
++flag integer-simple
++ description: Use the simple integer library instead of GMP
+ default: False
+- manual: True
++ manual: False
+
+ library
+ c-sources: cbits/cbits.c
+@@ -145,9 +145,9 @@ library
+ ghc-options: -Werror
+ cpp-options: -DASSERTS
+
+- if flag(integer-pure)
+- cpp-options: -DINTEGER_PURE
+- build-depends: integer-pure >= 1.0
++ if flag(integer-simple)
++ cpp-options: -DINTEGER_SIMPLE
++ build-depends: integer-simple >= 0.1 && < 0.5
+ else
+ cpp-options: -DINTEGER_GMP
+ build-depends: integer-gmp >= 0.2
+@@ -181,9 +181,9 @@ test-suite tests
+ test-framework-hunit >= 0.2,
+ test-framework-quickcheck2 >= 0.2
+
+- if flag(integer-pure)
+- cpp-options: -DINTEGER_PURE
+- build-depends: integer-pure >= 0.1 && < 0.5
++ if flag(integer-simple)
++ cpp-options: -DINTEGER_SIMPLE
++ build-depends: integer-simple >= 0.1 && < 0.5
+ else
+ cpp-options: -DINTEGER_GMP
+ build-depends: integer-gmp >= 0.2
diff --git a/dev-haskell/text/metadata.xml b/dev-haskell/text/metadata.xml
new file mode 100644
index 000000000000..707e40e47f20
--- /dev/null
+++ b/dev-haskell/text/metadata.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+ <longdescription>
+
+ An efficient packed, immutable Unicode text type (both strict and
+ lazy), with a powerful loop fusion optimization framework.
+
+ The 'Text' type represents Unicode character strings, in a time and
+ space-efficient manner. This package provides text processing
+ capabilities that are optimized for performance critical use, both
+ in terms of large data quantities and high speed.
+
+ The 'Text' type provides character-encoding, type-safe case
+ conversion via whole-string case conversion functions. It also
+ provides a range of functions for converting 'Text' values to and from
+ 'ByteStrings', using several standard encodings.
+
+ Efficient locale-sensitive support for text IO is also supported.
+
+ These modules are intended to be imported qualified, to avoid name
+ clashes with Prelude functions, e.g.
+
+ &gt; import qualified Data.Text as T
+
+ To use an extended and very rich family of functions for working
+ with Unicode text (including normalization, regular expressions,
+ non-standard encodings, text breaking, and locales), see
+ the @text-icu@ package:
+ &lt;http://hackage.haskell.org/package/text-icu&gt;
+
+ </longdescription>
+ <use>
+ <flag name="developer">operate in developer mode</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">bos/text</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-haskell/text/text-0.11.3.1.ebuild b/dev-haskell/text/text-0.11.3.1.ebuild
new file mode 100644
index 000000000000..7ff2ab68a5e4
--- /dev/null
+++ b/dev-haskell/text/text-0.11.3.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.2.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="An efficient packed Unicode text type"
+HOMEPAGE="https://github.com/bos/text"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE="developer"
+
+RDEPEND=">=dev-lang/ghc-6.10.4:="
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( >=dev-haskell/hunit-1.2
+ >=dev-haskell/quickcheck-2.4
+ dev-haskell/random
+ >=dev-haskell/test-framework-0.4
+ >=dev-haskell/test-framework-hunit-0.2
+ >=dev-haskell/test-framework-quickcheck2-0.2
+ )"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag developer developer)
+}
diff --git a/dev-haskell/text/text-1.1.1.3.ebuild b/dev-haskell/text/text-1.1.1.3.ebuild
new file mode 100644
index 000000000000..5aa1c86f2f19
--- /dev/null
+++ b/dev-haskell/text/text-1.1.1.3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.6.9999
+#hackport: flags: -developer
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="An efficient packed Unicode text type"
+HOMEPAGE="https://github.com/bos/text"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+RESTRICT="test" # quickcheck-2.7 is missing keywords due to new tf-random dep
+
+RDEPEND=">=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+"
+# test? ( >=dev-haskell/hunit-1.2
+# >=dev-haskell/quickcheck-2.7
+# dev-haskell/random
+# >=dev-haskell/test-framework-0.4
+# >=dev-haskell/test-framework-hunit-0.2
+# >=dev-haskell/test-framework-quickcheck2-0.2 )
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-deepseq-1.4.patch
+}
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-developer
+}
diff --git a/dev-haskell/text/text-1.2.2.0.ebuild b/dev-haskell/text/text-1.2.2.0.ebuild
new file mode 100644
index 000000000000..676fcecd71a6
--- /dev/null
+++ b/dev-haskell/text/text-1.2.2.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.6.9999
+#hackport: flags: -developer,-integer-pure
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="An efficient packed Unicode text type"
+HOMEPAGE="https://github.com/bos/text"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+RESTRICT=test # break cyclic dependencies
+
+RDEPEND="dev-haskell/binary:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( >=dev-haskell/hunit-1.2
+ >=dev-haskell/quickcheck-2.7
+ dev-haskell/quickcheck-unicode
+ dev-haskell/random
+ >=dev-haskell/test-framework-0.4
+ >=dev-haskell/test-framework-hunit-0.2
+ >=dev-haskell/test-framework-quickcheck2-0.2 )
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-integer-simple.patch
+}
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-developer
+}
diff --git a/dev-haskell/text/text-1.2.2.1.ebuild b/dev-haskell/text/text-1.2.2.1.ebuild
new file mode 100644
index 000000000000..5cb8a0849ae1
--- /dev/null
+++ b/dev-haskell/text/text-1.2.2.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.7.9999
+#hackport: flags: -developer
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="An efficient packed Unicode text type"
+HOMEPAGE="https://github.com/bos/text"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+RESTRICT=test # break cyclic dependencies
+
+RDEPEND="dev-haskell/binary:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( >=dev-haskell/hunit-1.2
+ >=dev-haskell/quickcheck-2.7
+ dev-haskell/quickcheck-unicode
+ dev-haskell/random
+ >=dev-haskell/test-framework-0.4
+ >=dev-haskell/test-framework-hunit-0.2
+ >=dev-haskell/test-framework-quickcheck2-0.2 )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-developer
+}