[DHG_packages] 01/01: web-routes: forcibly disable testsuite on mips, mipsel, and mips64el
Clint Adams
clint at moszumanska.debian.org
Thu Dec 17 00:34:47 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 1c6907dfce7e062679bbc9ea83f36d55d7fa2674
Author: Clint Adams <clint at debian.org>
Date: Wed Dec 16 19:33:53 2015 -0500
web-routes: forcibly disable testsuite on mips, mipsel, and mips64el
---
p/haskell-web-routes/debian/changelog | 6 ++++++
p/haskell-web-routes/debian/control | 12 ++++++------
p/haskell-web-routes/debian/rules | 6 ++++++
3 files changed, 18 insertions(+), 6 deletions(-)
diff --git a/p/haskell-web-routes/debian/changelog b/p/haskell-web-routes/debian/changelog
index 745f5cc..5c56a50 100644
--- a/p/haskell-web-routes/debian/changelog
+++ b/p/haskell-web-routes/debian/changelog
@@ -1,3 +1,9 @@
+haskell-web-routes (0.27.9-8) unstable; urgency=medium
+
+ * Forcibly disable testsuite on mips, mipsel, and mips64el.
+
+ -- Clint Adams <clint at debian.org> Wed, 16 Dec 2015 19:31:17 -0500
+
haskell-web-routes (0.27.9-7) unstable; urgency=medium
* Try enabling testsuite everywhere.
diff --git a/p/haskell-web-routes/debian/control b/p/haskell-web-routes/debian/control
index 0ff5ce3..2fb40b3 100644
--- a/p/haskell-web-routes/debian/control
+++ b/p/haskell-web-routes/debian/control
@@ -31,12 +31,12 @@ Build-Depends: debhelper (>= 9),
libghc-utf8-string-dev (>= 0.3),
libghc-utf8-string-dev (<< 1.1),
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 [!mips !mipsel !mips64el],
+ libghc-quickcheck2-dev [!mips !mipsel !mips64el],
+ libghc-test-framework-dev [!mips !mipsel !mips64el],
+ libghc-test-framework-hunit-dev [!mips !mipsel !mips64el],
+ libghc-test-framework-quickcheck2-dev [!mips !mipsel !mips64el],
+ libghc-test-framework-th-dev [!mips !mipsel !mips64el],
Build-Depends-Indep: ghc-doc,
libghc-blaze-builder-doc,
libghc-exceptions-doc,
diff --git a/p/haskell-web-routes/debian/rules b/p/haskell-web-routes/debian/rules
index 8e07ea6..80232b7 100755
--- a/p/haskell-web-routes/debian/rules
+++ b/p/haskell-web-routes/debian/rules
@@ -1,10 +1,16 @@
#!/usr/bin/make -f
+DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
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