[Pkg-haskell-commits] darcs: haskell-yaml: Only enable tests on architectures with GHCi, due to use of Template Haskell.

Colin Watson cjwatson at debian.org
Mon Nov 25 16:13:17 UTC 2013


Mon Nov 25 16:13:02 UTC 2013  Colin Watson <cjwatson at debian.org>
  * Only enable tests on architectures with GHCi, due to use of Template Haskell.

    M ./changelog +7
    M ./control -2 +2
    M ./rules -1 +1

Mon Nov 25 16:13:02 UTC 2013  Colin Watson <cjwatson at debian.org>
  * Only enable tests on architectures with GHCi, due to use of Template Haskell.
diff -rN -u old-haskell-yaml/changelog new-haskell-yaml/changelog
--- old-haskell-yaml/changelog	2013-11-25 16:13:17.128709669 +0000
+++ new-haskell-yaml/changelog	2013-11-25 16:13:17.128709669 +0000
@@ -1,3 +1,10 @@
+haskell-yaml (0.8.5.1-2) UNRELEASED; urgency=low
+
+  * Only enable tests on architectures with GHCi, due to use of Template
+    Haskell.
+
+ -- Colin Watson <cjwatson at debian.org>  Mon, 25 Nov 2013 16:12:48 +0000
+
 haskell-yaml (0.8.5.1-1) unstable; urgency=low
 
   [ Joachim Breitner ]
diff -rN -u old-haskell-yaml/control new-haskell-yaml/control
--- old-haskell-yaml/control	2013-11-25 16:13:17.128709669 +0000
+++ new-haskell-yaml/control	2013-11-25 16:13:17.128709669 +0000
@@ -29,8 +29,8 @@
   , libghc-vector-prof
   , libyaml-dev
   , pkg-config
-  , libghc-hspec-dev (>> 1.3)
-  , libghc-hunit-dev
+  , libghc-hspec-dev (>> 1.3) [any-amd64 any-i386 powerpc sparc]
+  , libghc-hunit-dev [any-amd64 any-i386 powerpc sparc]
 Build-Depends-Indep: ghc-doc
   , libghc-aeson-doc
   , libghc-attoparsec-doc
diff -rN -u old-haskell-yaml/rules new-haskell-yaml/rules
--- old-haskell-yaml/rules	2013-11-25 16:13:17.128709669 +0000
+++ new-haskell-yaml/rules	2013-11-25 16:13:17.128709669 +0000
@@ -2,7 +2,7 @@
 
 DEB_SETUP_GHC_CONFIGURE_ARGS := --flags=system-libyaml
 
-DEB_ENABLE_TESTS = yes
+DEB_ENABLE_TESTS = $(shell test -e /usr/lib/ghc/bin/ghci && echo yes)
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk




More information about the Pkg-haskell-commits mailing list