summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-haskell/retry/Manifest1
-rw-r--r--dev-haskell/retry/metadata.xml16
-rw-r--r--dev-haskell/retry/retry-0.9.3.1.ebuild40
3 files changed, 45 insertions, 12 deletions
diff --git a/dev-haskell/retry/Manifest b/dev-haskell/retry/Manifest
index 224c212555c4..c2cac5759f82 100644
--- a/dev-haskell/retry/Manifest
+++ b/dev-haskell/retry/Manifest
@@ -1 +1,2 @@
DIST retry-0.9.0.0.tar.gz 15863 BLAKE2B 2ebe8e71b700f0bedf19a43e08171f98219009dc9ff4f6069ada64945128839f5321c9a2f0602a976431cedbb0c77a56b01805005b8cb4c746b4d4d875b90921 SHA512 89c6ab55a5b0050f7132566d0c9d6ddbbdb927d21c5fcf8fe959fb04228398bc87aa9b51752a881f8a581e6030ac7d21d344dc2c3fea192b0330519e94b33269
+DIST retry-0.9.3.1.tar.gz 18717 BLAKE2B 6db19277fb92e9a12f68f8ce0bd0017426540ca8d842fce85d36c62f553afdc91019e0a8326d3f52e15762a6129192f69b73ab61954222bbe0f6d2171b6b133d SHA512 6ce93f69bffcc6a13da9878ea1ec9547dbd3ba5f84148b3ee408292138297329ded6e3aa0daf0cfa76a9b5e99696f66721e0abc711d0a92383c3ec6584de0861
diff --git a/dev-haskell/retry/metadata.xml b/dev-haskell/retry/metadata.xml
index bd401a627e00..8e465ebd89e3 100644
--- a/dev-haskell/retry/metadata.xml
+++ b/dev-haskell/retry/metadata.xml
@@ -5,16 +5,8 @@
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
- <longdescription>
- This package exposes combinators that can wrap arbitrary
- monadic actions. They run the action and potentially retry
- running it with some configurable delay for a configurable
- number of times.
- The purpose is to make it easier to work with IO and
- especially network IO actions that often experience temporary
- failure and warrant retrying of the original action. For
- example, a database query may time out for a while, in which
- case we should hang back for a bit and retry the query instead
- of simply raising an exception.
- </longdescription>
+ <upstream>
+ <remote-id type="hackage">retry</remote-id>
+ <remote-id type="github">Soostone/retry</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/dev-haskell/retry/retry-0.9.3.1.ebuild b/dev-haskell/retry/retry-0.9.3.1.ebuild
new file mode 100644
index 000000000000..5ba3167745a0
--- /dev/null
+++ b/dev-haskell/retry/retry-0.9.3.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# ebuild generated by hackport 0.8.4.0.9999
+#hackport: flags: -lib-werror
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Retry combinators for monadic actions that may fail"
+HOMEPAGE="https://github.com/Soostone/retry"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+ dev-haskell/mtl-compat:=[profile?]
+ >=dev-haskell/random-1:=[profile?]
+ >=dev-haskell/unliftio-core-0.1.0.0:=[profile?]
+ >=dev-lang/ghc-8.10.6:=
+"
+DEPEND="
+ ${RDEPEND}
+ >=dev-haskell/cabal-3.2.1.0
+ test? (
+ >=dev-haskell/hedgehog-1.0
+ >=dev-haskell/hunit-1.2.5.2
+ dev-haskell/tasty
+ dev-haskell/tasty-hedgehog
+ dev-haskell/tasty-hunit
+ )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-lib-werror
+}