diff options
Diffstat (limited to 'dev-haskell/text-show')
-rw-r--r-- | dev-haskell/text-show/Manifest | 3 | ||||
-rw-r--r-- | dev-haskell/text-show/metadata.xml | 47 | ||||
-rw-r--r-- | dev-haskell/text-show/text-show-3.4.ebuild | 49 |
3 files changed, 99 insertions, 0 deletions
diff --git a/dev-haskell/text-show/Manifest b/dev-haskell/text-show/Manifest new file mode 100644 index 000000000000..c9806c77a2e3 --- /dev/null +++ b/dev-haskell/text-show/Manifest @@ -0,0 +1,3 @@ +DIST text-show-3.4.tar.gz 105127 SHA256 ce8a7adcca87617766a4c988808ff41fee20a2c84ac5442d6f3d8c5cec55d7c7 SHA512 48b7fdd801c4fc31e12f14a9ba0589e0971481a2f8562d00c697a9fd48f6420e73df0a7318ff4579a786cd606a1fda2287eab3f8c423810c0d00919c68eeebed WHIRLPOOL 16a71ec9985d0714e964c69a444d3664fc67ce095b4d6950ae1cecd6b79533f30a4a785876ec0f37590deec36727e33c15f0298fc481a3cea5dab29ef9631015 +EBUILD text-show-3.4.ebuild 2024 SHA256 9409e15fe18364a548009a41cf676bd7211014f9261dcc612b43b9dfde8b4c88 SHA512 ad337b2cb8e35f51d48e4430251334fa94f70a8cff40a764213b8ca0caa009dcdc9b204044e1cf8d04486a867180a93ce0ded829acdeb65cab13bdd9f02d4a99 WHIRLPOOL c971af062b47577b4a2c6ef43406f50adb96e6b13aef3b5ac4641cba80b2b96d438e17264939163ef82f2efd49eeb6fde6975e3aeb1727b60fdf32c0f3e3d3b7 +MISC metadata.xml 1745 SHA256 b8939c113e405153808fb5acb569cac1237b04b3b952200e59ab07c735eeda4b SHA512 ee8e1085322a3ecfc53b35f651757515b214be5e3511931390e0e79b65d449a8cc15af6d50b695cd777abe5508c662b0bb9bb5cf4943399bd01809c9b124b2c7 WHIRLPOOL 0a537c5a311b52854e2e143380d0beb3b273f601432fce9207dccfb1f0ade77f1087a6e385f93c3e8b1f20541965b985ab2ab161291aa81a7b744e3b3aff104a diff --git a/dev-haskell/text-show/metadata.xml b/dev-haskell/text-show/metadata.xml new file mode 100644 index 000000000000..a6729c09cb4b --- /dev/null +++ b/dev-haskell/text-show/metadata.xml @@ -0,0 +1,47 @@ +<?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> + @text-show@ offers a replacement for the @Show@ typeclass intended + for use with @Text@ instead of @String@s. This package was created + in the spirit of + @<http://hackage.haskell.org/package/bytestring-show bytestring-show>@. + + At the moment, @text-show@ provides instances for most data + types in the @<http://hackage.haskell.org/package/array array>@, + @<http://hackage.haskell.org/package/base base>@, + @<http://hackage.haskell.org/package/bytestring bytestring>@, and + @<http://hackage.haskell.org/package/text text>@ packages. + Therefore, much of the source code for @text-show@ consists of + borrowed code from those packages in order to ensure that the + behaviors of @Show@ and @TextShow@ coincide. + + For most uses, simply importing "TextShow" + will suffice: + + @ + module Main where + + import TextShow + + main :: IO () + main = printT (Just \"Hello, World!\") + @ + + If you desire it, there are also monomorphic versions of the @showb@ + function available in the submodules of "TextShow". See the + <https://github.com/RyanGlScott/text-show/wiki/Naming-conventions naming conventions> + page for more information. + + Support for automatically deriving @TextShow@ instances can be found + in the "TextShow.TH" and "TextShow.Generic" modules. If you don't + know which one to use, use "TextShow.TH". + </longdescription> + <upstream> + <remote-id type="github">RyanGlScott/text-show</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/text-show/text-show-3.4.ebuild b/dev-haskell/text-show/text-show-3.4.ebuild new file mode 100644 index 000000000000..c6ed34cc4d8d --- /dev/null +++ b/dev-haskell/text-show/text-show-3.4.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# ebuild generated by hackport 0.5.9999 +#hackport: flags: -developer + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Efficient conversion of values into Text" +HOMEPAGE="https://github.com/RyanGlScott/text-show" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/base-compat-0.8.1:=[profile?] <dev-haskell/base-compat-1:=[profile?] + >=dev-haskell/bifunctors-5.1:=[profile?] <dev-haskell/bifunctors-6:=[profile?] + dev-haskell/bytestring-builder:=[profile?] + >=dev-haskell/contravariant-0.5:=[profile?] <dev-haskell/contravariant-2:=[profile?] + >=dev-haskell/generic-deriving-1.11:=[profile?] <dev-haskell/generic-deriving-2:=[profile?] + >=dev-haskell/nats-0.1:=[profile?] <dev-haskell/nats-2:=[profile?] + >=dev-haskell/semigroups-0.17:=[profile?] <dev-haskell/semigroups-1:=[profile?] + >=dev-haskell/tagged-0.4.4:=[profile?] <dev-haskell/tagged-1:=[profile?] + >=dev-haskell/text-0.11.1:=[profile?] <dev-haskell/text-1.3:=[profile?] + >=dev-haskell/th-lift-0.7.6:=[profile?] <dev-haskell/th-lift-1:=[profile?] + >=dev-haskell/transformers-compat-0.5:=[profile?] <dev-haskell/transformers-compat-1:=[profile?] + >=dev-haskell/void-0.5:=[profile?] <dev-haskell/void-1:=[profile?] + >=dev-lang/ghc-7.8.2:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.18.1.3 + test? ( >=dev-haskell/base-compat-0.8.2 <dev-haskell/base-compat-1 + >=dev-haskell/base-orphans-0.5.2 <dev-haskell/base-orphans-1 + >=dev-haskell/deriving-compat-0.3 <dev-haskell/deriving-compat-1 + >=dev-haskell/hspec-2 <dev-haskell/hspec-3 + >=dev-haskell/quickcheck-2.5 <dev-haskell/quickcheck-3 + >=dev-haskell/quickcheck-instances-0.1 <dev-haskell/quickcheck-instances-0.4 + >=dev-haskell/tagged-0.8.3 <dev-haskell/tagged-1 ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-developer +} |