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

Colin Watson cjwatson at debian.org
Wed Jun 19 09:25:22 UTC 2013


Wed Jun 19 09:25:10 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 -6 +6
    M ./rules +2

Wed Jun 19 09:25:10 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-web-routes/changelog new-haskell-web-routes/changelog
--- old-haskell-web-routes/changelog	2013-06-19 09:25:22.495040583 +0000
+++ new-haskell-web-routes/changelog	2013-06-19 09:25:22.498051653 +0000
@@ -1,3 +1,10 @@
+haskell-web-routes (0.27.2-4) UNRELEASED; urgency=low
+
+  * Only enable tests on architectures with GHCi, due to use of Template
+    Haskell.
+
+ -- Colin Watson <cjwatson at debian.org>  Wed, 19 Jun 2013 10:24:37 +0100
+
 haskell-web-routes (0.27.2-3) unstable; urgency=low
 
   * Move Haskell blurb to the end of the description, reduces the impact
diff -rN -u old-haskell-web-routes/control new-haskell-web-routes/control
--- old-haskell-web-routes/control	2013-06-19 09:25:22.495040583 +0000
+++ new-haskell-web-routes/control	2013-06-19 09:25:22.498051653 +0000
@@ -28,12 +28,12 @@
   , libghc-utf8-string-dev (>> 0.3)
   , libghc-utf8-string-dev (<< 0.4)
   , libghc-utf8-string-prof
-  , libghc-hunit-dev
-  , libghc-quickcheck2-dev
-  , libghc-test-framework-dev
-  , libghc-test-framework-hunit-dev
-  , libghc-test-framework-quickcheck2-dev
-  , libghc-test-framework-th-dev
+  , libghc-hunit-dev [any-amd64 any-i386 powerpc sparc]
+  , libghc-quickcheck2-dev [any-amd64 any-i386 powerpc sparc]
+  , libghc-test-framework-dev [any-amd64 any-i386 powerpc sparc]
+  , libghc-test-framework-hunit-dev [any-amd64 any-i386 powerpc sparc]
+  , libghc-test-framework-quickcheck2-dev [any-amd64 any-i386 powerpc sparc]
+  , libghc-test-framework-th-dev [any-amd64 any-i386 powerpc sparc]
 Build-Depends-Indep: ghc-doc
   , libghc-blaze-builder-doc
   , libghc-http-types-doc
diff -rN -u old-haskell-web-routes/rules new-haskell-web-routes/rules
--- old-haskell-web-routes/rules	2013-06-19 09:25:22.495040583 +0000
+++ new-haskell-web-routes/rules	2013-06-19 09:25:22.503039859 +0000
@@ -1,4 +1,6 @@
 #!/usr/bin/make -f
 
+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