From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 24C2B139695 for ; Thu, 16 Feb 2017 10:22:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 89B2721C043; Thu, 16 Feb 2017 10:22:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 58D6D21C043 for ; Thu, 16 Feb 2017 10:22:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4F47E341616 for ; Thu, 16 Feb 2017 10:22:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 39C1949BA for ; Thu, 16 Feb 2017 10:22:12 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1487240516.f07ac18fbdee2b96ca7bfe3899545a2ba8529ac7.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-haskell/text-show/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-haskell/text-show/Manifest dev-haskell/text-show/metadata.xml dev-haskell/text-show/text-show-3.4.ebuild X-VCS-Directories: dev-haskell/text-show/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: f07ac18fbdee2b96ca7bfe3899545a2ba8529ac7 X-VCS-Branch: master Date: Thu, 16 Feb 2017 10:22:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 514eb4b5-6981-44d9-9ad1-59ff6438a04a X-Archives-Hash: fe8ebe14e9b6c424e074962f31d571fd commit: f07ac18fbdee2b96ca7bfe3899545a2ba8529ac7 Author: Sergei Trofimovich gentoo org> AuthorDate: Thu Feb 16 08:41:13 2017 +0000 Commit: Sergei Trofimovich gentoo 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 @@ + + + + + haskell@gentoo.org + Gentoo Haskell + + + @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". + + 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/bifunctors-5.1:=[profile?] =dev-haskell/contravariant-0.5:=[profile?] =dev-haskell/generic-deriving-1.11:=[profile?] =dev-haskell/nats-0.1:=[profile?] =dev-haskell/semigroups-0.17:=[profile?] =dev-haskell/tagged-0.4.4:=[profile?] =dev-haskell/text-0.11.1:=[profile?] =dev-haskell/th-lift-0.7.6:=[profile?] =dev-haskell/transformers-compat-0.5:=[profile?] =dev-haskell/void-0.5:=[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-orphans-0.5.2 =dev-haskell/deriving-compat-0.3 =dev-haskell/hspec-2 =dev-haskell/quickcheck-2.5 =dev-haskell/quickcheck-instances-0.1 =dev-haskell/tagged-0.8.3