[DHG_packages] 01/02: shake: Disable the test suite on architectures without a threaded runtime, due to https://github.com/haskell/cabal/issues/2398

Joachim Breitner nomeata at moszumanska.debian.org
Sat Aug 22 07:48:04 UTC 2015


This is an automated email from the git hooks/post-receive script.

nomeata pushed a commit to annotated tag haskell-base64-bytestring_v1.0.0.1-5
in repository DHG_packages.

commit a0e0ed3bc5632c0363e407365d7d15762d5b7e13
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Sat Aug 22 09:43:48 2015 +0200

    shake: Disable the test suite on architectures without a threaded runtime, due to https://github.com/haskell/cabal/issues/2398
---
 p/haskell-shake/debian/changelog | 7 +++++++
 p/haskell-shake/debian/rules     | 3 +++
 2 files changed, 10 insertions(+)

diff --git a/p/haskell-shake/debian/changelog b/p/haskell-shake/debian/changelog
index 48ddeea..9543655 100644
--- a/p/haskell-shake/debian/changelog
+++ b/p/haskell-shake/debian/changelog
@@ -1,3 +1,10 @@
+haskell-shake (0.15.5-2) experimental; urgency=medium
+
+  * Disable the test suite on architectures without a threaded runtime, due to
+    https://github.com/haskell/cabal/issues/2398
+
+ -- Joachim Breitner <nomeata at debian.org>  Sat, 22 Aug 2015 09:43:25 +0200
+
 haskell-shake (0.15.5-1) experimental; urgency=medium
 
   * New upstream release
diff --git a/p/haskell-shake/debian/rules b/p/haskell-shake/debian/rules
index 8c575d6..b7cf983 100755
--- a/p/haskell-shake/debian/rules
+++ b/p/haskell-shake/debian/rules
@@ -7,8 +7,11 @@ DEB_UPSTREAM_REPACKAGE_DELIMITER := +
 DEB_SETUP_GHC_CONFIGURE_ARGS := --datasubdir=/usr/share/shake
 
 ifeq (yes,$(shell test -e /usr/bin/ghci && echo yes))
+# https://github.com/haskell/cabal/issues/2398
+ifeq (yes,$(shell ghc --info | grep -q 'Support SMP.*YES' && echo yes))
 DEB_ENABLE_TESTS := yes
 endif
+endif
 
 DEB_GHC_EXTRA_PACKAGES := libghc-shake-data (>= $(CABAL_VERSION))
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git



More information about the Pkg-haskell-commits mailing list