[DHG_packages] 01/02: path-pieces: Fix detection of template haskell support
Joachim Breitner
nomeata at moszumanska.debian.org
Fri Sep 11 19:56:13 UTC 2015
This is an automated email from the git hooks/post-receive script.
nomeata pushed a commit to annotated tag haskell-sandi_v0.3.5-4
in repository DHG_packages.
commit 03c74b84e84515edfa3164eb2c611f033f952361
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Fri Sep 11 21:51:23 2015 +0200
path-pieces: Fix detection of template haskell support
---
p/haskell-path-pieces/debian/changelog | 8 ++++++--
p/haskell-path-pieces/debian/rules | 8 +++++++-
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/p/haskell-path-pieces/debian/changelog b/p/haskell-path-pieces/debian/changelog
index ab73501..daf9135 100644
--- a/p/haskell-path-pieces/debian/changelog
+++ b/p/haskell-path-pieces/debian/changelog
@@ -1,8 +1,12 @@
-haskell-path-pieces (0.2.0-3) UNRELEASED; urgency=low
+haskell-path-pieces (0.2.0-3) experimental; urgency=low
+ [ Sven Bartscher ]
* Add build-dependencies on hspec and quickcheck2 on ppc.
- -- Sven Bartscher <sven.bartscher at weltraumschlangen.de> Fri, 21 Aug 2015 13:28:03 +0200
+ [ Joachim Breitner ]
+ * Fix detection of template haskell support
+
+ -- Joachim Breitner <nomeata at debian.org> Fri, 11 Sep 2015 21:51:15 +0200
haskell-path-pieces (0.2.0-2) experimental; urgency=medium
diff --git a/p/haskell-path-pieces/debian/rules b/p/haskell-path-pieces/debian/rules
index cacbc71..32a5597 100755
--- a/p/haskell-path-pieces/debian/rules
+++ b/p/haskell-path-pieces/debian/rules
@@ -1,6 +1,12 @@
#!/usr/bin/make -f
-DEB_ENABLE_TESTS = $(shell test -e /usr/bin/ghci && echo yes)
+# The test suite requires template haskell
+ifeq (0,$(shell ghc --info | grep 'Have interpreter.*YES' >/dev/null 2>&1; echo $$?))
+DEB_ENABLE_TESTS = yes
+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