Commit 9519d213 authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis
Browse files

ed25519: Update patches for newer doctest/quickcheck2

parent cd719bb0
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
haskell-ed25519 (0.0.5.0-12) unstable; urgency=medium

  * Update patches for newer doctest/quickcheck2

 -- Ilias Tsitsimpis <iliastsi@debian.org>  Thu, 04 Oct 2018 16:29:17 +0300

haskell-ed25519 (0.0.5.0-11) unstable; urgency=medium

  [ Clint Adams ]
+2 −2
Original line number Diff line number Diff line
@@ -12,9 +12,9 @@ Build-Depends:
 ghc-prof,
 haskell-devscripts (>= 0.13),
 libghc-doctest-dev (>= 0.10),
 libghc-doctest-dev (<< 0.14),
 libghc-doctest-dev (<< 0.17),
 libghc-quickcheck2-dev (>= 2.4),
 libghc-quickcheck2-dev (<< 2.11),
 libghc-quickcheck2-dev (<< 2.12),
Build-Depends-Indep:
 ghc-doc,
Standards-Version: 4.1.4
+4 −2
Original line number Diff line number Diff line
Index: b/ed25519.cabal
===================================================================
--- a/ed25519.cabal
+++ b/ed25519.cabal
@@ -130,7 +130,7 @@
@@ -130,7 +130,7 @@ test-suite doctests
       base      >= 4    && < 5,
       filepath  >= 1.0  && < 1.5,
       directory >= 1.0  && < 1.4,
-      doctest   >= 0.10 && < 0.12
+      doctest   >= 0.10 && < 0.14
+      doctest   >= 0.10 && < 0.17
 
 -------------------------------------------------------------------------------
 -- Build pt 3: benchmarks
+8 −4
Original line number Diff line number Diff line
Index: b/ed25519.cabal
===================================================================
--- a/ed25519.cabal
+++ b/ed25519.cabal
@@ -97,7 +97,7 @@
@@ -97,7 +97,7 @@ test-suite properties
     build-depends:
       base        >= 4   && < 5,
       bytestring  >= 0.9 && < 0.11,
-      QuickCheck  >= 2.4 && < 2.9,
+      QuickCheck  >= 2.4 && < 2.11,
+      QuickCheck  >= 2.4 && < 2.12,
       ed25519
 
 --
Index: b/tests/properties.hs
===================================================================
--- a/tests/properties.hs
+++ b/tests/properties.hs
@@ -86,7 +86,9 @@
@@ -86,7 +86,9 @@ tests ntests =
       case r of
         Success n _ _           -> return (True, n)
         GaveUp  n _ _           -> return (True, n)
-#if MIN_VERSION_QuickCheck(2,7,0)
+#if MIN_VERSION_QuickCheck(2,10,0)
+#if MIN_VERSION_QuickCheck(2,11,0)
+        Failure n _ _ _ _ _ _ _ _ _ _ -> return (False, n)
+#elif MIN_VERSION_QuickCheck(2,7,0)
         Failure n _ _ _ _ _ _ _ _ _ -> return (False, n)