From a90e412442f902ee688444e77200bec5209dbc4e Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Wed, 15 Feb 2017 23:16:26 +0000 Subject: [PATCH] dev-haskell/lens: bump up to 4.14 Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- dev-haskell/lens/Manifest | 1 + dev-haskell/lens/lens-4.14.ebuild | 75 +++++++++++++++++++++++++++++++ dev-haskell/lens/metadata.xml | 1 + 3 files changed, 77 insertions(+) create mode 100644 dev-haskell/lens/lens-4.14.ebuild diff --git a/dev-haskell/lens/Manifest b/dev-haskell/lens/Manifest index 97ad7c6a9392..97f83ac62645 100644 --- a/dev-haskell/lens/Manifest +++ b/dev-haskell/lens/Manifest @@ -1,6 +1,7 @@ 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.14.tar.gz 972873 SHA256 70a3cd18ef352950b88d6cac449988b9320704b56dceda80e7de9f2907ee5f4b SHA512 d27999472d281832bbf56c3dd762e1a6c310d07a21af4351e64a53d7cd197e538f30955aa108ba2f56bbfbe8612ba4b844a41667e36497f03c14797e23c9c01f WHIRLPOOL e39116d9d8534564408ae8d216aa18cdb340013e1e6b478da8076745c4e5f6461f1be68aeacebd4128464750e3c0a291344ae7e9a7114c3322038cf6b323bcf0 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-4.14.ebuild b/dev-haskell/lens/lens-4.14.ebuild new file mode 100644 index 000000000000..39dc3d546500 --- /dev/null +++ b/dev-haskell/lens/lens-4.14.ebuild @@ -0,0 +1,75 @@ +# 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 +#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/bifunctors-5:=[profile?] =dev-haskell/comonad-4:=[profile?] =dev-haskell/contravariant-1.3:=[profile?] =dev-haskell/distributive-0.3:=[profile?] =dev-haskell/exceptions-0.1.1:=[profile?] =dev-haskell/free-4:=[profile?] =dev-haskell/hashable-1.1.2.3:=[profile?] =dev-haskell/kan-extensions-5:=[profile?] =dev-haskell/mtl-2.0.1:=[profile?] =dev-haskell/parallel-3.1.0.1:=[profile?] =dev-haskell/profunctors-5:=[profile?] =dev-haskell/reflection-2.1:=[profile?] =dev-haskell/semigroupoids-5:=[profile?] =dev-haskell/semigroups-0.8.4:=[profile?] =dev-haskell/tagged-0.4.4:=[profile?] =dev-haskell/text-0.11:=[profile?] =dev-haskell/transformers-0.2:=[profile?] =dev-haskell/transformers-compat-0.4:=[profile?] =dev-haskell/unordered-containers-0.2.4:=[profile?] =dev-haskell/vector-0.9:=[profile?] =dev-haskell/void-0.5:=[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/metadata.xml b/dev-haskell/lens/metadata.xml index 374c55eb419d..475ca4ea9656 100644 --- a/dev-haskell/lens/metadata.xml +++ b/dev-haskell/lens/metadata.xml @@ -94,6 +94,7 @@ You can disable the hlint test suite with -f-test-hlint You can disable the hunit test suite with -f-test-hunit Build the properties test if we're building tests + Build the test templates if we're building tests Assert that we are trustworthy when we can Turn on ghc-options: -Werror -- 2.26.2