summaryrefslogtreecommitdiff
path: root/dev-haskell/retry
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/retry')
-rw-r--r--dev-haskell/retry/Manifest4
-rw-r--r--dev-haskell/retry/metadata.xml16
-rw-r--r--dev-haskell/retry/retry-0.9.3.1.ebuild40
3 files changed, 47 insertions, 13 deletions
diff --git a/dev-haskell/retry/Manifest b/dev-haskell/retry/Manifest
index e929b5563b69..ccb2eea98190 100644
--- a/dev-haskell/retry/Manifest
+++ b/dev-haskell/retry/Manifest
@@ -1,3 +1,5 @@
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
EBUILD retry-0.9.0.0.ebuild 927 BLAKE2B db483888eee6523597c0a53f03c2f900125a17073c2087198b4c5b8623e507a21a069cbd11319d3b8d68126c7ba67a7c15f657722d73219b54b303cc14868d5e SHA512 85fd2f58d00c4df04896b4484a91254b6856394100a71e4a2ec3e0f85c921865e867516dafbc7d39a2729ca2470577270885805fe1fac7f752bdbef9a9dc4b99
-MISC metadata.xml 829 BLAKE2B 464baf16285940b17bb1143166372707eba2efcc002b65a33564b01d764b7ebbb9d67cfd7a71de6663caec9aa149ab955c3f4fe3fc176e21f8d3bd35e8586ac2 SHA512 7c55133e489f0d00fea27b40b0670abf42ea33622dd8efa646dd3cb98d7449d437ccbe9b810925ce26d1f0901d38f4ddebc462692fe421097c12ea172ec26dd6
+EBUILD retry-0.9.3.1.ebuild 890 BLAKE2B 8d5dd5d35c982a10c226e18b26a2082880ec30379eb71c3e01db4b230765c682429e8f8ccf875834bff53c00d074a039cf08f6cdbe0ed775f14cc041537eae19 SHA512 972419bbaee31d93881d464ca930ad8e440dfbca06aee1258f4df2bbbbff2f874074f00367e7dbd1677fd8031bf301503315511638345b9b008a44188d57db75
+MISC metadata.xml 375 BLAKE2B 94e0c17cf3a8da700a5f9c819b55a424d4e1a6d22e7ecae7cf0353444ba3c489f5fdea4acfc7d7e7da1dcf48462c91a91aac7574b707f13061f4e63587457114 SHA512 fd697934bf3afe551047b833d65397990795154c6e348206969c371b21e8f82436fd86c9681cba4725c1bb5e824ba5e1f70a56e5fdef8ee30d10cc23b581c729
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
+}