[Git][haskell-team/package-plan][master] 2 commits: Make GitLab check package.txt

Dmitry Bogatov gitlab at salsa.debian.org
Wed Sep 19 19:57:49 BST 2018


Dmitry Bogatov pushed to branch master at Debian Haskell Group / package-plan


Commits:
06c6d574 by Dmitry Bogatov at 2018-09-19T18:34:51Z
Make GitLab check package.txt

- - - - -
80de380c by Dmitry Bogatov at 2018-09-19T18:48:20Z
Add tar-0.5.1.0 rev.0 into additional-cabals/

- - - - -


3 changed files:

- .gitignore
- + .gitlab-ci.yml
- + additional-cabals/tar-0.5.1.0.cabal


Changes:

=====================================
.gitignore
=====================================
@@ -8,3 +8,4 @@ update-suggestions.o
 
 .*
 !.gitignore
+!.gitlab-ci.yml


=====================================
.gitlab-ci.yml
=====================================
@@ -0,0 +1,12 @@
+image: debian:sid
+
+cache:
+  paths:
+    - .cabal
+build:
+  stage: deploy
+  script:
+    - apt-get update
+    - apt-get install -y --no-install-recommends cabal-install ghc dctrl-tools patchutils libtext-patch-perl libfile-slurp-perl libipc-run-perl liblist-moreutils-perl libdpkg-perl
+    - HOME=.cabal cabal update
+    - HOME=.cabal ./test-packages.pl


=====================================
additional-cabals/tar-0.5.1.0.cabal
=====================================
@@ -0,0 +1,166 @@
+name:            tar
+version:         0.5.1.0
+license:         BSD3
+license-file:    LICENSE
+author:          Duncan Coutts <duncan at community.haskell.org>
+                 Bjorn Bringert <bjorn at bringert.net>
+maintainer:      Duncan Coutts <duncan at community.haskell.org>
+bug-reports:     https://github.com/haskell/tar/issues
+copyright:       2007 Bjorn Bringert <bjorn at bringert.net>
+                 2008-2016 Duncan Coutts <duncan at community.haskell.org>
+category:        Codec
+synopsis:        Reading, writing and manipulating ".tar" archive files.
+description:     This library is for working with \"@.tar@\" archive files. It
+                 can read and write a range of common variations of archive
+                 format including V7, POSIX USTAR and GNU formats.
+                 .
+                 It provides support for packing and unpacking portable
+                 archives. This makes it suitable for distribution but not
+                 backup because details like file ownership and exact
+                 permissions are not preserved.
+                 .
+                 It also provides features for random access to archive
+                 content using an index.
+build-type:      Simple
+cabal-version:   >=1.8
+extra-source-files: changelog.md
+tested-with:     GHC==7.0.4, GHC==7.2.2, GHC==7.4.2, GHC==7.6.3,
+                 GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.1
+
+source-repository head
+  type: git
+  location: https://github.com/haskell/tar.git
+
+flag old-time
+  default: False
+
+flag old-bytestring
+  default: False
+
+library
+  build-depends: base       == 4.*,
+                 filepath             < 1.5,
+                 array                < 0.6,
+                 containers >= 0.2 && < 0.6,
+                 deepseq    >= 1.1 && < 1.5
+
+  if flag(old-time)
+    build-depends: directory < 1.2, old-time < 1.2
+  else
+    build-depends: directory >= 1.2 && < 1.4, time < 1.9
+
+  if flag(old-bytestring)
+    build-depends: bytestring-builder >= 0.10.4.0.2 && < 0.11, bytestring == 0.9.*
+  else
+    build-depends: bytestring == 0.10.*
+
+  if !impl(ghc >= 8.0)
+    build-depends: semigroups == 0.18.*
+
+  exposed-modules:
+    Codec.Archive.Tar
+    Codec.Archive.Tar.Entry
+    Codec.Archive.Tar.Check
+    Codec.Archive.Tar.Index
+
+  other-modules:
+    Codec.Archive.Tar.Types
+    Codec.Archive.Tar.Read
+    Codec.Archive.Tar.Write
+    Codec.Archive.Tar.Pack
+    Codec.Archive.Tar.Unpack
+    Codec.Archive.Tar.Index.StringTable
+    Codec.Archive.Tar.Index.IntTrie
+
+  other-extensions:
+    BangPatterns
+    CPP
+    DeriveDataTypeable
+    GeneralizedNewtypeDeriving
+    PatternGuards
+    ScopedTypeVariables
+
+  ghc-options: -Wall -fno-warn-unused-imports
+
+test-suite properties
+  type:          exitcode-stdio-1.0
+  build-depends: base,
+                 filepath,
+                 array,
+                 containers,
+                 deepseq,
+                 bytestring-handle,
+                 QuickCheck       == 2.*,
+                 tasty            >= 0.10 && <0.12,
+                 tasty-quickcheck == 0.8.*
+
+  if flag(old-time)
+    build-depends: directory < 1.2, old-time
+  else
+    build-depends: directory >= 1.2, time
+
+  if flag(old-bytestring)
+    build-depends: bytestring-builder, bytestring >= 0.9 && <0.10
+  else
+    build-depends: bytestring >= 0.10
+
+  if !impl(ghc >= 8.0)
+    build-depends: semigroups == 0.18.*
+
+  hs-source-dirs: . test
+
+  main-is: test/Properties.hs
+  cpp-options: -DTESTS
+
+  other-modules:
+    Codec.Archive.Tar.Index
+    Codec.Archive.Tar.Index.StringTable
+    Codec.Archive.Tar.Index.IntTrie
+
+  -- shared w/ lib:tar component
+  other-modules:
+    Codec.Archive.Tar
+    Codec.Archive.Tar.Check
+    Codec.Archive.Tar.Pack
+    Codec.Archive.Tar.Read
+    Codec.Archive.Tar.Types
+    Codec.Archive.Tar.Unpack
+    Codec.Archive.Tar.Write
+
+  other-extensions:
+    CPP
+    BangPatterns,
+    DeriveDataTypeable
+    ScopedTypeVariables
+
+  ghc-options: -fno-ignore-asserts
+
+benchmark bench
+  type:          exitcode-stdio-1.0
+  hs-source-dirs: . bench
+  main-is:       bench/Main.hs
+  build-depends: base,
+                 bytestring >= 0.10,
+                 filepath,
+                 directory >= 1.2,
+                 array,
+                 containers,
+                 deepseq,
+                 time,
+                 criterion >= 1.0
+
+  if !impl(ghc >= 8.0)
+    build-depends: semigroups == 0.18.*
+
+  -- shared w/ lib:tar component
+  other-modules:
+    Codec.Archive.Tar
+    Codec.Archive.Tar.Check
+    Codec.Archive.Tar.Index
+    Codec.Archive.Tar.Index.IntTrie
+    Codec.Archive.Tar.Index.StringTable
+    Codec.Archive.Tar.Pack
+    Codec.Archive.Tar.Read
+    Codec.Archive.Tar.Types
+    Codec.Archive.Tar.Unpack
+    Codec.Archive.Tar.Write



View it on GitLab: https://salsa.debian.org/haskell-team/package-plan/compare/b5d57e69b73f035a2112989a6162825bbfb46150...80de380c18ef04d39b26a94d870f9feaf0f6a2d7

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/package-plan/compare/b5d57e69b73f035a2112989a6162825bbfb46150...80de380c18ef04d39b26a94d870f9feaf0f6a2d7
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/20180919/b4953136/attachment-0001.html>


More information about the Pkg-haskell-commits mailing list