Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-haskell/shakespeare-text/
Date: Sat, 31 Oct 2020 20:09:24
Message-Id: 1604174954.7803329601f5dee7a9cf94042feb0ca510ad4a60.slyfox@gentoo
1 commit: 7803329601f5dee7a9cf94042feb0ca510ad4a60
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 31 19:52:39 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 31 20:09:14 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78033296
7
8 dev-haskell/shakespeare-text: update to EAPI=7
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.2
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 dev-haskell/shakespeare-text/metadata.xml | 14 --------------
14 dev-haskell/shakespeare-text/shakespeare-text-1.1.0.ebuild | 10 +++++-----
15 2 files changed, 5 insertions(+), 19 deletions(-)
16
17 diff --git a/dev-haskell/shakespeare-text/metadata.xml b/dev-haskell/shakespeare-text/metadata.xml
18 index 3ce69921210..b7878815d80 100644
19 --- a/dev-haskell/shakespeare-text/metadata.xml
20 +++ b/dev-haskell/shakespeare-text/metadata.xml
21 @@ -5,18 +5,4 @@
22 <email>haskell@g.o</email>
23 <name>Gentoo Haskell</name>
24 </maintainer>
25 - <longdescription>
26 - interpolation with quasi-quotation: stick haskell variables into haskell strings
27 -
28 - 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.
29 -
30 - 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.
31 -
32 - 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
33 -
34 - 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.
35 - In this case, the variable type needs a ToText instance.
36 -
37 - Please see http://docs.yesodweb.com/book/templates for a more thorough description and examples of the shakespeare family of template languages.
38 - </longdescription>
39 </pkgmetadata>
40
41 diff --git a/dev-haskell/shakespeare-text/shakespeare-text-1.1.0.ebuild b/dev-haskell/shakespeare-text/shakespeare-text-1.1.0.ebuild
42 index fb40d066d48..fafe698ceb1 100644
43 --- a/dev-haskell/shakespeare-text/shakespeare-text-1.1.0.ebuild
44 +++ b/dev-haskell/shakespeare-text/shakespeare-text-1.1.0.ebuild
45 @@ -1,11 +1,11 @@
46 -# Copyright 1999-2019 Gentoo Authors
47 +# Copyright 1999-2020 Gentoo Authors
48 # Distributed under the terms of the GNU General Public License v2
49
50 -EAPI=5
51 +EAPI=7
52
53 -# ebuild generated by hackport 0.3.6.9999
54 +# ebuild generated by hackport 0.6.6.9999
55
56 -CABAL_FEATURES="lib profile"
57 +CABAL_FEATURES="lib profile haddock hoogle hscolour"
58 inherit haskell-cabal
59
60 DESCRIPTION="Interpolation with quasi-quotation: put variables strings (deprecated)"
61 @@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~x86"
62 IUSE=""
63
64 RDEPEND=">=dev-haskell/shakespeare-2.0:=[profile?]
65 - >=dev-lang/ghc-6.10.4:=
66 + >=dev-lang/ghc-7.4.1:=
67 "
68 DEPEND="${RDEPEND}
69 >=dev-haskell/cabal-1.8