[DHG_packages] 04/05: newtype-generics: patch for newer base

Clint Adams clint at moszumanska.debian.org
Fri Oct 14 15:54:19 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 5cd78396db6d9fddc2743bef56f89515f2d38e83
Author: Clint Adams <clint at debian.org>
Date:   Sun Oct 9 14:26:32 2016 -0400

    newtype-generics: patch for newer base
---
 p/haskell-newtype-generics/debian/changelog        |  9 +++--
 p/haskell-newtype-generics/debian/control          | 43 ++++++++++------------
 .../debian/patches/newer-base                      | 20 ++++++++++
 p/haskell-newtype-generics/debian/patches/series   |  1 +
 4 files changed, 46 insertions(+), 27 deletions(-)

diff --git a/p/haskell-newtype-generics/debian/changelog b/p/haskell-newtype-generics/debian/changelog
index 19e7b74..3c8f3c7 100644
--- a/p/haskell-newtype-generics/debian/changelog
+++ b/p/haskell-newtype-generics/debian/changelog
@@ -1,13 +1,14 @@
-haskell-newtype-generics (0.4.1-3) UNRELEASED; urgency=medium
+haskell-newtype-generics (0.4.1-3) experimental; urgency=medium
 
   [ Dmitry Bogatov ]
   * Use secure (https) uri in Vcs-Git field in 'debian/control'
   * Bump standards version to 3.9.8 (no changes needed)
 
-  [ Gianfranco Costamagna ]
-  * Fix VCS fields
+  [ Clint Adams ]
+  * Patch for newer base.
+  * Temporarily build-depend on ghc 8.
 
- -- Dmitry Bogatov <KAction at gnu.org>  Tue, 10 May 2016 09:35:52 +0300
+ -- Clint Adams <clint at debian.org>  Sun, 09 Oct 2016 14:26:24 -0400
 
 haskell-newtype-generics (0.4.1-2) unstable; urgency=medium
 
diff --git a/p/haskell-newtype-generics/debian/control b/p/haskell-newtype-generics/debian/control
index ac88cb8..666fdda 100644
--- a/p/haskell-newtype-generics/debian/control
+++ b/p/haskell-newtype-generics/debian/control
@@ -3,15 +3,16 @@ Maintainer: Debian Haskell Group <pkg-haskell-maintainers at lists.alioth.debian.or
 Uploaders: Dmitry Bogatov <KAction at gnu.org>
 Priority: extra
 Section: haskell
-Build-Depends: debhelper (>= 9),
- haskell-devscripts (>= 0.10),
+Build-Depends:
  cdbs,
- ghc,
+ debhelper (>= 9),
+ ghc (>= 8),
  ghc-prof,
-Build-Depends-Indep: ghc-doc,
+ haskell-devscripts (>= 0.10),
+Build-Depends-Indep: ghc-doc
 Standards-Version: 3.9.8
 Homepage: http://hackage.haskell.org/package/newtype-generics
-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-newtype-generics
 Vcs-Git: https://anonscm.debian.org/git/pkg-haskell/DHG_packages.git
 X-Description: Typeclass and set of functions for working with newtypes
  Per Conor McBride, the Newtype typeclass represents the packing and unpacking
@@ -22,13 +23,11 @@ X-Description: Typeclass and set of functions for working with newtypes
 
 Package: libghc-newtype-generics-dev
 Architecture: any
-Depends: ${haskell:Depends},
- ${misc:Depends},
- ${shlibs:Depends},
-Recommends: ${haskell:Recommends},
-Suggests: ${haskell:Suggests},
-Conflicts: ${haskell:Conflicts},
-Provides: ${haskell:Provides},
+Depends: ${haskell:Depends}, ${misc:Depends}, ${shlibs:Depends}
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Conflicts: ${haskell:Conflicts}
+Provides: ${haskell:Provides}
 Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
  ${haskell:LongDescription}
  .
@@ -36,12 +35,11 @@ Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
 
 Package: libghc-newtype-generics-prof
 Architecture: any
-Depends: ${haskell:Depends},
- ${misc:Depends},
-Recommends: ${haskell:Recommends},
-Suggests: ${haskell:Suggests},
-Conflicts: ${haskell:Conflicts},
-Provides: ${haskell:Provides},
+Depends: ${haskell:Depends}, ${misc:Depends}
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Conflicts: ${haskell:Conflicts}
+Provides: ${haskell:Provides}
 Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
  ${haskell:LongDescription}
  .
@@ -50,11 +48,10 @@ Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
 Package: libghc-newtype-generics-doc
 Architecture: all
 Section: doc
-Depends: ${haskell:Depends},
- ${misc:Depends},
-Recommends: ${haskell:Recommends},
-Suggests: ${haskell:Suggests},
-Conflicts: ${haskell:Conflicts},
+Depends: ${haskell:Depends}, ${misc:Depends}
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Conflicts: ${haskell:Conflicts}
 Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
  ${haskell:LongDescription}
  .
diff --git a/p/haskell-newtype-generics/debian/patches/newer-base b/p/haskell-newtype-generics/debian/patches/newer-base
new file mode 100644
index 0000000..3f24fbd
--- /dev/null
+++ b/p/haskell-newtype-generics/debian/patches/newer-base
@@ -0,0 +1,20 @@
+--- a/newtype-generics.cabal
++++ b/newtype-generics.cabal
+@@ -17,7 +17,7 @@ Cabal-version:       >=1.10
+ 
+ Library
+   Exposed-modules:     Control.Newtype
+-  Build-depends:       base >= 4.5 && < 4.9
++  Build-depends:       base >= 4.5 && < 4.10
+   -- Other-modules:       
+   -- Build-tools:         
+   Ghc-options: -Wall
+@@ -31,7 +31,7 @@ test-suite test
+   type:               exitcode-stdio-1.0
+   main-is:            main.hs
+   hs-source-dirs:     test,.
+-  build-depends:      base              >= 4.5 && < 4.9
++  build-depends:      base              >= 4.5 && < 4.10
+                     , hspec             >= 2.1 && < 2.3
+                     , HUnit             >= 1.2.5.2 && < 1.3
+   default-language:   Haskell2010
diff --git a/p/haskell-newtype-generics/debian/patches/series b/p/haskell-newtype-generics/debian/patches/series
new file mode 100644
index 0000000..5831f63
--- /dev/null
+++ b/p/haskell-newtype-generics/debian/patches/series
@@ -0,0 +1 @@
+newer-base

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