diff options
Diffstat (limited to 'dev-haskell/lens')
-rw-r--r-- | dev-haskell/lens/Manifest | 15 | ||||
-rw-r--r-- | dev-haskell/lens/lens-3.10.0.1.ebuild | 82 | ||||
-rw-r--r-- | dev-haskell/lens/lens-3.9.2.ebuild | 85 | ||||
-rw-r--r-- | dev-haskell/lens/lens-4.11.ebuild | 89 | ||||
-rw-r--r-- | dev-haskell/lens/lens-4.14.ebuild | 74 | ||||
-rw-r--r-- | dev-haskell/lens/lens-4.2.ebuild | 94 | ||||
-rw-r--r-- | dev-haskell/lens/lens-4.6.0.1.ebuild | 90 | ||||
-rw-r--r-- | dev-haskell/lens/lens-4.9.1.ebuild | 91 | ||||
-rw-r--r-- | dev-haskell/lens/metadata.xml | 107 |
9 files changed, 727 insertions, 0 deletions
diff --git a/dev-haskell/lens/Manifest b/dev-haskell/lens/Manifest new file mode 100644 index 000000000000..bc37c0974ac2 --- /dev/null +++ b/dev-haskell/lens/Manifest @@ -0,0 +1,15 @@ +DIST lens-3.10.0.1.tar.gz 455039 BLAKE2B 8be7cb75d2576dd65be0f91ad0e7f0b56ef1ccbc6cac8383f0043a567e514f7c2fb1c6f6fcee7925b67e68db79503313b6577c482c96f9040230e30b6e9d9693 SHA512 3dbb1f547a63196bc37dc891e7cff63656a8f662404767bca53d4d722d1669034fada995518db1a4535e7e142552ee8ad9121db6029fe22509b7de8a44aea923 +DIST lens-3.9.2.tar.gz 454678 BLAKE2B 0c637a1a00279339a697b04d8204c14f598882e0cf222ab6d5e45cd096fe34f132cd0ab1133770ffcc857b4b02c7c1987d00b46ec0f6ef72c44801c78ff8b8af SHA512 63e3a39d0d0ad16d27a8e2319163f333b67bc9df2d89d1b7fbc4dd9944cd098f0ba4a571a66939a640143c86c2f3008d5db3619af14f11a8cbcc07c424349f7a +DIST lens-4.11.tar.gz 964787 BLAKE2B a3fefd1dc8fa3667c28b35ecef29219dd299e103d1138aa888fe610c4c1fe9b90802dc1dd43c3d8b3df34aa30cb3b0c9994550c6c6d745b7336320b6f959275c SHA512 9dc49c7a4c5cde508a5021522b41cdbb3c32b9de4be706fed189d16435828c03382cd6f069b4a17d13bcd0af390787e9f3343eea14e98662c3de3bbd5333143a +DIST lens-4.14.tar.gz 972873 BLAKE2B 4fdea38830b8d1c4b08f5818ef5a81e7534dc31e3a07a9dc64c91b6b1ecbca8b3fc3ce561abdb8a85bf57c63f4f092687d67780d6a48a0febbbd9ad1983ca2c1 SHA512 d27999472d281832bbf56c3dd762e1a6c310d07a21af4351e64a53d7cd197e538f30955aa108ba2f56bbfbe8612ba4b844a41667e36497f03c14797e23c9c01f +DIST lens-4.2.tar.gz 767603 BLAKE2B 2ea1d21ba0f5a4f741869aa7aebab8999c28bf14339fbaf1ed493e8f2035217f0ca62502cd5b11d1c3bbb1e577ed45d807b61b6ac363a60cbaec04add64fa32b SHA512 b1e583d3400c076f1e3648aa758b0d30d6a4e3fd9776eb9e115fbd7372b990c3aa3e5d8119de827b132e0e69a255b3532f3f044e936ac4d320cc146a6d04f7bf +DIST lens-4.6.0.1.tar.gz 767614 BLAKE2B 96e328e8b248de223cfda1df01d418aaf2e05edc2a70556805a408b32227c9246a69479e16085e7ac3abe632c702157cb31b07c94b4c92aae4346d855b06127a SHA512 0dd233ade1c5f0e3872711ecd378b69ff98353caa33cdbf1ec87bbf0356cd54842fc83870bb51b913abbb2dfd767414ebe79cec0e058cce16c29468a69880662 +DIST lens-4.9.1.tar.gz 964188 BLAKE2B 3efe4f86e592d997804c1976c7c3cfdde5cc52ef2379d531a7f4c4c43b6c834d4aaeec86309d73b5074d961d681aca36f8d0bb12f9953fd1f760a9bca72bd27c SHA512 f77d1c46a53b65e65bec4c993db087cee720e5a63f17d8beec38fe49b713bf36f4c4ff1564c6533044b8dfaaf5f5729ec98dbb55687f70fff1344e5112e8857b +EBUILD lens-3.10.0.1.ebuild 4027 BLAKE2B 6932390df6c846a16123ee7f55ce2da152b5b5a07413e7bd82fcce89177125be96fcc07345373319bfbf3016b00b00b0598a76d59f0141ad53e21a3f2871bf7f SHA512 cbb8059cabce05f10e2f1eb1dbecba1bab09afd8fe3f7c9c35733deb10a85cc1b1ac82cb8382598d239f55f631ca94f37193c5cb2855e5f987385c0e0dc89e60 +EBUILD lens-3.9.2.ebuild 4306 BLAKE2B 20e7cfe872d7116b85ca7280143881409ab2a13a4a98a57da46378d2fc45c4eff6a45bb7bac0cad3b2c7def0555cec253457c67a290d3d17f87068e520dc24e6 SHA512 6b50bb0e8eadcbcff65e32f11be037c63d21fa9b6b5453ac9d2388628dcb247fbffa3e2d559036d840cd15c351b4ea02185acf7fe0636e6dc283796cde7667db +EBUILD lens-4.11.ebuild 4306 BLAKE2B 390bc29680f15187d67983b233e7de98b841847af3826ac676bb8d858c889f5249574631597c6d37ae66202411cdf8bd947597519cfb204944cc715207c3793c SHA512 c5aaed22ad52faadb57387578801ebd09af7a5033d1662ab5f6e0dc2ddc0bd8261c889abab3d01cc5ea4a5c30dd3aa3e40191611a605c031c53efe14d53c74f0 +EBUILD lens-4.14.ebuild 3388 BLAKE2B 0dd145b085606efad2e88a14f4b2d55cb897b126b7b353452c6e940fb9cbf4fbdeac75ac66ab8ac5a947577227f3cfeff669e46915de8e3f7dbd44dc29e125e5 SHA512 20409c993cf7a989a1b64d785affa8d53c89ed07ffae0be79c526326b2c2c20142592fdbba2f65edff8abce851b6d955cb7089d9b08bfc5690b4d1be8b1c372c +EBUILD lens-4.2.ebuild 4705 BLAKE2B 6429026254cd996839c80b04b6980640eeea9d43496a974e23b9f0265428de80edba3679b90751048e118697a2aa4a98ea3c23ccb017c65452ce863a6b51bd73 SHA512 b9ad5400b48ad07b29763d60f82aeb4bd85ed5c33219593c02d8acd5da20c665b4251714d324e0bf952838d473ddd64b951c4c52e63e48bee6798a5976979a55 +EBUILD lens-4.6.0.1.ebuild 4377 BLAKE2B c4539f4747069a31476099f811e9eaef41c35ace2a204927cac83e4eb71aaf3495efd492273837d55d59d8b43cd3fda9bee3abd31b3e9e7f36bb8eb472b9cd17 SHA512 45885aad6bb5be0a56ff3afc212cdced433d7194a40e1bcab1901ba0687dd11cff2dbd483f84e8566d598ec3dad0b4f8a9b7576cc89d5d787319d28d0747d9fd +EBUILD lens-4.9.1.ebuild 4345 BLAKE2B 1dd85ae708f91e9b127085b60772bba79072f5040db1af4da45b966ecbf8281e422c81a5baf10cb7f786610eb75ce0b319cad63968a9622251f084669239e9f5 SHA512 3c75d0829a98ad1a8a6e883fb5c88e40bf08ed8a955e9186aef1795bf2485dc3ab30f88f413197505df9d0dde08bde81183fe0baa688e5fe1f7f71c0992a0555 +MISC metadata.xml 4924 BLAKE2B 0d937d25157349422abd09755aa6b90b31aab051e838188045fa774b5fa6c428c8ba1b5d6cf6d812441a59ac83ea46e467c21e097ea95ec420ef1c7fad3cef1f SHA512 54ee64d40c56b8ab2857b051ab8e1abf6dd7c68f3f5d539e636518f0c94bcaa34a3e5b038610b067a6473080a23cc2928b61c4405b0e3a2f0823313f6dbdb386 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..263f83cb35a8 --- /dev/null +++ b/dev-haskell/lens/lens-3.10.0.1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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="https://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..57388654399b --- /dev/null +++ b/dev-haskell/lens/lens-3.9.2.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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="https://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..d2414e10eb74 --- /dev/null +++ b/dev-haskell/lens/lens-4.11.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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="https://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.14.ebuild b/dev-haskell/lens/lens-4.14.ebuild new file mode 100644 index 000000000000..3fb375841c7e --- /dev/null +++ b/dev-haskell/lens/lens-4.14.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# ebuild generated by hackport 0.5.9999 +#hackport: flags: -test-hlint,+test-hunit,+test-properties + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Lenses, Folds and Traversals" +HOMEPAGE="https://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-templates +trustworthy" + +RDEPEND=">=dev-haskell/base-orphans-0.3:=[profile?] <dev-haskell/base-orphans-1:=[profile?] + >=dev-haskell/bifunctors-5:=[profile?] <dev-haskell/bifunctors-6:=[profile?] + >=dev-haskell/comonad-4:=[profile?] <dev-haskell/comonad-6:=[profile?] + >=dev-haskell/contravariant-1.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-5:=[profile?] <dev-haskell/kan-extensions-6:=[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-2.1:=[profile?] <dev-haskell/reflection-3:=[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.6:=[profile?] + >=dev-haskell/transformers-compat-0.4:=[profile?] <dev-haskell/transformers-compat-1:=[profile?] + >=dev-haskell/unordered-containers-0.2.4:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/vector-0.9:=[profile?] <dev-haskell/vector-0.12:=[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? ( >=dev-haskell/hunit-1.2 + >=dev-haskell/quickcheck-2.4 + >=dev-haskell/test-framework-0.6 + >=dev-haskell/test-framework-hunit-0.2 + >=dev-haskell/test-framework-quickcheck2-0.2 + >=dev-haskell/test-framework-th-0.2 + 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 ) ) +" + +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 old-inline-pragmas old-inline-pragmas) \ + $(cabal_flag safe safe) \ + $(cabal_flag test-doctests test-doctests) \ + --flag=-test-hlint \ + --flag=test-hunit \ + --flag=test-properties \ + $(cabal_flag test-templates test-templates) \ + $(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..c2a3203cf23b --- /dev/null +++ b/dev-haskell/lens/lens-4.2.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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="https://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..98e7d18bcc97 --- /dev/null +++ b/dev-haskell/lens/lens-4.6.0.1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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="https://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..fcb962375b77 --- /dev/null +++ b/dev-haskell/lens/lens-4.9.1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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="https://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..ffb64447adda --- /dev/null +++ b/dev-haskell/lens/metadata.xml @@ -0,0 +1,107 @@ +<?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 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="test-templates">Build the test templates 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> |