[DHG_packages] 01/01: token-bucket: patch for newer base and time
Clint Adams
clint at moszumanska.debian.org
Thu Oct 13 08:22:14 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 288cc632927c3ec361a25cddab64093f4ef19177
Author: Clint Adams <clint at debian.org>
Date: Sun Oct 9 15:17:57 2016 -0400
token-bucket: patch for newer base and time
---
p/haskell-token-bucket/debian/changelog | 6 ++++++
p/haskell-token-bucket/debian/control | 2 +-
.../debian/patches/newer-base-and-time | 25 ++++++++++++++++++++++
p/haskell-token-bucket/debian/patches/series | 1 +
4 files changed, 33 insertions(+), 1 deletion(-)
diff --git a/p/haskell-token-bucket/debian/changelog b/p/haskell-token-bucket/debian/changelog
index b35ba27..4671d4c 100644
--- a/p/haskell-token-bucket/debian/changelog
+++ b/p/haskell-token-bucket/debian/changelog
@@ -1,3 +1,9 @@
+haskell-token-bucket (0.1.0.1-2) experimental; urgency=medium
+
+ * Patch to build with GHC 8.
+
+ -- Clint Adams <clint at debian.org> Sun, 09 Oct 2016 15:17:39 -0400
+
haskell-token-bucket (0.1.0.1-1) unstable; urgency=medium
* Initial release (Closes: #839110).
diff --git a/p/haskell-token-bucket/debian/control b/p/haskell-token-bucket/debian/control
index 169ca45..5776b89 100644
--- a/p/haskell-token-bucket/debian/control
+++ b/p/haskell-token-bucket/debian/control
@@ -6,7 +6,7 @@ Section: haskell
Build-Depends: debhelper (>= 10),
haskell-devscripts (>= 0.9),
cdbs,
- ghc,
+ ghc (>= 8),
ghc-prof,
Build-Depends-Indep: ghc-doc,
Standards-Version: 3.9.8
diff --git a/p/haskell-token-bucket/debian/patches/newer-base-and-time b/p/haskell-token-bucket/debian/patches/newer-base-and-time
new file mode 100644
index 0000000..9718009
--- /dev/null
+++ b/p/haskell-token-bucket/debian/patches/newer-base-and-time
@@ -0,0 +1,25 @@
+--- a/token-bucket.cabal
++++ b/token-bucket.cabal
+@@ -27,19 +27,19 @@ flag use-cbits
+
+ library
+ default-language: Haskell2010
+- build-depends: base >=4.6 && <4.9
++ build-depends: base >=4.6 && <4.10
+ hs-source-dirs: src
+ if flag(use-cbits)
+ cpp-options: -DUSE_CBITS
+ c-sources: cbits/get_posix_time.c
+ else
+- build-depends: time >=1.4 && <1.6
++ build-depends: time >=1.4 && <1.8
+ ghc-options: -Wall
+ exposed-modules: Control.Concurrent.TokenBucket
+
+ test-suite test-tb
+ default-language: Haskell2010
+ type: exitcode-stdio-1.0
+- build-depends: base >=4.6 && <4.9, time >=1.4 && <1.6, token-bucket
++ build-depends: base >=4.6 && <4.10, time >=1.4 && <1.8, token-bucket
+ main-is: test-tb.hs
+ ghc-options: -Wall -threaded -rtsopts
diff --git a/p/haskell-token-bucket/debian/patches/series b/p/haskell-token-bucket/debian/patches/series
new file mode 100644
index 0000000..22cf6fb
--- /dev/null
+++ b/p/haskell-token-bucket/debian/patches/series
@@ -0,0 +1 @@
+newer-base-and-time
--
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