From 5d28667538ccec471691cea52c290dcd93377255 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 16 Feb 2017 08:36:58 +0000 Subject: [PATCH] dev-haskell/lens-family: new package, a depend of dev-haskell/persistent-2.6 Lens Families Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- dev-haskell/lens-family/Manifest | 1 + .../lens-family/lens-family-1.2.1.ebuild | 28 +++++++++++++++++++ dev-haskell/lens-family/metadata.xml | 22 +++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 dev-haskell/lens-family/Manifest create mode 100644 dev-haskell/lens-family/lens-family-1.2.1.ebuild create mode 100644 dev-haskell/lens-family/metadata.xml diff --git a/dev-haskell/lens-family/Manifest b/dev-haskell/lens-family/Manifest new file mode 100644 index 000000000000..21e891027fc5 --- /dev/null +++ b/dev-haskell/lens-family/Manifest @@ -0,0 +1 @@ +DIST lens-family-1.2.1.tar.gz 8192 SHA256 41838eba3fa063dc467bbcd70f9395c8429c08ecab2ff779d01b459222cd9ab7 SHA512 5e8bd69631b5b4da489e7cb79ca91d0bacdd6ae943b2c599f837055c6589a0d0e19bfe3be427723b5775c088201237ee7cb0f2807a70aed0fbaf46293828c6fb WHIRLPOOL d251df680e67afc78dec0412b5fe8c3350cb417e859c2592a82cfde94003107db16f74aa2936065e47efa83204f302289d4d8e6d5d0653c61a0568a7c8e30293 diff --git a/dev-haskell/lens-family/lens-family-1.2.1.ebuild b/dev-haskell/lens-family/lens-family-1.2.1.ebuild new file mode 100644 index 000000000000..c64d365f2d95 --- /dev/null +++ b/dev-haskell/lens-family/lens-family-1.2.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +# ebuild generated by hackport 0.5.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Lens Families" +HOMEPAGE="http://hackage.haskell.org/package/lens-family" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/lens-family-core-1.2:=[profile?] =dev-haskell/mtl-2.1:=[profile?] =dev-haskell/transformers-0.2.0:=[profile?] =dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6 +" diff --git a/dev-haskell/lens-family/metadata.xml b/dev-haskell/lens-family/metadata.xml new file mode 100644 index 000000000000..02358802aa05 --- /dev/null +++ b/dev-haskell/lens-family/metadata.xml @@ -0,0 +1,22 @@ + + + + + haskell@gentoo.org + Gentoo Haskell + + + This package provides first class functional references. + In addition to the usual operations of getting, setting and composition, plus integration with monad state, lens families provide some unique features: + + * Polymorphic updating + + * Traversals + + * Cast projection functions to read-only lenses + + * Cast \"toList\" functions to read-only traversals + + * Cast semantic editor combinators to modify-only traversals. + + -- 2.26.2