diff options
author | Alexander Vershilov <qnikst@gentoo.org> | 2013-08-26 12:35:05 +0000 |
---|---|---|
committer | Alexander Vershilov <qnikst@gentoo.org> | 2013-08-26 12:35:05 +0000 |
commit | ef308af488adf0c13cacfa3649a54223ad52fca9 (patch) | |
tree | 966411afa3e77f5448e4dca8e962bdb217690af4 /dev-haskell/shakespeare-text | |
parent | dev-haskell/uniqueid: initial layout (diff) | |
download | gentoo-2-ef308af488adf0c13cacfa3649a54223ad52fca9.tar.gz gentoo-2-ef308af488adf0c13cacfa3649a54223ad52fca9.tar.bz2 gentoo-2-ef308af488adf0c13cacfa3649a54223ad52fca9.zip |
dev-haskell/shakespeare-text: initial layout
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 0xEAD50D64D8D3571A!)
Diffstat (limited to 'dev-haskell/shakespeare-text')
-rw-r--r-- | dev-haskell/shakespeare-text/ChangeLog | 9 | ||||
-rw-r--r-- | dev-haskell/shakespeare-text/metadata.xml | 22 | ||||
-rw-r--r-- | dev-haskell/shakespeare-text/shakespeare-text-1.0.0.6.ebuild | 29 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-haskell/shakespeare-text/ChangeLog b/dev-haskell/shakespeare-text/ChangeLog new file mode 100644 index 000000000000..d620b731833a --- /dev/null +++ b/dev-haskell/shakespeare-text/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-haskell/shakespeare-text +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/shakespeare-text/ChangeLog,v 1.1 2013/08/26 12:35:05 qnikst Exp $ + +*shakespeare-text-1.0.0.6 (26 Aug 2013) + + 26 Aug 2013; Alexander Vershilov <qnikst@gentoo.org> +metadata.xml, + +shakespeare-text-1.0.0.6.ebuild: + dev-haskell/shakespeare-text: initial layout diff --git a/dev-haskell/shakespeare-text/metadata.xml b/dev-haskell/shakespeare-text/metadata.xml new file mode 100644 index 000000000000..3162dd1d3190 --- /dev/null +++ b/dev-haskell/shakespeare-text/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>haskell</herd> + <maintainer> + <email>haskell@gentoo.org</email> + </maintainer> + <longdescription> + 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. + </longdescription> +</pkgmetadata> diff --git a/dev-haskell/shakespeare-text/shakespeare-text-1.0.0.6.ebuild b/dev-haskell/shakespeare-text/shakespeare-text-1.0.0.6.ebuild new file mode 100644 index 000000000000..e3dd725ecfe9 --- /dev/null +++ b/dev-haskell/shakespeare-text/shakespeare-text-1.0.0.6.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/shakespeare-text/shakespeare-text-1.0.0.6.ebuild,v 1.1 2013/08/26 12:35:05 qnikst Exp $ + +EAPI=5 + +# ebuild generated by hackport 0.3.2.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Interpolation with quasi-quotation: put variables strings" +HOMEPAGE="http://www.yesodweb.com/book/shakespearean-templates" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="=dev-haskell/shakespeare-1.0*:=[profile?] + >=dev-haskell/text-0.7:=[profile?] + <dev-haskell/text-0.12:=[profile?] + >=dev-lang/ghc-6.10.4:=" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + test? ( >=dev-haskell/hspec-1.3 + dev-haskell/hunit + )" |