[DHG_packages] 01/01: persistent: This package does not actually use Template Haskell, do not claim it does.
Joachim Breitner
nomeata at moszumanska.debian.org
Thu Jul 23 13:06:44 UTC 2015
This is an automated email from the git hooks/post-receive script.
nomeata pushed a commit to branch master
in repository DHG_packages.
commit d410a68a428c0301472f4e43cafa2f881d5b6b3c
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Thu Jul 23 15:03:39 2015 +0200
persistent: This package does not actually use Template Haskell, do not claim it does.
---
p/haskell-persistent/debian/changelog | 6 ++++++
p/haskell-persistent/debian/control | 1 -
.../debian/patches/no-tempate-haskell | 22 ++++++++++++++++++++++
p/haskell-persistent/debian/patches/series | 1 +
4 files changed, 29 insertions(+), 1 deletion(-)
diff --git a/p/haskell-persistent/debian/changelog b/p/haskell-persistent/debian/changelog
index 98a8a42..dcec251 100644
--- a/p/haskell-persistent/debian/changelog
+++ b/p/haskell-persistent/debian/changelog
@@ -1,3 +1,9 @@
+haskell-persistent (2.1.6-2) unstable; urgency=medium
+
+ * This package does not actually use Template Haskell, do not claim it does.
+
+ -- Joachim Breitner <nomeata at debian.org> Thu, 23 Jul 2015 15:03:41 +0200
+
haskell-persistent (2.1.6-1) unstable; urgency=medium
* New upstream version.
diff --git a/p/haskell-persistent/debian/control b/p/haskell-persistent/debian/control
index 3147403..da015ec 100644
--- a/p/haskell-persistent/debian/control
+++ b/p/haskell-persistent/debian/control
@@ -44,7 +44,6 @@ Build-Depends: debhelper (>= 9)
, libghc-tagged-prof
, libghc-fast-logger-dev (>= 2.1)
, libghc-fast-logger-prof
- , ghc-ghci
, libghc-text-dev (>= 0.8)
, libghc-text-prof
, libghc-transformers-base-dev
diff --git a/p/haskell-persistent/debian/patches/no-tempate-haskell b/p/haskell-persistent/debian/patches/no-tempate-haskell
new file mode 100644
index 0000000..9ae57e0
--- /dev/null
+++ b/p/haskell-persistent/debian/patches/no-tempate-haskell
@@ -0,0 +1,22 @@
+Description: TemplateHaskell is unused
+ Some modules enable the TemplateHaskell extension without actually using it.
+Author: Joachim Breitner <nomeata at debian.org>
+Forwarded: https://github.com/yesodweb/persistent/issues/427
+
+--- haskell-persistent-2.1.6.orig/Database/Persist/Quasi.hs
++++ haskell-persistent-2.1.6/Database/Persist/Quasi.hs
+@@ -2,7 +2,6 @@
+ {-# LANGUAGE CPP #-}
+ {-# LANGUAGE PatternGuards #-}
+ {-# LANGUAGE ViewPatterns #-}
+-{-# LANGUAGE TemplateHaskell #-}
+ module Database.Persist.Quasi
+ ( parse
+ , PersistSettings (..)
+--- haskell-persistent-2.1.6.orig/Database/Persist/Sql/Raw.hs
++++ haskell-persistent-2.1.6/Database/Persist/Sql/Raw.hs
+@@ -1,4 +1,3 @@
+-{-# LANGUAGE TemplateHaskell #-}
+ {-# LANGUAGE OverloadedStrings #-}
+ {-# LANGUAGE FlexibleContexts #-}
+ module Database.Persist.Sql.Raw where
diff --git a/p/haskell-persistent/debian/patches/series b/p/haskell-persistent/debian/patches/series
new file mode 100644
index 0000000..bb34b4d
--- /dev/null
+++ b/p/haskell-persistent/debian/patches/series
@@ -0,0 +1 @@
+no-tempate-haskell
--
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