dev-haskell/lens-family: new package, a depend of dev-haskell/persistent-2.6
authorSergei Trofimovich <slyfox@gentoo.org>
Thu, 16 Feb 2017 08:36:58 +0000 (08:36 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Thu, 16 Feb 2017 10:21:55 +0000 (10:21 +0000)
Lens Families

Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-haskell/lens-family/Manifest [new file with mode: 0644]
dev-haskell/lens-family/lens-family-1.2.1.ebuild [new file with mode: 0644]
dev-haskell/lens-family/metadata.xml [new file with mode: 0644]

diff --git a/dev-haskell/lens-family/Manifest b/dev-haskell/lens-family/Manifest
new file mode 100644 (file)
index 0000000..21e8910
--- /dev/null
@@ -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 (file)
index 0000000..c64d365
--- /dev/null
@@ -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/lens-family-core-1.3:=[profile?]
+       >=dev-haskell/mtl-2.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
+       >=dev-haskell/transformers-0.2.0:=[profile?] <dev-haskell/transformers-0.6:=[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 (file)
index 0000000..0235880
--- /dev/null
@@ -0,0 +1,22 @@
+<?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>
+               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 \&quot;toList\&quot; functions to read-only traversals
+               
+               * Cast semantic editor combinators to modify-only traversals.
+       </longdescription>
+</pkgmetadata>