[Pkg-haskell-commits] darcs: haskell-hspec: Add patches to avoid hspec-discover dependency

Joachim Breitner mail at joachim-breitner.de
Thu Apr 16 21:03:58 UTC 2015


Thu Apr 16 19:40:26 UTC 2015  Joachim Breitner <mail at joachim-breitner.de>
  * Add patches to avoid hspec-discover dependency

    M ./control -4 +2
    A ./patches/
    A ./patches/no-hspec-discover
    A ./patches/series

Thu Apr 16 19:40:26 UTC 2015  Joachim Breitner <mail at joachim-breitner.de>
  * Add patches to avoid hspec-discover dependency
diff -rN -u old-haskell-hspec/control new-haskell-hspec/control
--- old-haskell-hspec/control	2015-04-16 21:03:58.322535444 +0000
+++ new-haskell-hspec/control	2015-04-16 21:03:58.330535443 +0000
@@ -11,9 +11,8 @@
   , libghc-hspec-core-dev (>= 2.1.5)
   , libghc-hspec-core-dev (<< 2.1.6)
   , libghc-hspec-core-prof
-  , libghc-hspec-discover-dev (>= 2.1.5)
-  , libghc-hspec-discover-dev (<< 2.1.6)
-  , libghc-hspec-discover-prof
+  , hspec-discover (>= 2.1.5)
+  , hspec-discover (<< 2.1.6)
   , libghc-hspec-expectations-dev (>= 2.1.5)
   , libghc-hspec-expectations-dev (<< 2.1.6)
   , libghc-hspec-expectations-prof
@@ -23,7 +22,6 @@
   , libghc-quickcheck2-prof
 Build-Depends-Indep: ghc-doc
   , libghc-hspec-core-doc
-  , libghc-hspec-discover-doc
   , libghc-hspec-expectations-doc
   , libghc-hunit-doc
   , libghc-quickcheck2-doc
diff -rN -u old-haskell-hspec/patches/no-hspec-discover new-haskell-hspec/patches/no-hspec-discover
--- old-haskell-hspec/patches/no-hspec-discover	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-hspec/patches/no-hspec-discover	2015-04-16 21:03:58.326535443 +0000
@@ -0,0 +1,16 @@
+Do not depend on hspec-discover (the haskell library), as that is empty
+anyways. We ensure that the hspec-discover binary is available via
+control/debian.
+
+Index: hspec-2.1.5/hspec.cabal
+===================================================================
+--- hspec-2.1.5.orig/hspec.cabal	2015-04-16 21:38:14.701740958 +0200
++++ hspec-2.1.5/hspec.cabal	2015-04-16 21:38:42.110995831 +0200
+@@ -42,7 +42,6 @@
+   build-depends:
+       base == 4.*
+     , hspec-core == 2.1.5
+-    , hspec-discover == 2.1.5
+     , hspec-expectations == 0.6.1.*
+     , transformers >= 0.2.2.0
+     , QuickCheck >= 2.5.1
diff -rN -u old-haskell-hspec/patches/series new-haskell-hspec/patches/series
--- old-haskell-hspec/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-hspec/patches/series	2015-04-16 21:03:58.326535443 +0000
@@ -0,0 +1 @@
+no-hspec-discover




More information about the Pkg-haskell-commits mailing list