diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2015-03-05 19:44:09 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2015-03-05 19:44:09 +0000 |
commit | b6d6e6e8ff47d36d1ebec6b1919715cce71e0f12 (patch) | |
tree | a81d06c73810ded4f4df5560307787cf91a392e4 /dev-haskell/json | |
parent | sci-chemistry/shelx: Drop unused local USE (diff) | |
download | gentoo-2-b6d6e6e8ff47d36d1ebec6b1919715cce71e0f12.tar.gz gentoo-2-b6d6e6e8ff47d36d1ebec6b1919715cce71e0f12.tar.bz2 gentoo-2-b6d6e6e8ff47d36d1ebec6b1919715cce71e0f12.zip |
Version bump.
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)
Diffstat (limited to 'dev-haskell/json')
-rw-r--r-- | dev-haskell/json/ChangeLog | 10 | ||||
-rw-r--r-- | dev-haskell/json/json-0.9.ebuild | 37 | ||||
-rw-r--r-- | dev-haskell/json/metadata.xml | 4 |
3 files changed, 49 insertions, 2 deletions
diff --git a/dev-haskell/json/ChangeLog b/dev-haskell/json/ChangeLog index ca7a55c694df..3f12c6f72d71 100644 --- a/dev-haskell/json/ChangeLog +++ b/dev-haskell/json/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-haskell/json -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/json/ChangeLog,v 1.13 2014/07/25 08:58:40 slyfox Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/json/ChangeLog,v 1.14 2015/03/05 19:44:09 slyfox Exp $ + +*json-0.9 (05 Mar 2015) + + 05 Mar 2015; Sergei Trofimovich <slyfox@gentoo.org> +json-0.9.ebuild, + metadata.xml: + Version bump. 25 Jul 2014; Sergei Trofimovich <slyfox@gentoo.org> metadata.xml: Drop redundant '<maintainer>' field, leave only '<herd>'. diff --git a/dev-haskell/json/json-0.9.ebuild b/dev-haskell/json/json-0.9.ebuild new file mode 100644 index 000000000000..be10e3fac43e --- /dev/null +++ b/dev-haskell/json/json-0.9.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/json/json-0.9.ebuild,v 1.1 2015/03/05 19:44:09 slyfox Exp $ + +EAPI=5 + +# ebuild generated by hackport 0.4.4.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Support for serialising Haskell to and from JSON" +HOMEPAGE="http://hackage.haskell.org/package/json" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux" +IUSE="+generic mapdict +parsec +pretty" + +RDEPEND="dev-haskell/mtl:=[profile?] + dev-haskell/text:=[profile?] + >=dev-lang/ghc-7.4.1:= + generic? ( >=dev-haskell/syb-0.3.3:=[profile?] ) + parsec? ( dev-haskell/parsec:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag generic generic) \ + $(cabal_flag mapdict mapdict) \ + $(cabal_flag parsec parsec) \ + $(cabal_flag pretty pretty) +} diff --git a/dev-haskell/json/metadata.xml b/dev-haskell/json/metadata.xml index f08404c3b479..e1c77485139f 100644 --- a/dev-haskell/json/metadata.xml +++ b/dev-haskell/json/metadata.xml @@ -8,9 +8,13 @@ machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999. + + This library provides a parser and pretty printer for converting + between Haskell values and JSON. </longdescription> <use> <flag name="generic">Add support for generic encoder (<pkg>dev-haskell/syb</pkg>)</flag> + <flag name="mapdict">Encode Haskell maps as JSON dicts</flag> <flag name="parsec">Add support for parsing with Parsec</flag> <flag name="pretty">Add support for using pretty printing combinators</flag> </use> |