From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-haskell/text-show/
Date: Thu, 16 Feb 2017 10:22:12 +0000 (UTC) [thread overview]
Message-ID: <1487240516.f07ac18fbdee2b96ca7bfe3899545a2ba8529ac7.slyfox@gentoo> (raw)
commit: f07ac18fbdee2b96ca7bfe3899545a2ba8529ac7
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 16 08:41:13 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Feb 16 10:21:56 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f07ac18f
dev-haskell/text-show: new package, a depend of dev-haskell/persistent-2.6
Efficient conversion of values into Text
Package-Manager: Portage-2.3.3, Repoman-2.3.1
dev-haskell/text-show/Manifest | 1 +
dev-haskell/text-show/metadata.xml | 44 ++++++++++++++++++++++++++
dev-haskell/text-show/text-show-3.4.ebuild | 50 ++++++++++++++++++++++++++++++
3 files changed, 95 insertions(+)
diff --git a/dev-haskell/text-show/Manifest b/dev-haskell/text-show/Manifest
new file mode 100644
index 0000000000..72edb9f969
--- /dev/null
+++ b/dev-haskell/text-show/Manifest
@@ -0,0 +1 @@
+DIST text-show-3.4.tar.gz 105127 SHA256 ce8a7adcca87617766a4c988808ff41fee20a2c84ac5442d6f3d8c5cec55d7c7 SHA512 48b7fdd801c4fc31e12f14a9ba0589e0971481a2f8562d00c697a9fd48f6420e73df0a7318ff4579a786cd606a1fda2287eab3f8c423810c0d00919c68eeebed WHIRLPOOL 16a71ec9985d0714e964c69a444d3664fc67ce095b4d6950ae1cecd6b79533f30a4a785876ec0f37590deec36727e33c15f0298fc481a3cea5dab29ef9631015
diff --git a/dev-haskell/text-show/metadata.xml b/dev-haskell/text-show/metadata.xml
new file mode 100644
index 0000000000..3e79c8095c
--- /dev/null
+++ b/dev-haskell/text-show/metadata.xml
@@ -0,0 +1,44 @@
+<?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>
+</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 0000000000..0d2255745e
--- /dev/null
+++ b/dev-haskell/text-show/text-show-3.4.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+}
next reply other threads:[~2017-02-16 10:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-16 10:22 Sergei Trofimovich [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-08-29 8:51 [gentoo-commits] repo/gentoo:master commit in: dev-haskell/text-show/ Sergei Trofimovich
2020-08-29 8:52 Sergei Trofimovich
2021-07-27 9:39 Sergei Trofimovich
2022-07-24 22:05 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1487240516.f07ac18fbdee2b96ca7bfe3899545a2ba8529ac7.slyfox@gentoo \
--to=slyfox@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox