[Git][haskell-team/package-plan][master] add lzma (needed for binNMUs.hs)

Clint Adams gitlab at salsa.debian.org
Sun Jul 8 20:17:34 BST 2018


Clint Adams pushed to branch master at Debian Haskell Group / package-plan


Commits:
053dfce3 by Clint Adams at 2018-07-08T15:17:13-04:00
add lzma (needed for binNMUs.hs)

- - - - -


4 changed files:

- + additional-cabals/lzma-0.0.0.3.cabal
- packages.txt
- + patches/lzma/0.0.0.3/newer-deps
- + patches/lzma/0.0.0.3/series


Changes:

=====================================
additional-cabals/lzma-0.0.0.3.cabal
=====================================
--- /dev/null
+++ b/additional-cabals/lzma-0.0.0.3.cabal
@@ -0,0 +1,79 @@
+name:                lzma
+version:             0.0.0.3
+synopsis:            LZMA/XZ compression and decompression
+homepage:            https://github.com/hvr/lzma
+bug-reports:         https://github.com/hvr/lzma/issues
+license:             BSD3
+license-file:        LICENSE
+author:              Herbert Valerio Riedel
+maintainer:          hvr at gnu.org
+copyright:           (c) 2015, Herbert Valerio Riedel
+stability:           experimental
+category:            Codec, Compression
+build-type:          Simple
+cabal-version:       >=1.10
+tested-with:         GHC ==7.4.2, GHC ==7.6.3, GHC ==7.8.4, GHC ==7.10.3, GHC ==8.0.1, GHC ==8.0.2
+description:
+    This package provides a pure interface for compressing and
+    decompressing
+    <https://en.wikipedia.org/wiki/LZMA LZMA (Lempel–Ziv–Markov chain algorithm)>
+    streams of data represented as lazy @ByteString at s. A
+    monadic incremental interface is provided as well. This package
+    relies on the <http://tukaani.org/xz/ liblzma C library>.
+    .
+    The following packages are based on this package and provide
+    API support for popular streaming frameworks:
+    .
+      * </package/lzma-streams lzma-streams> (for </package/io-streams io-streams>)
+    .
+      * </package/pipes-lzma pipes-lzma> (for </package/pipes pipes>)
+    .
+
+extra-source-files:
+  Changelog.md
+
+source-repository head
+  type:     git
+  location: https://github.com/hvr/lzma.git
+
+library
+  default-language:    Haskell2010
+  other-extensions:    BangPatterns, RecordWildCards, DeriveDataTypeable
+  hs-source-dirs:      src
+
+  exposed-modules:     Codec.Compression.Lzma
+  other-modules:       LibLzma
+
+  build-depends:       base       >=4.5    && <4.10
+                     , bytestring >=0.9.2  && <0.11
+
+  if os(windows)
+    build-depends:     lzma-clib
+  else
+    includes:          lzma.h
+    extra-libraries:   lzma
+
+  c-sources:           cbits/lzma_wrapper.c
+
+  ghc-options:         -Wall
+
+
+test-suite lzma-tests
+  default-language:    Haskell2010
+  other-extensions:    OverloadedStrings
+  hs-source-dirs:      src-tests
+  type:                exitcode-stdio-1.0
+  main-is:             lzma-tests.hs
+
+  -- dependencies with version bounds inherited from the library stanza
+  build-depends:       lzma
+                     , base
+                     , bytestring
+  -- additional dependencies that require version bounds
+  build-depends:       HUnit                      >= 1.2      && <1.4
+                     , QuickCheck                 >= 2.8      && <2.9
+                     , tasty                      >= 0.10     && <0.12
+                     , tasty-hunit                == 0.9.*
+                     , tasty-quickcheck           >= 0.8.3.2  && < 0.9
+
+  ghc-options:         -Wall -threaded


=====================================
packages.txt
=====================================
--- a/packages.txt
+++ b/packages.txt
@@ -509,6 +509,7 @@ logict 0.6.0.2
 lrucache 1.2.0.0
 lucid 2.9.10
 lucid-svg 0.7.0.0
+lzma 0.0.0.3
 magic 1.1
 map-syntax 0.3 ahead
 markdown 0.1.17.1


=====================================
patches/lzma/0.0.0.3/newer-deps
=====================================
--- /dev/null
+++ b/patches/lzma/0.0.0.3/newer-deps
@@ -0,0 +1,27 @@
+--- a/lzma.cabal
++++ b/lzma.cabal
+@@ -44,7 +44,7 @@
+   exposed-modules:     Codec.Compression.Lzma
+   other-modules:       LibLzma
+ 
+-  build-depends:       base       >=4.5    && <4.10
++  build-depends:       base       >=4.5    && <4.11
+                      , bytestring >=0.9.2  && <0.11
+ 
+   if os(windows)
+@@ -70,10 +70,10 @@
+                      , base
+                      , bytestring
+   -- additional dependencies that require version bounds
+-  build-depends:       HUnit                      >= 1.2      && <1.4
+-                     , QuickCheck                 >= 2.8      && <2.9
+-                     , tasty                      >= 0.10     && <0.12
+-                     , tasty-hunit                == 0.9.*
+-                     , tasty-quickcheck           >= 0.8.3.2  && < 0.9
++  build-depends:       HUnit                      >= 1.2      && < 1.7
++                     , QuickCheck                 >= 2.8      && < 2.11
++                     , tasty                      >= 0.10     && < 1.1
++                     , tasty-hunit                >= 0.9      && < 0.11
++                     , tasty-quickcheck           >= 0.8.3.2  && < 0.10
+ 
+   ghc-options:         -Wall -threaded


=====================================
patches/lzma/0.0.0.3/series
=====================================
--- /dev/null
+++ b/patches/lzma/0.0.0.3/series
@@ -0,0 +1 @@
+newer-deps



View it on GitLab: https://salsa.debian.org/haskell-team/package-plan/commit/053dfce304aa924827b31907be65d323d6d6c82f

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/package-plan/commit/053dfce304aa924827b31907be65d323d6d6c82f
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20180708/7352116f/attachment-0001.html>


More information about the Pkg-haskell-commits mailing list