Commit 33b08295 authored by Clint Adams's avatar Clint Adams

bytestring-progress: Upgrading from 1.0.9 to 1.2

parent a65a41d1
haskell-bytestring-progress (1.0.9-3) UNRELEASED; urgency=medium
haskell-bytestring-progress (1.2-1) unstable; urgency=medium
* Set Rules-Requires-Root to no.
* New upstream release
-- Clint Adams <clint@debian.org> Sun, 06 May 2018 22:09:20 -0400
-- Clint Adams <clint@debian.org> Tue, 03 Jul 2018 22:03:11 -0400
haskell-bytestring-progress (1.0.9-2) unstable; urgency=medium
......
......@@ -8,9 +8,9 @@ Rules-Requires-Root: no
Build-Depends:
cdbs,
debhelper (>= 9),
haskell-devscripts (>= 0.13),
ghc (>= 8),
ghc-prof,
haskell-devscripts (>= 0.13),
libghc-terminal-progress-bar-dev (>= 0.2),
libghc-terminal-progress-bar-dev (<< 0.3),
libghc-terminal-progress-bar-prof,
......
From fd1da00d4f63bed9ea6d8bd324336e51dfa7238d Mon Sep 17 00:00:00 2001
From: Adam Wick <awick@uhsure.com>
Date: Tue, 24 Apr 2018 08:13:22 -0700
Subject: [PATCH] Update for terminal-progress-bar 0.2.
---
System/ProgressBar/ByteString.hs | 4 ++--
bytestring-progress.cabal | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
--- a/System/ProgressBar/ByteString.hs
+++ b/System/ProgressBar/ByteString.hs
@@ -10,7 +10,7 @@
import Data.ByteString.Lazy.Progress
import System.IO(Handle,hSetBuffering,hPutChar,hPutStr,BufferMode(..))
import System.IO(openFile,hFileSize,IOMode(..))
-import System.ProgressBar(Label, mkProgressBar)
+import System.ProgressBar(Label, Progress(Progress), mkProgressBar)
type ℤ = Integer
@@ -33,7 +33,7 @@
| otherwise = 16384
updateProgressBar = mkProgressBar prefix postfix width
updateFunction _ now =
- tracker $ updateProgressBar (fromIntegral now) size
+ tracker $ updateProgressBar (Progress (fromIntegral now) size)
-- |As mkByteStringProgressBar, but simply print the output to the given
-- Handle instead of using a callback.
--- a/bytestring-progress.cabal
+++ b/bytestring-progress.cabal
@@ -29,7 +29,7 @@
Exposed-Modules: Data.ByteString.Lazy.Progress
if flag(use-system-progressbar)
- Build-Depends: terminal-progress-bar >= 0.0.1 && < 0.1.2
+ Build-Depends: terminal-progress-bar >= 0.2 && < 0.3
Exposed-Modules: System.ProgressBar.ByteString
Update-for-terminal-progress-bar-0.2.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment