[Pkg-haskell-commits] darcs: haskell-quickcheck: Disable tests when templateHaskell is not available

Joachim Breitner mail at joachim-breitner.de
Thu Jul 31 09:20:04 UTC 2014


Thu Jul 31 09:18:58 UTC 2014  Joachim Breitner <mail at joachim-breitner.de>
  * Disable tests when templateHaskell is not available 

    M ./changelog +6
    A ./patches/
    A ./patches/no-tests-without-TH
    A ./patches/series

Thu Jul 31 09:18:58 UTC 2014  Joachim Breitner <mail at joachim-breitner.de>
  * Disable tests when templateHaskell is not available 
diff -rN -u old-haskell-quickcheck/changelog new-haskell-quickcheck/changelog
--- old-haskell-quickcheck/changelog	2014-07-31 09:20:03.864370382 +0000
+++ new-haskell-quickcheck/changelog	2014-07-31 09:20:03.880370388 +0000
@@ -1,3 +1,9 @@
+haskell-quickcheck (2.7.6-2) UNRELEASED; urgency=medium
+
+  * Disable tests when templateHaskell is not available 
+
+ -- Joachim Breitner <nomeata at debian.org>  Thu, 31 Jul 2014 11:17:35 +0200
+
 haskell-quickcheck (2.7.6-1) unstable; urgency=low
 
   * Adjust watch file to new hackage layout
diff -rN -u old-haskell-quickcheck/patches/no-tests-without-TH new-haskell-quickcheck/patches/no-tests-without-TH
--- old-haskell-quickcheck/patches/no-tests-without-TH	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-quickcheck/patches/no-tests-without-TH	2014-07-31 09:20:03.872370387 +0000
@@ -0,0 +1,12 @@
+Index: haskell-quickcheck-2.7.6/QuickCheck.cabal
+===================================================================
+--- haskell-quickcheck-2.7.6.orig/QuickCheck.cabal	2014-07-31 11:17:10.419698248 +0200
++++ haskell-quickcheck-2.7.6/QuickCheck.cabal	2014-07-31 11:17:30.431697469 +0200
+@@ -144,3 +144,7 @@
+       QuickCheck == 2.7.6,
+       template-haskell >= 2.4,
+       test-framework >= 0.4 && < 0.9
++    if flag(templateHaskell)
++        Buildable: True
++    else
++        Buildable: False
diff -rN -u old-haskell-quickcheck/patches/series new-haskell-quickcheck/patches/series
--- old-haskell-quickcheck/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-quickcheck/patches/series	2014-07-31 09:20:03.872370387 +0000
@@ -0,0 +1 @@
+no-tests-without-TH




More information about the Pkg-haskell-commits mailing list