From eb453a4f883c6575c4a456c61f9b8da2d44841be Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Thu, 6 Mar 2014 14:57:33 +0200 Subject: [PATCH] Patch scientific to remove upper bounds on tasty #188 --- Stackage/Config.hs | 7 ------- patching/patches/scientific-0.2.0.1.patch | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 patching/patches/scientific-0.2.0.1.patch diff --git a/Stackage/Config.hs b/Stackage/Config.hs index 84bf8f7d..93d364e6 100644 --- a/Stackage/Config.hs +++ b/Stackage/Config.hs @@ -330,13 +330,6 @@ defaultStablePackages ghcVer = unPackageMap $ execWriter $ do addRange "Michael Snoyman" "lens" "< 4.0" addRange "Michael Snoyman" "linear" "< 1.6" - -- https://github.com/fpco/stackage/issues/188 - addRange "Michael Snoyman" "tasty" "< 0.8" - addRange "Michael Snoyman" "tasty-golden" "< 2.2" - addRange "Michael Snoyman" "tasty-hunit" "< 0.8" - addRange "Michael Snoyman" "tasty-quickcheck" "< 0.8" - addRange "Michael Snoyman" "tasty-smallcheck" "< 0.8" - -- Requires aeson 0.6.* addRange "Michael Snoyman" "threepenny-gui" "< 0.4.1" diff --git a/patching/patches/scientific-0.2.0.1.patch b/patching/patches/scientific-0.2.0.1.patch new file mode 100644 index 00000000..875e8e83 --- /dev/null +++ b/patching/patches/scientific-0.2.0.1.patch @@ -0,0 +1,14 @@ +diff -ru orig/scientific.cabal new/scientific.cabal +--- orig/scientific.cabal 2014-03-06 14:57:06.880706336 +0200 ++++ new/scientific.cabal 2014-03-06 14:57:06.000000000 +0200 +@@ -47,8 +47,8 @@ + + build-depends: scientific + , base >= 4.3 && < 4.8 +- , tasty >= 0.3.1 && < 0.8 +- , tasty-smallcheck >= 0.2 && < 0.3 ++ , tasty >= 0.3.1 && < 0.9 ++ , tasty-smallcheck >= 0.2 && < 0.9 + , smallcheck >= 1.0 && < 1.2 + , text >= 0.8 && < 1.2 +