summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-02-16 08:36:58 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2017-02-16 10:21:55 +0000
commit5d28667538ccec471691cea52c290dcd93377255 (patch)
tree17a4b487bbc876bd111ed6d91960ee6d42a7f8bb /dev-haskell/lens-family
parentdev-haskell/lens-family-core: new package, a depend of dev-haskell/persistent... (diff)
downloadgentoo-5d28667538ccec471691cea52c290dcd93377255.tar.gz
gentoo-5d28667538ccec471691cea52c290dcd93377255.tar.bz2
gentoo-5d28667538ccec471691cea52c290dcd93377255.zip
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
Diffstat (limited to 'dev-haskell/lens-family')
-rw-r--r--dev-haskell/lens-family/Manifest1
-rw-r--r--dev-haskell/lens-family/lens-family-1.2.1.ebuild28
-rw-r--r--dev-haskell/lens-family/metadata.xml22
3 files changed, 51 insertions, 0 deletions
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/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
index 000000000000..02358802aa05
--- /dev/null
+++ b/dev-haskell/lens-family/metadata.xml
@@ -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>