From 7803329601f5dee7a9cf94042feb0ca510ad4a60 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 31 Oct 2020 19:52:39 +0000 Subject: dev-haskell/shakespeare-text: update to EAPI=7 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich --- dev-haskell/shakespeare-text/metadata.xml | 14 -------------- dev-haskell/shakespeare-text/shakespeare-text-1.1.0.ebuild | 10 +++++----- 2 files changed, 5 insertions(+), 19 deletions(-) (limited to 'dev-haskell') diff --git a/dev-haskell/shakespeare-text/metadata.xml b/dev-haskell/shakespeare-text/metadata.xml index 3ce699212101..b7878815d80d 100644 --- a/dev-haskell/shakespeare-text/metadata.xml +++ b/dev-haskell/shakespeare-text/metadata.xml @@ -5,18 +5,4 @@ haskell@gentoo.org Gentoo Haskell - - interpolation with quasi-quotation: stick haskell variables into haskell strings - - Note there is no dependency on haskell-src-extras. If you don't mind that dependency, you may want to look at using these packages: Interpolation, interpolatedstring-perl6, interpolatedstring-qq. - - This package has 1 other general feature that those others may not (but would be easy to duplicate): instead of using quasi-quoting you can also use an external file. It also has url/embeding interpolation, with \@ and \^, which are used in Yesod. - - This package also uses blaze-builder for efficiently constructing strings (I am not sure what the other packages use). This might be of interest to you for large templates or performance sensitive code, or otherwise having a nice interface to blaze-builder - - Shakespeare is a template family for type-safe, efficient templates with simple variable interpolation . Shakespeare templates can be used inline with a quasi-quoter or in an external file. Shakespeare interpolates variables according to the type being inserted. - In this case, the variable type needs a ToText instance. - - Please see http://docs.yesodweb.com/book/templates for a more thorough description and examples of the shakespeare family of template languages. - diff --git a/dev-haskell/shakespeare-text/shakespeare-text-1.1.0.ebuild b/dev-haskell/shakespeare-text/shakespeare-text-1.1.0.ebuild index fb40d066d48b..fafe698ceb1a 100644 --- a/dev-haskell/shakespeare-text/shakespeare-text-1.1.0.ebuild +++ b/dev-haskell/shakespeare-text/shakespeare-text-1.1.0.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -# ebuild generated by hackport 0.3.6.9999 +# ebuild generated by hackport 0.6.6.9999 -CABAL_FEATURES="lib profile" +CABAL_FEATURES="lib profile haddock hoogle hscolour" inherit haskell-cabal DESCRIPTION="Interpolation with quasi-quotation: put variables strings (deprecated)" @@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND=">=dev-haskell/shakespeare-2.0:=[profile?] - >=dev-lang/ghc-6.10.4:= + >=dev-lang/ghc-7.4.1:= " DEPEND="${RDEPEND} >=dev-haskell/cabal-1.8 -- cgit v1.2.3-65-gdbad