Bug#881017: haskell-werewolf: Please update aeson build-dependency

Steve Langasek steve.langasek at canonical.com
Tue Nov 7 06:53:06 UTC 2017


Package: haskell-werewolf
Version: 1.5.1.1-7
Severity: serious
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu bionic ubuntu-patch

Hello,

There is a new version of aeson in unstable again, and haskell-werewolf
fails to build because of a << versioned build-dep.

The attached patch bumps the cap on the aeson build-dep, and the package
builds successfully with this change.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
diff -Nru haskell-werewolf-1.5.1.1/debian/control haskell-werewolf-1.5.1.1/debian/control
--- haskell-werewolf-1.5.1.1/debian/control	2017-11-05 20:49:12.000000000 -0800
+++ haskell-werewolf-1.5.1.1/debian/control	2017-11-06 22:50:27.000000000 -0800
@@ -11,7 +11,7 @@
  ghc-prof,
  haskell-devscripts (>= 0.13),
  libghc-aeson-dev (>= 0.8),
- libghc-aeson-dev (<< 1.1),
+ libghc-aeson-dev (<< 1.2),
  libghc-aeson-prof,
  libghc-extra-dev (>= 1.4),
  libghc-extra-dev (<< 1.6),
diff -Nru haskell-werewolf-1.5.1.1/debian/patches/newer-aeson-and-lens haskell-werewolf-1.5.1.1/debian/patches/newer-aeson-and-lens
--- haskell-werewolf-1.5.1.1/debian/patches/newer-aeson-and-lens	2017-07-19 15:43:04.000000000 -0700
+++ haskell-werewolf-1.5.1.1/debian/patches/newer-aeson-and-lens	2017-11-06 21:57:48.000000000 -0800
@@ -1,11 +1,13 @@
---- a/werewolf.cabal
-+++ b/werewolf.cabal
+Index: haskell-werewolf-1.5.1.1/werewolf.cabal
+===================================================================
+--- haskell-werewolf-1.5.1.1.orig/werewolf.cabal
++++ haskell-werewolf-1.5.1.1/werewolf.cabal
 @@ -349,13 +349,13 @@
          QuasiQuotes,
          Rank2Types
      build-depends:
 -        aeson >= 0.8 && < 0.12,
-+        aeson >= 0.8 && < 1.1,
++        aeson >= 0.8 && < 1.2,
          base >= 4.8 && < 5,
          containers == 0.5.*,
          directory > 1.2,
@@ -21,7 +23,7 @@
          TemplateHaskell
      build-depends:
 -        aeson >= 0.8 && < 0.12,
-+        aeson >= 0.8 && < 1.1,
++        aeson >= 0.8 && < 1.2,
          base >= 4.8 && < 5,
          containers == 0.5.*,
          extra >= 1.4 && < 1.6,
@@ -31,8 +33,10 @@
          mtl == 2.2.*,
          template-haskell >= 2.10 && < 2.12,
          text == 1.2.*,
---- a/src/Game/Werewolf/Game.hs
-+++ b/src/Game/Werewolf/Game.hs
+Index: haskell-werewolf-1.5.1.1/src/Game/Werewolf/Game.hs
+===================================================================
+--- haskell-werewolf-1.5.1.1.orig/src/Game/Werewolf/Game.hs
++++ haskell-werewolf-1.5.1.1/src/Game/Werewolf/Game.hs
 @@ -131,7 +131,7 @@
  makePrisms ''Stage
  


More information about the Pkg-haskell-maintainers mailing list