summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-07-25 09:12:22 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2021-07-25 09:13:07 +0100
commita0e5a1d41b2dc2738b1f38a73a79a523b4844ada (patch)
treef234741b879dacfcde5850b62c06990e45bbdc86 /dev-haskell/lens
parentdev-libs/libsodium: Keyword 1.0.18_p20210617 alpha, #783072 (diff)
downloadgentoo-a0e5a1d41b2dc2738b1f38a73a79a523b4844ada.tar.gz
gentoo-a0e5a1d41b2dc2738b1f38a73a79a523b4844ada.tar.bz2
gentoo-a0e5a1d41b2dc2738b1f38a73a79a523b4844ada.zip
dev-haskell/lens: bump up to 4.19.2
Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/799386 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/lens')
-rw-r--r--dev-haskell/lens/Manifest2
-rw-r--r--dev-haskell/lens/lens-4.19.2-r2.ebuild88
2 files changed, 90 insertions, 0 deletions
diff --git a/dev-haskell/lens/Manifest b/dev-haskell/lens/Manifest
index 225cd89bec8e..104a4c01ac86 100644
--- a/dev-haskell/lens/Manifest
+++ b/dev-haskell/lens/Manifest
@@ -1 +1,3 @@
DIST lens-4.19.1.tar.gz 704985 BLAKE2B ddb9f660ff6a1930f356ce915f653f81dfa4814f4956e89d1df213dd57e2cab85eeea7be9efb46553c36448b01579319e8bf1d4c739cdc3bc13608d54f9e43f0 SHA512 50a596ce919abc93b453189453abdbf0f455e0531e5b83397d1e61308842222433fd7d4c6c6f5ec74f98d8dd26eefe861a0d88d5faf56a7b896a0b083b920a10
+DIST lens-4.19.2-r2.cabal 16053 BLAKE2B 66e0c6048fea41a029780e481e102e1881e0fa381eecbdfb3de01295669abf2ffb91c9c116cfaa9439d027ac4340ff86a37d18333a4ae03f9996be7129b8327d SHA512 6c2a535af6e73026884e925abcb7bca556ebef9cdfd8d340e0d03226b5c4347a9b3dc1b641b4e3386355a4e3e02694b72d076fd7dfabdf995297a2d0dfbb9cd5
+DIST lens-4.19.2.tar.gz 705314 BLAKE2B 02de2b8515225c07b039774da06e848c4c1332cb1fc28fe6f782502e8d8b34d09b40bb2272af006157940513b4ce97d192edc45529dd497686cee32a90bfe80d SHA512 f1627c950457c38b0363a71717b76c0c84eafdcebaf14904da632ea295195dee1fd11db07ca524988729254b0e018da4417e40c0cb4f8ff086fbe412ce89f4c6
diff --git a/dev-haskell/lens/lens-4.19.2-r2.ebuild b/dev-haskell/lens/lens-4.19.2-r2.ebuild
new file mode 100644
index 000000000000..e11ba5a2e8a7
--- /dev/null
+++ b/dev-haskell/lens/lens-4.19.2-r2.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.6.7.9999
+#hackport: flags: -lib-werror,test-hunit:test,test-properties:test,test-templates:test,test-doctests:test
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite rebuild-after-doc-workaround"
+inherit haskell-cabal
+
+DESCRIPTION="Lenses, Folds and Traversals"
+HOMEPAGE="https://github.com/ekmett/lens/"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz
+ https://hackage.haskell.org/package/${P}/revision/3.cabal -> ${PF}.cabal"
+
+LICENSE="BSD-2"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="benchmark-uniplate dump-splices +inlining j safe +trustworthy"
+
+RESTRICT=test # Ambiguous occurrence 'foldmap': Vector.foldMap or Foldable.foldMap
+
+RDEPEND=">=dev-haskell/base-orphans-0.5.2:=[profile?] <dev-haskell/base-orphans-1:=[profile?]
+ >=dev-haskell/bifunctors-5.1:=[profile?] <dev-haskell/bifunctors-6:=[profile?]
+ >=dev-haskell/call-stack-0.1:=[profile?] <dev-haskell/call-stack-0.4:=[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-6:=[profile?]
+ >=dev-haskell/hashable-1.1.2.3:=[profile?] <dev-haskell/hashable-1.4:=[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.2.1:=[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/tagged-0.4.4:=[profile?] <dev-haskell/tagged-1:=[profile?]
+ >=dev-haskell/text-0.11:=[profile?] <dev-haskell/text-1.3:=[profile?]
+ >=dev-haskell/th-abstraction-0.3:=[profile?] <dev-haskell/th-abstraction-0.5:=[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.13:=[profile?]
+ >=dev-lang/ghc-8.4.3:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-2.2.0.1
+ >=dev-haskell/cabal-doctest-1 <dev-haskell/cabal-doctest-1.1
+ 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/generic-deriving
+ dev-haskell/nats
+ >=dev-haskell/semigroups-0.9
+ >=dev-haskell/simple-reflect-0.3.1
+ >=dev-haskell/doctest-0.11.4 <dev-haskell/doctest-0.18 )
+"
+
+src_prepare() {
+ default
+
+ cabal_chdeps \
+ 'Cabal >= 1.10 && <3.3' 'Cabal >= 1.10'
+}
+
+src_prepare() {
+ default
+
+ cp "${DISTDIR}/${PF}.cabal" "${S}/${PN}.cabal" || die
+}
+
+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 safe safe) \
+ $(cabal_flag test test-doctests) \
+ $(cabal_flag test test-hunit) \
+ $(cabal_flag test test-properties) \
+ $(cabal_flag test test-templates) \
+ $(cabal_flag trustworthy trustworthy)
+}