diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-haskell/hsyaml-aeson | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-haskell/hsyaml-aeson')
-rw-r--r-- | dev-haskell/hsyaml-aeson/Manifest | 3 | ||||
-rw-r--r-- | dev-haskell/hsyaml-aeson/hsyaml-aeson-0.2.0.0.ebuild | 44 | ||||
-rw-r--r-- | dev-haskell/hsyaml-aeson/metadata.xml | 21 |
3 files changed, 68 insertions, 0 deletions
diff --git a/dev-haskell/hsyaml-aeson/Manifest b/dev-haskell/hsyaml-aeson/Manifest new file mode 100644 index 000000000000..1fa6a89c0f78 --- /dev/null +++ b/dev-haskell/hsyaml-aeson/Manifest @@ -0,0 +1,3 @@ +DIST HsYAML-aeson-0.2.0.0.tar.gz 11095 BLAKE2B b168c5d676718c99567835aaaa53321ccecc7b089e15850676a0b600f6ea2280facd4cf22e0212807c6c952287b125d52974ed19240390c0bc22d54c7047a641 SHA512 09da59c38e9fead3b11bbb6752cef803ae2d60392b710ea3958091d6256ff267f0b0f9b27293bbbc96a9d3af08464e463feafcba4a7caab6fd78286127f91527 +EBUILD hsyaml-aeson-0.2.0.0.ebuild 1330 BLAKE2B c25e66dc1b0c0e1d2c71928388166d3de4fe0b5687012c58933a50c3b650d7082fda26a17b2e87452e45d38222c4dfc461a521ce3385fd9e933c2a394734a248 SHA512 984d8f7075426e18884b734b9c51732e7d56e165dfef226188d9f01e05ecfaaed7e5bd8ca9549ab6f24d032606aa37ae2f475f2914f80f722fe32f07a8ca466e +MISC metadata.xml 1037 BLAKE2B 02d3095ac849461220a7d23a88b68e0fc8e1da8bff6c62fd2e2b784c43d541fe14a7204664c6f2faad73a17a3c7dbb3c50a9fec96bf91eef2bd0b51de283bf3c SHA512 532f80ba57e402f5d124d05a0c70dacf83415fb0fba132f89c064a79a01256802aab028da2fb8262b754807d4142e7cef517f4126c845cd34acb945568f23ee5 diff --git a/dev-haskell/hsyaml-aeson/hsyaml-aeson-0.2.0.0.ebuild b/dev-haskell/hsyaml-aeson/hsyaml-aeson-0.2.0.0.ebuild new file mode 100644 index 000000000000..4d6060d2afb2 --- /dev/null +++ b/dev-haskell/hsyaml-aeson/hsyaml-aeson-0.2.0.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# ebuild generated by hackport 0.6.6.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +MY_PN="HsYAML-aeson" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="JSON to YAML Adapter" +HOMEPAGE="https://hackage.haskell.org/package/HsYAML-aeson" +SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/aeson-1.4.0.0:=[profile?] <dev-haskell/aeson-1.6:=[profile?] + >=dev-haskell/hsyaml-0.2.0:=[profile?] <dev-haskell/hsyaml-0.3:=[profile?] + >=dev-haskell/mtl-2.2.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?] + >=dev-haskell/scientific-0.3.6.2:=[profile?] <dev-haskell/scientific-0.4:=[profile?] + >=dev-haskell/text-1.2.3:=[profile?] <dev-haskell/text-1.3:=[profile?] + >=dev-haskell/unordered-containers-0.2:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/vector-0.12.0.2:=[profile?] <dev-haskell/vector-0.13:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2 +" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + + cabal_chdeps \ + 'base >= 4.5 && < 4.14' 'base >= 4.5' \ + 'containers >=0.4.2 && <0.7' 'containers >=0.4.2' +} diff --git a/dev-haskell/hsyaml-aeson/metadata.xml b/dev-haskell/hsyaml-aeson/metadata.xml new file mode 100644 index 000000000000..a66d30e2a063 --- /dev/null +++ b/dev-haskell/hsyaml-aeson/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <longdescription> + The [YAML 1.2](https://yaml.org/spec/1.2/spec.html) format provides + a much richer data-model and feature-set + than the [JavaScript Object Notation (JSON)](https://tools.ietf.org/html/rfc7159) format. + However, sometimes it's desirable to ignore the extra capabilities + and treat YAML as if it was merely a more convenient markup format + for humans to write JSON data. To this end this module provides a + compatibility layer atop [HsYAML](https://hackage.haskell.org/package/HsYAML) + which allows decoding YAML documents in the more limited JSON data-model while also providing + convenience by reusing [aeson](https://hackage.haskell.org/package/aeson)'s + 'FromJSON' instances for decoding the YAML data into native Haskell data + types. + </longdescription> +</pkgmetadata> |