diff options
author | Jack Todaro <solpeth@posteo.org> | 2020-07-30 11:43:42 +1000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-08-01 09:02:46 +0100 |
commit | 075a735f74b428a244eca5dcdb7c83670c15cddd (patch) | |
tree | 51895b090bb314945546368b90681a15bc39b34b /dev-haskell/lens-aeson | |
parent | dev-haskell/network-uri: bump up to 2.6.3.0 (diff) | |
download | gentoo-075a735f74b428a244eca5dcdb7c83670c15cddd.tar.gz gentoo-075a735f74b428a244eca5dcdb7c83670c15cddd.tar.bz2 gentoo-075a735f74b428a244eca5dcdb7c83670c15cddd.zip |
dev-haskell/lens-aeson: add package
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Jack Todaro <solpeth@posteo.org>
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/lens-aeson')
-rw-r--r-- | dev-haskell/lens-aeson/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/lens-aeson/lens-aeson-1.1.ebuild | 45 | ||||
-rw-r--r-- | dev-haskell/lens-aeson/metadata.xml | 8 |
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-haskell/lens-aeson/Manifest b/dev-haskell/lens-aeson/Manifest new file mode 100644 index 000000000000..c47e46f49b7f --- /dev/null +++ b/dev-haskell/lens-aeson/Manifest @@ -0,0 +1 @@ +DIST lens-aeson-1.1.tar.gz 11022 BLAKE2B 4291d060db6e6da1eac5f9ac11dc700effb3df8bdf91c4a0ae34c443cbe4655944f210bd13de78c9185465d9bf814111a649e98a7863cc1cf40fc737ffa66961 SHA512 a5e1b98cc50342ddbaf36a9c6f7a87cdfd8e8abb66852777ef8fc3362a3cb7bac473c3dfd7a4ad2f57f3318c5dca6ec7a07e2a4eae05bdcc34308d188d791460 diff --git a/dev-haskell/lens-aeson/lens-aeson-1.1.ebuild b/dev-haskell/lens-aeson/lens-aeson-1.1.ebuild new file mode 100644 index 000000000000..6d0862a5b3d2 --- /dev/null +++ b/dev-haskell/lens-aeson/lens-aeson-1.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# ebuild generated by hackport 0.6.9999 +#hackport: flags: -lib-werror,+test-doctests + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Law-abiding lenses for aeson" +HOMEPAGE="https://github.com/lens/lens-aeson/" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RESTRICT=test # doctest fails: warnings of "is ambiguous" + +RDEPEND=">=dev-haskell/aeson-0.7.0.5:=[profile?] <dev-haskell/aeson-1.5:=[profile?] + >=dev-haskell/attoparsec-0.10:=[profile?] <dev-haskell/attoparsec-0.14:=[profile?] + >=dev-haskell/lens-4.4:=[profile?] <dev-haskell/lens-5:=[profile?] + >=dev-haskell/scientific-0.3.2:=[profile?] <dev-haskell/scientific-0.4:=[profile?] + >=dev-haskell/text-0.11.1.10:=[profile?] <dev-haskell/text-1.3:=[profile?] + >=dev-haskell/unordered-containers-0.2.3:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/vector-0.9:=[profile?] <dev-haskell/vector-0.13:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + >=dev-haskell/cabal-doctest-1 <dev-haskell/cabal-doctest-1.1 + test? ( >=dev-haskell/doctest-0.11.1 <dev-haskell/doctest-0.17 + dev-haskell/generic-deriving + >=dev-haskell/semigroups-0.9 + >=dev-haskell/simple-reflect-0.3.1 ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-lib-werror \ + --flag=test-doctests +} diff --git a/dev-haskell/lens-aeson/metadata.xml b/dev-haskell/lens-aeson/metadata.xml new file mode 100644 index 000000000000..b7878815d80d --- /dev/null +++ b/dev-haskell/lens-aeson/metadata.xml @@ -0,0 +1,8 @@ +<?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> +</pkgmetadata> |