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

Colin Watson cjwatson at debian.org
Sat Jun 15 12:15:29 UTC 2013


Sat Jun 15 12:15:20 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 -4 +4
    M ./rules -1 +1

Sat Jun 15 12:15:20 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-path-pieces/changelog new-haskell-path-pieces/changelog
--- old-haskell-path-pieces/changelog	2013-06-15 12:15:29.775333371 +0000
+++ new-haskell-path-pieces/changelog	2013-06-15 12:15:29.779318098 +0000
@@ -1,3 +1,10 @@
+haskell-path-pieces (0.1.2-4) UNRELEASED; urgency=low
+
+  * Only enable tests on architectures with GHCi, due to use of Template
+    Haskell.
+
+ -- Colin Watson <cjwatson at debian.org>  Sat, 15 Jun 2013 13:15:01 +0100
+
 haskell-path-pieces (0.1.2-3) unstable; urgency=low
 
   * Move Haskell blurb to the end of the description, reduces the impact
diff -rN -u old-haskell-path-pieces/control new-haskell-path-pieces/control
--- old-haskell-path-pieces/control	2013-06-15 12:15:29.775333371 +0000
+++ new-haskell-path-pieces/control	2013-06-15 12:15:29.779318098 +0000
@@ -12,10 +12,10 @@
   , libghc-text-dev (>> 0.5)
   , libghc-text-dev (<< 0.12)
   , libghc-text-prof
-  , libghc-hspec-dev (>> 1.3)
-  , libghc-file-location-dev (>> 0.4)
-  , libghc-file-location-dev (<< 0.5)
-  , libghc-quickcheck2-dev
+  , libghc-hspec-dev (>> 1.3) [any-amd64 any-i386 powerpc sparc]
+  , libghc-file-location-dev (>> 0.4) [any-amd64 any-i386 powerpc sparc]
+  , libghc-file-location-dev (<< 0.5) [any-amd64 any-i386 powerpc sparc]
+  , libghc-quickcheck2-dev [any-amd64 any-i386 powerpc sparc]
 Build-Depends-Indep: ghc-doc
   , libghc-text-doc
 Standards-Version: 3.9.4
diff -rN -u old-haskell-path-pieces/rules new-haskell-path-pieces/rules
--- old-haskell-path-pieces/rules	2013-06-15 12:15:29.775333371 +0000
+++ new-haskell-path-pieces/rules	2013-06-15 12:15:29.779318098 +0000
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-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