[DHG_packages] 01/01: yaml: forcibly disable testsuite on mips*

Clint Adams clint at moszumanska.debian.org
Thu Dec 17 19:20:26 UTC 2015


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

clint pushed a commit to branch master
in repository DHG_packages.

commit 7def5ff71ebd548cadc724ee47241334da20f141
Author: Clint Adams <clint at debian.org>
Date:   Thu Dec 17 14:19:29 2015 -0500

    yaml: forcibly disable testsuite on mips*
---
 p/haskell-yaml/debian/changelog |  6 ++++++
 p/haskell-yaml/debian/control   | 12 ++++++------
 p/haskell-yaml/debian/rules     |  5 ++++-
 3 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/p/haskell-yaml/debian/changelog b/p/haskell-yaml/debian/changelog
index d8c5a21..d4fe988 100644
--- a/p/haskell-yaml/debian/changelog
+++ b/p/haskell-yaml/debian/changelog
@@ -1,3 +1,9 @@
+haskell-yaml (0.8.15.1-3) unstable; urgency=medium
+
+  * Forcibly disable testsuite on mips*.
+
+ -- Clint Adams <clint at debian.org>  Thu, 17 Dec 2015 14:19:00 -0500
+
 haskell-yaml (0.8.15.1-2) unstable; urgency=medium
 
   * Install test build dependencies on all arches.
diff --git a/p/haskell-yaml/debian/control b/p/haskell-yaml/debian/control
index bebaf5a..e1fb0aa 100644
--- a/p/haskell-yaml/debian/control
+++ b/p/haskell-yaml/debian/control
@@ -30,12 +30,12 @@ Build-Depends: debhelper (>= 9),
  libghc-vector-prof,
  libyaml-dev,
  pkg-config,
- libghc-hspec-dev (>= 1.3),
- libghc-hspec-expectations-dev,
- libghc-hunit-dev,
- libghc-aeson-qq-dev,
- libghc-mockery-dev,
- libghc-base-compat-dev,
+ libghc-hspec-dev (>= 1.3) [!mips !mipsel !mips64el],
+ libghc-hspec-expectations-dev [!mips !mipsel !mips64el],
+ libghc-hunit-dev [!mips !mipsel !mips64el],
+ libghc-aeson-qq-dev [!mips !mipsel !mips64el],
+ libghc-mockery-dev [!mips !mipsel !mips64el],
+ libghc-base-compat-dev [!mips !mipsel !mips64el],
 Build-Depends-Indep: ghc-doc,
  libghc-aeson-doc,
  libghc-attoparsec-doc,
diff --git a/p/haskell-yaml/debian/rules b/p/haskell-yaml/debian/rules
index ebea585..4995107 100755
--- a/p/haskell-yaml/debian/rules
+++ b/p/haskell-yaml/debian/rules
@@ -4,11 +4,14 @@ DEB_SETUP_GHC_CONFIGURE_ARGS := --flags=system-libyaml
 
 # The test suite requires template haskell
 ifeq (0,$(shell ghc --info | grep 'Have interpreter.*YES' >/dev/null 2>&1; echo $$?))
+ifeq (,$(filter $(DEB_BUILD_ARCH),mips mipsel mips64el))
 DEB_ENABLE_TESTS = yes
 else
 DEB_ENABLE_TESTS = no
 endif
-
+else
+DEB_ENABLE_TESTS = no
+endif
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk

-- 
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