diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-haskell/lens | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-haskell/lens')
-rw-r--r-- | dev-haskell/lens/Manifest | 6 | ||||
-rw-r--r-- | dev-haskell/lens/lens-3.10.0.1.ebuild | 83 | ||||
-rw-r--r-- | dev-haskell/lens/lens-3.9.2.ebuild | 86 | ||||
-rw-r--r-- | dev-haskell/lens/lens-4.11.ebuild | 90 | ||||
-rw-r--r-- | dev-haskell/lens/lens-4.2.ebuild | 95 | ||||
-rw-r--r-- | dev-haskell/lens/lens-4.6.0.1.ebuild | 91 | ||||
-rw-r--r-- | dev-haskell/lens/lens-4.9.1.ebuild | 92 | ||||
-rw-r--r-- | dev-haskell/lens/metadata.xml | 100 |
8 files changed, 643 insertions, 0 deletions
diff --git a/dev-haskell/lens/Manifest b/dev-haskell/lens/Manifest new file mode 100644 index 000000000000..97ad7c6a9392 --- /dev/null +++ b/dev-haskell/lens/Manifest @@ -0,0 +1,6 @@ +DIST lens-3.10.0.1.tar.gz 455039 SHA256 48344cdfcfc69860d02418aacfd00e653ae869deb84865a865a1070e344d212b SHA512 3dbb1f547a63196bc37dc891e7cff63656a8f662404767bca53d4d722d1669034fada995518db1a4535e7e142552ee8ad9121db6029fe22509b7de8a44aea923 WHIRLPOOL 0813e528e851f7507b8545f74d1f7956ef59c6d0b46602499c186cb10d02a2716c3687a2da8f62d657e0e614d8c4a6d9fc0e50cf678695bc6a2498e6a5315f51 +DIST lens-3.9.2.tar.gz 454678 SHA256 53c87cb926c05c60593e4603f053633a0af127826f76bfebeecdbce11407ec9e SHA512 63e3a39d0d0ad16d27a8e2319163f333b67bc9df2d89d1b7fbc4dd9944cd098f0ba4a571a66939a640143c86c2f3008d5db3619af14f11a8cbcc07c424349f7a WHIRLPOOL 74b68bb19c684e8877c37092eedc299c636b0edaa0b1edc463534649182562245f661036c2dd3d30518b6fb3ca2f1f1a55ec251c9aeb028129d250c3eedac86e +DIST lens-4.11.tar.gz 964787 SHA256 b5334661e99fbf92fa137db07dea8a38b3111a355330e3ef87d6b9d7f4922999 SHA512 9dc49c7a4c5cde508a5021522b41cdbb3c32b9de4be706fed189d16435828c03382cd6f069b4a17d13bcd0af390787e9f3343eea14e98662c3de3bbd5333143a WHIRLPOOL 6afd9acede3b532153fdee517fc99be7094a08d20d2b631231b7338ce57a7d1c3d1dc12ae847afca339f09fba7a3c3a7d14c2669bf7d3b15997edac5c730c9bb +DIST lens-4.2.tar.gz 767603 SHA256 5cdcdb711aabca09fd9fe28da8b56382ec9bebd036c42ec1118f9f3515ca102b SHA512 b1e583d3400c076f1e3648aa758b0d30d6a4e3fd9776eb9e115fbd7372b990c3aa3e5d8119de827b132e0e69a255b3532f3f044e936ac4d320cc146a6d04f7bf WHIRLPOOL 44503b5b304518b0a4192cbf52916e07d80aae07fa0778beaef9c7c6d3cc50160a141a20fcd5dc59d74b86c8c2828d65fae3b023c79016d1501f26d3d4ec6f41 +DIST lens-4.6.0.1.tar.gz 767614 SHA256 e26f3b91d738d8cc9e66cf5286aa2559d4f79dcaa26dd59374fda7a1d8843025 SHA512 0dd233ade1c5f0e3872711ecd378b69ff98353caa33cdbf1ec87bbf0356cd54842fc83870bb51b913abbb2dfd767414ebe79cec0e058cce16c29468a69880662 WHIRLPOOL 5a2c92c1e6e1162acb5056c6d534bd7be987edf401cb929b9161af55d506587ef60d8352c985e45d9eb3d21604f575cc3b09fc8452184c894cbd14423e81d2dc +DIST lens-4.9.1.tar.gz 964188 SHA256 e00461123d065a5bfb6b97b20764c4766fa54f1ee15cccefc5e9b340f9fe88c5 SHA512 f77d1c46a53b65e65bec4c993db087cee720e5a63f17d8beec38fe49b713bf36f4c4ff1564c6533044b8dfaaf5f5729ec98dbb55687f70fff1344e5112e8857b WHIRLPOOL bc310b5740a21358a77fdd6130ad0916eceb26e020e17d711658fa72bece16c4a4f1a2320b8878940e6b849e44d4c6d21baef81225a97b440a325cf289882d78 diff --git a/dev-haskell/lens/lens-3.10.0.1.ebuild b/dev-haskell/lens/lens-3.10.0.1.ebuild new file mode 100644 index 000000000000..64ce3401fa2d --- /dev/null +++ b/dev-haskell/lens/lens-3.10.0.1.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.3.5.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Lenses, Folds and Traversals" +HOMEPAGE="http://github.com/ekmett/lens/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="benchmark-uniplate dump-splices +inlining lib-werror old-inline-pragmas safe +test-doctests +test-hunit +test-properties +trustworthy" + +RDEPEND=">=dev-haskell/bifunctors-4:=[profile?] <dev-haskell/bifunctors-5:=[profile?] + >=dev-haskell/comonad-4:=[profile?] <dev-haskell/comonad-5:=[profile?] + >=dev-haskell/contravariant-0.3:=[profile?] <dev-haskell/contravariant-1:=[profile?] + >=dev-haskell/distributive-0.3:=[profile?] <dev-haskell/distributive-1:=[profile?] + >=dev-haskell/generic-deriving-1.4:=[profile?] <dev-haskell/generic-deriving-1.7:=[profile?] + >=dev-haskell/hashable-1.1.2.3:=[profile?] <dev-haskell/hashable-1.3:=[profile?] + >=dev-haskell/monadcatchio-transformers-0.3:=[profile?] <dev-haskell/monadcatchio-transformers-0.4:=[profile?] + >=dev-haskell/mtl-2.0.1:=[profile?] <dev-haskell/mtl-2.2:=[profile?] + >=dev-haskell/parallel-3.1.0.1:=[profile?] <dev-haskell/parallel-3.3:=[profile?] + >=dev-haskell/profunctors-4:=[profile?] <dev-haskell/profunctors-5:=[profile?] + >=dev-haskell/reflection-1.1.6:=[profile?] <dev-haskell/reflection-2:=[profile?] + >=dev-haskell/semigroupoids-4:=[profile?] <dev-haskell/semigroupoids-5:=[profile?] + >=dev-haskell/semigroups-0.8.4:=[profile?] <dev-haskell/semigroups-1:=[profile?] + >=dev-haskell/split-0.2:=[profile?] <dev-haskell/split-0.3:=[profile?] + >=dev-haskell/tagged-0.4.4:=[profile?] <dev-haskell/tagged-1:=[profile?] + >=dev-haskell/text-0.11:=[profile?] <dev-haskell/text-1.2:=[profile?] + >=dev-haskell/transformers-0.2:=[profile?] <dev-haskell/transformers-0.4:=[profile?] + >=dev-haskell/transformers-compat-0.1:=[profile?] <dev-haskell/transformers-compat-1:=[profile?] + >=dev-haskell/unordered-containers-0.2:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/vector-0.9:=[profile?] <dev-haskell/vector-0.11:=[profile?] + >=dev-haskell/void-0.5:=[profile?] <dev-haskell/void-1:=[profile?] + >=dev-lang/ghc-7.0.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.10.0.0 + test? ( test-doctests? ( >=dev-haskell/doctest-0.9.1 + dev-haskell/nats + >=dev-haskell/simple-reflect-0.3.1 + test-hunit? ( >=dev-haskell/hunit-1.2 + >=dev-haskell/test-framework-0.6 + >=dev-haskell/test-framework-hunit-0.2 + >=dev-haskell/test-framework-th-0.2 + test-properties? ( >=dev-haskell/quickcheck-2.4 + >=dev-haskell/test-framework-quickcheck2-0.2 ) ) + !test-hunit? ( test-properties? ( >=dev-haskell/quickcheck-2.4 + >=dev-haskell/test-framework-0.6 + >=dev-haskell/test-framework-quickcheck2-0.2 + >=dev-haskell/test-framework-th-0.2 ) ) ) + !test-doctests? ( test-hunit? ( >=dev-haskell/hunit-1.2 + >=dev-haskell/test-framework-0.6 + >=dev-haskell/test-framework-hunit-0.2 + >=dev-haskell/test-framework-th-0.2 + test-properties? ( >=dev-haskell/quickcheck-2.4 + >=dev-haskell/test-framework-quickcheck2-0.2 ) ) + !test-hunit? ( test-properties? ( >=dev-haskell/quickcheck-2.4 + >=dev-haskell/test-framework-0.6 + >=dev-haskell/test-framework-quickcheck2-0.2 + >=dev-haskell/test-framework-th-0.2 ) ) ) ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag benchmark-uniplate benchmark-uniplate) \ + $(cabal_flag dump-splices dump-splices) \ + $(cabal_flag inlining inlining) \ + $(cabal_flag lib-werror lib-werror) \ + $(cabal_flag old-inline-pragmas old-inline-pragmas) \ + $(cabal_flag safe safe) \ + $(cabal_flag test-doctests test-doctests) \ + $(cabal_flag test-hunit test-hunit) \ + $(cabal_flag test-properties test-properties) \ + $(cabal_flag trustworthy trustworthy) +} diff --git a/dev-haskell/lens/lens-3.9.2.ebuild b/dev-haskell/lens/lens-3.9.2.ebuild new file mode 100644 index 000000000000..eb217bf42bd4 --- /dev/null +++ b/dev-haskell/lens/lens-3.9.2.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.3.4.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Lenses, Folds and Traversals" +HOMEPAGE="http://github.com/ekmett/lens/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="benchmark-uniplate dump-splices +inlining lib-werror old-inline-pragmas safe +test-doctests +test-hunit +test-properties +trustworthy" + +RDEPEND=">=dev-haskell/bifunctors-3:=[profile?] <dev-haskell/bifunctors-4:=[profile?] + >=dev-haskell/comonad-3:=[profile?] <dev-haskell/comonad-4:=[profile?] + >=dev-haskell/comonad-transformers-3:=[profile?] <dev-haskell/comonad-transformers-4:=[profile?] + >=dev-haskell/comonads-fd-3:=[profile?] <dev-haskell/comonads-fd-4:=[profile?] + >=dev-haskell/contravariant-0.3:=[profile?] <dev-haskell/contravariant-1:=[profile?] + >=dev-haskell/distributive-0.3:=[profile?] <dev-haskell/distributive-1:=[profile?] + >=dev-haskell/generic-deriving-1.4:=[profile?] <dev-haskell/generic-deriving-1.7:=[profile?] + >=dev-haskell/hashable-1.1.2.3:=[profile?] <dev-haskell/hashable-1.3:=[profile?] + >=dev-haskell/monadcatchio-transformers-0.3:=[profile?] <dev-haskell/monadcatchio-transformers-0.4:=[profile?] + >=dev-haskell/mtl-2.0.1:=[profile?] <dev-haskell/mtl-2.2:=[profile?] + >=dev-haskell/parallel-3.1.0.1:=[profile?] <dev-haskell/parallel-3.3:=[profile?] + >=dev-haskell/profunctor-extras-3.3:=[profile?] <dev-haskell/profunctor-extras-4:=[profile?] + >=dev-haskell/profunctors-3.2:=[profile?] <dev-haskell/profunctors-4:=[profile?] + >=dev-haskell/reflection-1.1.6:=[profile?] <dev-haskell/reflection-2:=[profile?] + >=dev-haskell/semigroupoids-3.0.2:=[profile?] <dev-haskell/semigroupoids-4:=[profile?] + >=dev-haskell/semigroups-0.8.4:=[profile?] <dev-haskell/semigroups-1:=[profile?] + >=dev-haskell/split-0.2:=[profile?] <dev-haskell/split-0.3:=[profile?] + >=dev-haskell/tagged-0.4.4:=[profile?] <dev-haskell/tagged-1:=[profile?] + >=dev-haskell/text-0.11:=[profile?] <dev-haskell/text-0.12:=[profile?] + >=dev-haskell/transformers-0.2:=[profile?] <dev-haskell/transformers-0.4:=[profile?] + >=dev-haskell/transformers-compat-0.1:=[profile?] <dev-haskell/transformers-compat-1:=[profile?] + >=dev-haskell/unordered-containers-0.2:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/vector-0.9:=[profile?] <dev-haskell/vector-0.11:=[profile?] + >=dev-haskell/void-0.5:=[profile?] <dev-haskell/void-1:=[profile?] + >=dev-lang/ghc-7.0.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.10.0.0 + test? ( test-doctests? ( >=dev-haskell/doctest-0.9.1 + dev-haskell/nats + >=dev-haskell/simple-reflect-0.3.1 + test-hunit? ( >=dev-haskell/hunit-1.2 + >=dev-haskell/test-framework-0.6 + >=dev-haskell/test-framework-hunit-0.2 + >=dev-haskell/test-framework-th-0.2 + test-properties? ( >=dev-haskell/quickcheck-2.4 + >=dev-haskell/test-framework-quickcheck2-0.2 ) ) + !test-hunit? ( test-properties? ( >=dev-haskell/quickcheck-2.4 + >=dev-haskell/test-framework-0.6 + >=dev-haskell/test-framework-quickcheck2-0.2 + >=dev-haskell/test-framework-th-0.2 ) ) ) + !test-doctests? ( test-hunit? ( >=dev-haskell/hunit-1.2 + >=dev-haskell/test-framework-0.6 + >=dev-haskell/test-framework-hunit-0.2 + >=dev-haskell/test-framework-th-0.2 + test-properties? ( >=dev-haskell/quickcheck-2.4 + >=dev-haskell/test-framework-quickcheck2-0.2 ) ) + !test-hunit? ( test-properties? ( >=dev-haskell/quickcheck-2.4 + >=dev-haskell/test-framework-0.6 + >=dev-haskell/test-framework-quickcheck2-0.2 + >=dev-haskell/test-framework-th-0.2 ) ) ) ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag benchmark-uniplate benchmark-uniplate) \ + $(cabal_flag dump-splices dump-splices) \ + $(cabal_flag inlining inlining) \ + $(cabal_flag lib-werror lib-werror) \ + $(cabal_flag old-inline-pragmas old-inline-pragmas) \ + $(cabal_flag safe safe) \ + $(cabal_flag test-doctests test-doctests) \ + $(cabal_flag test-hunit test-hunit) \ + $(cabal_flag test-properties test-properties) \ + $(cabal_flag trustworthy trustworthy) +} diff --git a/dev-haskell/lens/lens-4.11.ebuild b/dev-haskell/lens/lens-4.11.ebuild new file mode 100644 index 000000000000..59baf01f22f8 --- /dev/null +++ b/dev-haskell/lens/lens-4.11.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.4.3 +#hackport: flags: -lib-werror + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Lenses, Folds and Traversals" +HOMEPAGE="http://github.com/ekmett/lens/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="benchmark-uniplate dump-splices +inlining j old-inline-pragmas safe +test-doctests +test-hlint +test-hunit +test-properties +trustworthy" + +RDEPEND=">=dev-haskell/bifunctors-5:=[profile?] <dev-haskell/bifunctors-6:=[profile?] + >=dev-haskell/comonad-4:=[profile?] <dev-haskell/comonad-5:=[profile?] + >=dev-haskell/contravariant-0.3:=[profile?] <dev-haskell/contravariant-2:=[profile?] + >=dev-haskell/distributive-0.3:=[profile?] <dev-haskell/distributive-1:=[profile?] + >=dev-haskell/exceptions-0.1.1:=[profile?] <dev-haskell/exceptions-1:=[profile?] + >=dev-haskell/free-4:=[profile?] <dev-haskell/free-5:=[profile?] + >=dev-haskell/hashable-1.1.2.3:=[profile?] <dev-haskell/hashable-1.3:=[profile?] + >=dev-haskell/kan-extensions-4.2.1:=[profile?] <dev-haskell/kan-extensions-5:=[profile?] + >=dev-haskell/mtl-2.0.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?] + >=dev-haskell/parallel-3.1.0.1:=[profile?] <dev-haskell/parallel-3.3:=[profile?] + >=dev-haskell/profunctors-5:=[profile?] <dev-haskell/profunctors-6:=[profile?] + >=dev-haskell/reflection-1.1.6:=[profile?] <dev-haskell/reflection-2:=[profile?] + >=dev-haskell/semigroupoids-5:=[profile?] <dev-haskell/semigroupoids-6:=[profile?] + >=dev-haskell/semigroups-0.8.4:=[profile?] <dev-haskell/semigroups-1:=[profile?] + >=dev-haskell/tagged-0.4.4:=[profile?] <dev-haskell/tagged-1:=[profile?] + >=dev-haskell/text-0.11:=[profile?] <dev-haskell/text-1.3:=[profile?] + >=dev-haskell/transformers-0.2:=[profile?] <dev-haskell/transformers-0.5:=[profile?] + >=dev-haskell/transformers-compat-0.4:=[profile?] <dev-haskell/transformers-compat-1:=[profile?] + >=dev-haskell/unordered-containers-0.2:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/vector-0.9:=[profile?] <dev-haskell/vector-0.11:=[profile?] + >=dev-haskell/void-0.5:=[profile?] <dev-haskell/void-1:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + test? ( test-doctests? ( >=dev-haskell/doctest-0.9.1 + dev-haskell/generic-deriving + dev-haskell/nats + >=dev-haskell/semigroups-0.9 + >=dev-haskell/simple-reflect-0.3.1 + test-properties? ( >=dev-haskell/quickcheck-2.4 + >=dev-haskell/test-framework-0.6 + >=dev-haskell/test-framework-quickcheck2-0.2 + >=dev-haskell/test-framework-th-0.2 ) ) + test-hunit? ( >=dev-haskell/hunit-1.2 + >=dev-haskell/test-framework-0.6 + >=dev-haskell/test-framework-hunit-0.2 + >=dev-haskell/test-framework-th-0.2 + test-properties? ( >=dev-haskell/quickcheck-2.4 + >=dev-haskell/test-framework-quickcheck2-0.2 ) ) ) + test-hlint? ( test-doctests? ( test? ( >=dev-haskell/hlint-1.7 ) ) + !test-doctests? ( test-hunit? ( test? ( >=dev-haskell/hlint-1.7 ) ) + !test-hunit? ( test-properties? ( test? ( >=dev-haskell/hlint-1.7 + >=dev-haskell/quickcheck-2.4 + >=dev-haskell/test-framework-0.6 + >=dev-haskell/test-framework-quickcheck2-0.2 + >=dev-haskell/test-framework-th-0.2 ) ) + !test-properties? ( test? ( >=dev-haskell/hlint-1.7 ) ) ) ) ) + !test-hlint? ( test? ( !test-doctests? ( !test-hunit? ( test-properties? ( >=dev-haskell/quickcheck-2.4 + >=dev-haskell/test-framework-0.6 + >=dev-haskell/test-framework-quickcheck2-0.2 + >=dev-haskell/test-framework-th-0.2 ) ) ) ) ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag benchmark-uniplate benchmark-uniplate) \ + $(cabal_flag dump-splices dump-splices) \ + $(cabal_flag inlining inlining) \ + $(cabal_flag j j) \ + --flag=-lib-werror \ + $(cabal_flag old-inline-pragmas old-inline-pragmas) \ + $(cabal_flag safe safe) \ + $(cabal_flag test-doctests test-doctests) \ + $(cabal_flag test-hlint test-hlint) \ + $(cabal_flag test-hunit test-hunit) \ + $(cabal_flag test-properties test-properties) \ + $(cabal_flag trustworthy trustworthy) +} diff --git a/dev-haskell/lens/lens-4.2.ebuild b/dev-haskell/lens/lens-4.2.ebuild new file mode 100644 index 000000000000..15ed341ae287 --- /dev/null +++ b/dev-haskell/lens/lens-4.2.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.4.2.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Lenses, Folds and Traversals" +HOMEPAGE="http://github.com/ekmett/lens/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="benchmark-uniplate dump-splices +inlining j lib-werror old-inline-pragmas safe +test-doctests +test-hlint +test-hunit +test-properties +trustworthy" +RESTRICT="test" + +RDEPEND=">=dev-haskell/aeson-0.7:=[profile?] <dev-haskell/aeson-0.8:=[profile?] + >=dev-haskell/attoparsec-0.10:=[profile?] <dev-haskell/attoparsec-0.13:=[profile?] + >=dev-haskell/bifunctors-4:=[profile?] <dev-haskell/bifunctors-5:=[profile?] + >=dev-haskell/comonad-4:=[profile?] <dev-haskell/comonad-5:=[profile?] + >=dev-haskell/contravariant-0.3:=[profile?] <dev-haskell/contravariant-1:=[profile?] + >=dev-haskell/distributive-0.3:=[profile?] <dev-haskell/distributive-1:=[profile?] + >=dev-haskell/exceptions-0.1.1:=[profile?] <dev-haskell/exceptions-1:=[profile?] + >=dev-haskell/free-4:=[profile?] <dev-haskell/free-5:=[profile?] + >=dev-haskell/hashable-1.1.2.3:=[profile?] <dev-haskell/hashable-1.3:=[profile?] + >=dev-haskell/mtl-2.0.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?] + >=dev-haskell/parallel-3.1.0.1:=[profile?] <dev-haskell/parallel-3.3:=[profile?] + >=dev-haskell/primitive-0.4.0.1:=[profile?] <dev-haskell/primitive-0.6:=[profile?] + >=dev-haskell/profunctors-4:=[profile?] <dev-haskell/profunctors-5:=[profile?] + >=dev-haskell/reflection-1.1.6:=[profile?] <dev-haskell/reflection-2:=[profile?] + >=dev-haskell/scientific-0.3.2:=[profile?] <dev-haskell/scientific-0.4:=[profile?] + >=dev-haskell/semigroupoids-4:=[profile?] <dev-haskell/semigroupoids-5:=[profile?] + >=dev-haskell/semigroups-0.8.4:=[profile?] <dev-haskell/semigroups-1:=[profile?] + >=dev-haskell/split-0.2:=[profile?] <dev-haskell/split-0.3:=[profile?] + >=dev-haskell/tagged-0.4.4:=[profile?] <dev-haskell/tagged-1:=[profile?] + >=dev-haskell/text-0.11:=[profile?] <dev-haskell/text-1.2:=[profile?] + >=dev-haskell/transformers-0.2:=[profile?] <dev-haskell/transformers-0.5:=[profile?] + >=dev-haskell/transformers-compat-0.1:=[profile?] <dev-haskell/transformers-compat-1:=[profile?] + >=dev-haskell/unordered-containers-0.2:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/vector-0.9:=[profile?] <dev-haskell/vector-0.11:=[profile?] + >=dev-haskell/void-0.5:=[profile?] <dev-haskell/void-1:=[profile?] + >=dev-haskell/zlib-0.5.4:=[profile?] <dev-haskell/zlib-0.6:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + test? ( test-doctests? ( >=dev-haskell/doctest-0.9.1 + dev-haskell/generic-deriving + dev-haskell/nats + >=dev-haskell/semigroups-0.9 + >=dev-haskell/simple-reflect-0.3.1 + test-properties? ( >=dev-haskell/quickcheck-2.4 + >=dev-haskell/test-framework-0.6 + >=dev-haskell/test-framework-quickcheck2-0.2 + >=dev-haskell/test-framework-th-0.2 ) ) + test-hunit? ( >=dev-haskell/hunit-1.2 + >=dev-haskell/test-framework-0.6 + >=dev-haskell/test-framework-hunit-0.2 + >=dev-haskell/test-framework-th-0.2 + test-properties? ( >=dev-haskell/quickcheck-2.4 + >=dev-haskell/test-framework-quickcheck2-0.2 ) ) ) + test-hlint? ( test-doctests? ( test? ( >=dev-haskell/hlint-1.7 ) ) + !test-doctests? ( test-hunit? ( test? ( >=dev-haskell/hlint-1.7 ) ) + !test-hunit? ( test-properties? ( test? ( >=dev-haskell/hlint-1.7 + >=dev-haskell/quickcheck-2.4 + >=dev-haskell/test-framework-0.6 + >=dev-haskell/test-framework-quickcheck2-0.2 + >=dev-haskell/test-framework-th-0.2 ) ) + !test-properties? ( test? ( >=dev-haskell/hlint-1.7 ) ) ) ) ) + !test-hlint? ( test? ( !test-doctests? ( !test-hunit? ( test-properties? ( >=dev-haskell/quickcheck-2.4 + >=dev-haskell/test-framework-0.6 + >=dev-haskell/test-framework-quickcheck2-0.2 + >=dev-haskell/test-framework-th-0.2 ) ) ) ) ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag benchmark-uniplate benchmark-uniplate) \ + $(cabal_flag dump-splices dump-splices) \ + $(cabal_flag inlining inlining) \ + $(cabal_flag j j) \ + $(cabal_flag lib-werror lib-werror) \ + $(cabal_flag old-inline-pragmas old-inline-pragmas) \ + $(cabal_flag safe safe) \ + $(cabal_flag test-doctests test-doctests) \ + $(cabal_flag test-hlint test-hlint) \ + $(cabal_flag test-hunit test-hunit) \ + $(cabal_flag test-properties test-properties) \ + $(cabal_flag trustworthy trustworthy) +} diff --git a/dev-haskell/lens/lens-4.6.0.1.ebuild b/dev-haskell/lens/lens-4.6.0.1.ebuild new file mode 100644 index 000000000000..bea898133d92 --- /dev/null +++ b/dev-haskell/lens/lens-4.6.0.1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.4.4.9999 +#hackport: flags: -lib-werror + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Lenses, Folds and Traversals" +HOMEPAGE="http://github.com/ekmett/lens/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="benchmark-uniplate dump-splices +inlining j old-inline-pragmas safe +test-doctests +test-hlint +test-hunit +test-properties +trustworthy" + +RDEPEND=">=dev-haskell/bifunctors-4:=[profile?] <dev-haskell/bifunctors-5:=[profile?] + >=dev-haskell/comonad-4:=[profile?] <dev-haskell/comonad-5:=[profile?] + >=dev-haskell/contravariant-0.3:=[profile?] <dev-haskell/contravariant-2:=[profile?] + >=dev-haskell/distributive-0.3:=[profile?] <dev-haskell/distributive-1:=[profile?] + >=dev-haskell/exceptions-0.1.1:=[profile?] <dev-haskell/exceptions-1:=[profile?] + >=dev-haskell/free-4:=[profile?] <dev-haskell/free-5:=[profile?] + >=dev-haskell/hashable-1.1.2.3:=[profile?] <dev-haskell/hashable-1.3:=[profile?] + >=dev-haskell/mtl-2.0.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?] + >=dev-haskell/parallel-3.1.0.1:=[profile?] <dev-haskell/parallel-3.3:=[profile?] + >=dev-haskell/primitive-0.4.0.1:=[profile?] <dev-haskell/primitive-0.6:=[profile?] + >=dev-haskell/profunctors-4:=[profile?] <dev-haskell/profunctors-5:=[profile?] + >=dev-haskell/reflection-1.1.6:=[profile?] <dev-haskell/reflection-2:=[profile?] + >=dev-haskell/semigroupoids-4:=[profile?] <dev-haskell/semigroupoids-5:=[profile?] + >=dev-haskell/semigroups-0.8.4:=[profile?] <dev-haskell/semigroups-1:=[profile?] + >=dev-haskell/split-0.2:=[profile?] <dev-haskell/split-0.3:=[profile?] + >=dev-haskell/tagged-0.4.4:=[profile?] <dev-haskell/tagged-1:=[profile?] + >=dev-haskell/text-0.11:=[profile?] <dev-haskell/text-1.3:=[profile?] + >=dev-haskell/transformers-0.2:=[profile?] <dev-haskell/transformers-0.5:=[profile?] + >=dev-haskell/transformers-compat-0.3:=[profile?] <dev-haskell/transformers-compat-1:=[profile?] + >=dev-haskell/unordered-containers-0.2:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/vector-0.9:=[profile?] <dev-haskell/vector-0.11:=[profile?] + >=dev-haskell/void-0.5:=[profile?] <dev-haskell/void-1:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + test? ( test-doctests? ( >=dev-haskell/doctest-0.9.1 + dev-haskell/generic-deriving + dev-haskell/nats + >=dev-haskell/semigroups-0.9 + >=dev-haskell/simple-reflect-0.3.1 + test-properties? ( >=dev-haskell/quickcheck-2.4 + >=dev-haskell/test-framework-0.6 + >=dev-haskell/test-framework-quickcheck2-0.2 + >=dev-haskell/test-framework-th-0.2 ) ) + test-hunit? ( >=dev-haskell/hunit-1.2 + >=dev-haskell/test-framework-0.6 + >=dev-haskell/test-framework-hunit-0.2 + >=dev-haskell/test-framework-th-0.2 + test-properties? ( >=dev-haskell/quickcheck-2.4 + >=dev-haskell/test-framework-quickcheck2-0.2 ) ) ) + test-hlint? ( test-doctests? ( test? ( >=dev-haskell/hlint-1.7 ) ) + !test-doctests? ( test-hunit? ( test? ( >=dev-haskell/hlint-1.7 ) ) + !test-hunit? ( test-properties? ( test? ( >=dev-haskell/hlint-1.7 + >=dev-haskell/quickcheck-2.4 + >=dev-haskell/test-framework-0.6 + >=dev-haskell/test-framework-quickcheck2-0.2 + >=dev-haskell/test-framework-th-0.2 ) ) + !test-properties? ( test? ( >=dev-haskell/hlint-1.7 ) ) ) ) ) + !test-hlint? ( test? ( !test-doctests? ( !test-hunit? ( test-properties? ( >=dev-haskell/quickcheck-2.4 + >=dev-haskell/test-framework-0.6 + >=dev-haskell/test-framework-quickcheck2-0.2 + >=dev-haskell/test-framework-th-0.2 ) ) ) ) ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag benchmark-uniplate benchmark-uniplate) \ + $(cabal_flag dump-splices dump-splices) \ + $(cabal_flag inlining inlining) \ + $(cabal_flag j j) \ + --flag=-lib-werror \ + $(cabal_flag old-inline-pragmas old-inline-pragmas) \ + $(cabal_flag safe safe) \ + $(cabal_flag test-doctests test-doctests) \ + $(cabal_flag test-hlint test-hlint) \ + $(cabal_flag test-hunit test-hunit) \ + $(cabal_flag test-properties test-properties) \ + $(cabal_flag trustworthy trustworthy) +} diff --git a/dev-haskell/lens/lens-4.9.1.ebuild b/dev-haskell/lens/lens-4.9.1.ebuild new file mode 100644 index 000000000000..3f78023fea9d --- /dev/null +++ b/dev-haskell/lens/lens-4.9.1.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.4.5.9999 +#hackport: flags: -lib-werror + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Lenses, Folds and Traversals" +HOMEPAGE="http://github.com/ekmett/lens/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="benchmark-uniplate dump-splices +inlining j old-inline-pragmas safe +test-doctests +test-hlint +test-hunit +test-properties +trustworthy" + +RESTRICT=test # slooooooooooow + +RDEPEND=">=dev-haskell/bifunctors-4:=[profile?] <dev-haskell/bifunctors-5:=[profile?] + >=dev-haskell/comonad-4:=[profile?] <dev-haskell/comonad-5:=[profile?] + >=dev-haskell/contravariant-0.3:=[profile?] <dev-haskell/contravariant-2:=[profile?] + >=dev-haskell/distributive-0.3:=[profile?] <dev-haskell/distributive-1:=[profile?] + >=dev-haskell/exceptions-0.1.1:=[profile?] <dev-haskell/exceptions-1:=[profile?] + >=dev-haskell/free-4:=[profile?] <dev-haskell/free-5:=[profile?] + >=dev-haskell/hashable-1.1.2.3:=[profile?] <dev-haskell/hashable-1.3:=[profile?] + >=dev-haskell/kan-extensions-4.2.1:=[profile?] <dev-haskell/kan-extensions-5:=[profile?] + >=dev-haskell/mtl-2.0.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?] + >=dev-haskell/parallel-3.1.0.1:=[profile?] <dev-haskell/parallel-3.3:=[profile?] + >=dev-haskell/profunctors-4:=[profile?] <dev-haskell/profunctors-5:=[profile?] + >=dev-haskell/reflection-1.1.6:=[profile?] <dev-haskell/reflection-2:=[profile?] + >=dev-haskell/semigroupoids-4:=[profile?] <dev-haskell/semigroupoids-5:=[profile?] + >=dev-haskell/semigroups-0.8.4:=[profile?] <dev-haskell/semigroups-1:=[profile?] + >=dev-haskell/tagged-0.4.4:=[profile?] <dev-haskell/tagged-1:=[profile?] + >=dev-haskell/text-0.11:=[profile?] <dev-haskell/text-1.3:=[profile?] + >=dev-haskell/transformers-0.2:=[profile?] <dev-haskell/transformers-0.5:=[profile?] + >=dev-haskell/transformers-compat-0.4:=[profile?] <dev-haskell/transformers-compat-1:=[profile?] + >=dev-haskell/unordered-containers-0.2:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/vector-0.9:=[profile?] <dev-haskell/vector-0.11:=[profile?] + >=dev-haskell/void-0.5:=[profile?] <dev-haskell/void-1:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + test? ( test-doctests? ( >=dev-haskell/doctest-0.9.1 + dev-haskell/generic-deriving + dev-haskell/nats + >=dev-haskell/semigroups-0.9 + >=dev-haskell/simple-reflect-0.3.1 + test-properties? ( >=dev-haskell/quickcheck-2.4 + >=dev-haskell/test-framework-0.6 + >=dev-haskell/test-framework-quickcheck2-0.2 + >=dev-haskell/test-framework-th-0.2 ) ) + test-hunit? ( >=dev-haskell/hunit-1.2 + >=dev-haskell/test-framework-0.6 + >=dev-haskell/test-framework-hunit-0.2 + >=dev-haskell/test-framework-th-0.2 + test-properties? ( >=dev-haskell/quickcheck-2.4 + >=dev-haskell/test-framework-quickcheck2-0.2 ) ) ) + test-hlint? ( test-doctests? ( test? ( >=dev-haskell/hlint-1.7 ) ) + !test-doctests? ( test-hunit? ( test? ( >=dev-haskell/hlint-1.7 ) ) + !test-hunit? ( test-properties? ( test? ( >=dev-haskell/hlint-1.7 + >=dev-haskell/quickcheck-2.4 + >=dev-haskell/test-framework-0.6 + >=dev-haskell/test-framework-quickcheck2-0.2 + >=dev-haskell/test-framework-th-0.2 ) ) + !test-properties? ( test? ( >=dev-haskell/hlint-1.7 ) ) ) ) ) + !test-hlint? ( test? ( !test-doctests? ( !test-hunit? ( test-properties? ( >=dev-haskell/quickcheck-2.4 + >=dev-haskell/test-framework-0.6 + >=dev-haskell/test-framework-quickcheck2-0.2 + >=dev-haskell/test-framework-th-0.2 ) ) ) ) ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag benchmark-uniplate benchmark-uniplate) \ + $(cabal_flag dump-splices dump-splices) \ + $(cabal_flag inlining inlining) \ + $(cabal_flag j j) \ + --flag=-lib-werror \ + $(cabal_flag old-inline-pragmas old-inline-pragmas) \ + $(cabal_flag safe safe) \ + $(cabal_flag test-doctests test-doctests) \ + $(cabal_flag test-hlint test-hlint) \ + $(cabal_flag test-hunit test-hunit) \ + $(cabal_flag test-properties test-properties) \ + $(cabal_flag trustworthy trustworthy) +} diff --git a/dev-haskell/lens/metadata.xml b/dev-haskell/lens/metadata.xml new file mode 100644 index 000000000000..e817d8842f5f --- /dev/null +++ b/dev-haskell/lens/metadata.xml @@ -0,0 +1,100 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>haskell</herd> + <longdescription> + This package comes \"Batteries Included\" with many useful lenses for the types + commonly used from the Haskell Platform, and with tools for automatically + generating lenses and isomorphisms for user-supplied data types. + + The combinators in @Control.Lens@ provide a highly generic toolbox for composing + families of getters, folds, isomorphisms, traversals, setters and lenses and their + indexed variants. + + An overview, with a large number of examples can be found in the @README@: <https://github.com/ekmett/lens#lens-lenses-folds-and-traversals> + + A video on how to use lenses and how they are constructed is available from youtube: <http://youtu.be/cefnmjtAolY?hd=1> + + Slides can be obtained here: <http://comonad.com/haskell/Lenses-Folds-and-Traversals-NYC.pdf> + + More information on the care and feeding of lenses, including a brief tutorial and motivation + for their types can be found on the lens wiki: <https://github.com/ekmett/lens/wiki> + + A small game of @pong@ and other more complex examples that manage their state using lenses can be found in the example folder: <https://github.com/ekmett/lens/blob/master/examples/> + + /Lenses, Folds and Traversals/ + + The core of the hierarchy of lens-like constructions looks like: + + + <<http://i.imgur.com/4fHw3Fd.png>> + + Local copy (<Hierarchy.png>) + + You can compose any two elements of the hierarchy above using @(.)@ from the @Prelude@, and you can + use any element of the hierarchy as any type it linked to above it. + + The result is their lowest upper bound in the hierarchy (or an error if that bound doesn't exist). + + For instance: + + * You can use any 'Traversal' as a 'Fold' or as a 'Setter'. + + * The composition of a 'Traversal' and a 'Getter' yields a 'Fold'. + + /Minimizing Dependencies/ + + If you want to provide lenses and traversals for your own types in your own libraries, then you + can do so without incurring a dependency on this (or any other) lens package at all. + + /e.g./ for a data type: + + > data Foo a = Foo Int Int a + + You can define lenses such as + + > -- bar :: Lens' (Foo a) Int + > bar :: Functor f => (Int -> f Int) -> Foo a -> f (Foo a) + > bar f (Foo a b c) = fmap (\a' -> Foo a' b c) (f a) + + > -- baz :: Lens (Foo a) (Foo b) a b + > quux :: Functor f => (a -> f b) -> Foo a -> f (Foo b) + > quux f (Foo a b c) = fmap (Foo a b) (f c) + + without the need to use any type that isn't already defined in the @Prelude@. + + And you can define a traversal of multiple fields with 'Control.Applicative.Applicative': + + > -- traverseBarAndBaz :: Traversal' (Foo a) Int + > traverseBarAndBaz :: Applicative f => (Int -> f Int) -> Foo a -> f (Foo a) + > traverseBarAndBaz f (Foo a b c) = Foo <$> f a <*> f b <*> pure c + + What is provided in this library is a number of stock lenses and traversals for + common haskell types, a wide array of combinators for working them, and more + exotic functionality, (/e.g./ getters, setters, indexed folds, isomorphisms). + </longdescription> + <use> + <flag name="benchmark-uniplate">Enable benchmarking against Neil Mitchell's + uniplate library for comparative performance analysis. Defaults to being + turned off to avoid the extra dependency.</flag> + <flag name="inlining">Generate inline pragmas when using + template-haskell. This defaults to enabled, but you can + to shut it off to benchmark the relative performance impact, + or as last ditch effort to address compile errors resulting + from the myriad versions of template-haskell that all purport to be 2.8.</flag> + <flag name="old-inline-pragmas">Some 7.6.1-rc1 users report their TH still + uses old style inline pragmas. This lets them turn on inlining.</flag> + <flag name="safe">Disallow unsafeCoerce</flag> + <flag name="dump-splices">Build and run the doctests test-suite.</flag> + <flag name="j">Attempt a parallel build with GHC 7.8.</flag> + <flag name="test-doctests">Build and run the doctests test-suite.</flag> + <flag name="test-hlint">You can disable the hlint test suite with -f-test-hlint</flag> + <flag name="test-hunit">You can disable the hunit test suite with -f-test-hunit</flag> + <flag name="test-properties">Build the properties test if we're building tests</flag> + <flag name="trustworthy">Assert that we are trustworthy when we can</flag> + <flag name="lib-werror">Turn on ghc-options: -Werror</flag> + </use> + <upstream> + <remote-id type="github">ekmett/lens</remote-id> + </upstream> +</pkgmetadata> |