[DHG_packages] 03/03: attoparsec: patch out fail, build with ghc 8 in experimental

Clint Adams clint at moszumanska.debian.org
Thu Oct 13 18:35:21 UTC 2016


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

clint pushed a commit to branch experimental
in repository DHG_packages.

commit e36810ed4b795acb3f0d2f198e01232f87702222
Author: Clint Adams <clint at debian.org>
Date:   Sun Oct 9 13:14:41 2016 -0400

    attoparsec: patch out fail, build with ghc 8 in experimental
---
 p/haskell-attoparsec/debian/changelog       |  6 ++++++
 p/haskell-attoparsec/debian/control         |  8 ++------
 p/haskell-attoparsec/debian/patches/no-fail | 32 +++++++++++++++++++++++++++++
 p/haskell-attoparsec/debian/patches/series  |  1 +
 4 files changed, 41 insertions(+), 6 deletions(-)

diff --git a/p/haskell-attoparsec/debian/changelog b/p/haskell-attoparsec/debian/changelog
index c92862e..eda85f7 100644
--- a/p/haskell-attoparsec/debian/changelog
+++ b/p/haskell-attoparsec/debian/changelog
@@ -1,3 +1,9 @@
+haskell-attoparsec (0.13.1.0-2) experimental; urgency=medium
+
+  * Patch out use of empty 'fail' library.
+
+ -- Clint Adams <clint at debian.org>  Sun, 09 Oct 2016 13:13:21 -0400
+
 haskell-attoparsec (0.13.1.0-1) unstable; urgency=medium
 
   * New upstream release
diff --git a/p/haskell-attoparsec/debian/control b/p/haskell-attoparsec/debian/control
index 3606c59..c3208c9 100644
--- a/p/haskell-attoparsec/debian/control
+++ b/p/haskell-attoparsec/debian/control
@@ -6,11 +6,8 @@ Section: haskell
 Build-Depends: debhelper (>= 9),
  haskell-devscripts (>= 0.10),
  cdbs,
- ghc,
+ ghc (>= 8),
  ghc-prof,
- libghc-fail-dev (>= 4.9),
- libghc-fail-dev (<< 4.10),
- libghc-fail-prof,
  libghc-scientific-dev (>= 0.3.1),
  libghc-scientific-dev (<< 0.4),
  libghc-scientific-prof,
@@ -27,13 +24,12 @@ Build-Depends: debhelper (>= 9),
  libghc-text-dev,
  libghc-vector-dev,
 Build-Depends-Indep: ghc-doc,
- libghc-fail-doc,
  libghc-scientific-doc,
  libghc-semigroups-doc,
  libghc-text-doc,
 Standards-Version: 3.9.8
 Homepage: https://github.com/bos/attoparsec
-Vcs-Browser: https://anonscm.debian.org/cgit/pkg-haskell/DHG_packages.git/
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-haskell/DHG_packages.git/tree/p/haskell-attoparsec
 Vcs-Git: https://anonscm.debian.org/git/pkg-haskell/DHG_packages.git
 
 Package: libghc-attoparsec-dev
diff --git a/p/haskell-attoparsec/debian/patches/no-fail b/p/haskell-attoparsec/debian/patches/no-fail
new file mode 100644
index 0000000..dc6e9bd
--- /dev/null
+++ b/p/haskell-attoparsec/debian/patches/no-fail
@@ -0,0 +1,32 @@
+--- a/attoparsec.cabal
++++ b/attoparsec.cabal
+@@ -52,8 +52,7 @@ library
+ 
+   if !impl(ghc >= 8.0)
+     -- Data.Semigroup && Control.Monad.Fail are available in base-4.9+
+-    build-depends: fail == 4.9.*,
+-                   semigroups >=0.16.1 && <0.19
++    build-depends: semigroups >=0.16.1 && <0.19
+ 
+   exposed-modules: Data.Attoparsec
+                    Data.Attoparsec.ByteString
+@@ -120,8 +119,7 @@ test-suite tests
+ 
+   if !impl(ghc >= 8.0)
+     -- Data.Semigroup && Control.Monad.Fail are available in base-4.9+
+-    build-depends: fail == 4.9.*,
+-                   semigroups >=0.16.1 && <0.19
++    build-depends: semigroups >=0.16.1 && <0.19
+ 
+ benchmark benchmarks
+   type: exitcode-stdio-1.0
+@@ -166,8 +164,7 @@ benchmark benchmarks
+ 
+   if !impl(ghc >= 8.0)
+     -- Data.Semigroup && Control.Monad.Fail are available in base-4.9+
+-    build-depends: fail == 4.9.*,
+-                   semigroups >=0.16.1 && <0.19
++    build-depends: semigroups >=0.16.1 && <0.19
+ 
+ source-repository head
+   type:     git
diff --git a/p/haskell-attoparsec/debian/patches/series b/p/haskell-attoparsec/debian/patches/series
index 4ac7ef7..b3653e6 100644
--- a/p/haskell-attoparsec/debian/patches/series
+++ b/p/haskell-attoparsec/debian/patches/series
@@ -1 +1,2 @@
 no-threaded-testsuite
+no-fail

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