diff options
author | Clint Adams <clint@debian.org> | 2016-10-09 03:10:06 -0400 |
---|---|---|
committer | Clint Adams <clint@debian.org> | 2016-10-09 03:10:06 -0400 |
commit | 58541a9902cc51eba5799442bc094aa45c1de146 (patch) | |
tree | cd2631590d7d11f624f90fab8e54f52d08f3f58d /p/haskell-binary-parsers | |
parent | 4e1fd5e44abc8100a2e9713edd905929819b690c (diff) | |
download | DHG_packages-58541a9902cc51eba5799442bc094aa45c1de146.tar.gz |
add binary-parsers
Diffstat (limited to 'p/haskell-binary-parsers')
-rw-r--r-- | p/haskell-binary-parsers/debian/changelog | 5 | ||||
-rw-r--r-- | p/haskell-binary-parsers/debian/compat | 1 | ||||
-rw-r--r-- | p/haskell-binary-parsers/debian/control | 89 | ||||
-rw-r--r-- | p/haskell-binary-parsers/debian/copyright | 57 | ||||
-rw-r--r-- | p/haskell-binary-parsers/debian/patches/older-binary | 11 | ||||
-rw-r--r-- | p/haskell-binary-parsers/debian/patches/series | 1 | ||||
-rwxr-xr-x | p/haskell-binary-parsers/debian/rules | 8 | ||||
-rw-r--r-- | p/haskell-binary-parsers/debian/source/format | 1 | ||||
-rw-r--r-- | p/haskell-binary-parsers/debian/watch | 2 |
9 files changed, 175 insertions, 0 deletions
diff --git a/p/haskell-binary-parsers/debian/changelog b/p/haskell-binary-parsers/debian/changelog new file mode 100644 index 000000000..314ef15ea --- /dev/null +++ b/p/haskell-binary-parsers/debian/changelog @@ -0,0 +1,5 @@ +haskell-binary-parsers (0.2.3.0-1) unstable; urgency=low + + * Initial release + + -- Clint Adams <clint@debian.org> Sun, 09 Oct 2016 02:48:57 -0400 diff --git a/p/haskell-binary-parsers/debian/compat b/p/haskell-binary-parsers/debian/compat new file mode 100644 index 000000000..f599e28b8 --- /dev/null +++ b/p/haskell-binary-parsers/debian/compat @@ -0,0 +1 @@ +10 diff --git a/p/haskell-binary-parsers/debian/control b/p/haskell-binary-parsers/debian/control new file mode 100644 index 000000000..247af3d76 --- /dev/null +++ b/p/haskell-binary-parsers/debian/control @@ -0,0 +1,89 @@ +Source: haskell-binary-parsers +Maintainer: Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org> +Uploaders: Clint Adams <clint@debian.org> +Priority: extra +Section: haskell +Build-Depends: debhelper (>= 10), + haskell-devscripts (>= 0.9), + cdbs, + ghc, + ghc-prof, + libghc-bytestring-lexing-dev (>= 0.5), + libghc-bytestring-lexing-dev (<< 0.6), + libghc-bytestring-lexing-prof, + libghc-scientific-dev (>> 0.3), + libghc-scientific-prof, + libghc-quickcheck2-dev (>= 2.7), + libghc-attoparsec-dev, + libghc-bytestring-lexing-dev, + libghc-fail-dev (>= 4.9), + libghc-fail-dev (<< 4.10), + libghc-quickcheck-instances-dev (>= 0.3), + libghc-quickcheck-unicode-dev, + libghc-scientific-dev, + libghc-semigroups-dev (>= 0.16.1), + libghc-semigroups-dev (<< 0.19), + libghc-tasty-dev (>= 0.11), + libghc-tasty-hunit-dev (>= 0.8), + libghc-tasty-quickcheck-dev (>= 0.8), + libghc-text-dev, + libghc-unordered-containers-dev, + libghc-vector-dev, +Build-Depends-Indep: ghc-doc, + libghc-bytestring-lexing-doc, + libghc-scientific-doc, +Standards-Version: 3.9.8 +Homepage: https://github.com/winterland1989/binary-parsers +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-haskell/DHG_packages.git/tree/p/haskell-binary-parsers +Vcs-Git: https://anonscm.debian.org/cgit/pkg-haskell/DHG_packages.git +X-Description: parsec-/attoparsec-style parsing combinators + This package extends binary with parsec/attoparsec style parsing + combinators. It's useful when you want to deal with various binary + format, and it's very fast. You can now write more complex Binary + instances using comprehensive combinators, with serialisation + packages like blaze-texual. + . + Binary's Get monad is designed to perform best on non-backtracking + cases, but it still provides fast backtracking support via + Alternative instance, it's overall an excellent alternative to + attoparsec if you only deal with ByteString. + +Package: libghc-binary-parsers-dev +Architecture: any +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} + . + ${haskell:Blurb} + +Package: libghc-binary-parsers-prof +Architecture: any +Depends: ${haskell:Depends}, + ${misc:Depends}, +Recommends: ${haskell:Recommends}, +Suggests: ${haskell:Suggests}, +Conflicts: ${haskell:Conflicts}, +Provides: ${haskell:Provides}, +Description: ${haskell:ShortDescription}${haskell:ShortBlurb} + ${haskell:LongDescription} + . + ${haskell:Blurb} + +Package: libghc-binary-parsers-doc +Architecture: all +Section: doc +Depends: ${haskell:Depends}, + ${misc:Depends}, +Recommends: ${haskell:Recommends}, +Suggests: ${haskell:Suggests}, +Conflicts: ${haskell:Conflicts}, +Description: ${haskell:ShortDescription}${haskell:ShortBlurb} + ${haskell:LongDescription} + . + ${haskell:Blurb} diff --git a/p/haskell-binary-parsers/debian/copyright b/p/haskell-binary-parsers/debian/copyright new file mode 100644 index 000000000..7f936cc07 --- /dev/null +++ b/p/haskell-binary-parsers/debian/copyright @@ -0,0 +1,57 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: binary-parsers +Upstream-Contact: drkoster@qq.com +Source: https://hackage.haskell.org/package/binary-parsers + +Files: * +Copyright: 2016 Winterland +License: BSD-3-clause + +Files: Data/Binary/Parser.hs +Copyright: 1999-2001 Daan Leijen + 2007-2015 Bryan O'Sullivan + 2016 Winterland +License: BSD-3-clause + +Files: Data/Binary/Parser/Numeric.hs + Data/Binary/Parser/Char8.hs + Data/Binary/Parser/Word8.hs +Copyright: 2007-2015 Bryan O'Sullivan + 2016 Winterland +License: BSD-3-clause + +Files: bench/Network/Wai/Handler/Warp/ReadInt.hs +Copyright: Erik de Castro Lopo <erikd@mega-nerd.com> +License: BSD-3-clause + +Files: debian/* +Copyright: held by the contributors mentioned in debian/changelog +License: BSD-3-clause + +License: BSD-3-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + . + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + . + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + . + * Neither the name of winterland1989 nor the names of other + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/p/haskell-binary-parsers/debian/patches/older-binary b/p/haskell-binary-parsers/debian/patches/older-binary new file mode 100644 index 000000000..d64328a9f --- /dev/null +++ b/p/haskell-binary-parsers/debian/patches/older-binary @@ -0,0 +1,11 @@ +--- a/binary-parsers.cabal ++++ b/binary-parsers.cabal +@@ -31,7 +31,7 @@ + + build-depends: base == 4.* + , bytestring == 0.10.* +- , binary == 0.8.* ++ , binary >= 0.7 && < 0.9 + , bytestring-lexing == 0.5.* + , scientific > 0.3 + diff --git a/p/haskell-binary-parsers/debian/patches/series b/p/haskell-binary-parsers/debian/patches/series new file mode 100644 index 000000000..f66b2c94f --- /dev/null +++ b/p/haskell-binary-parsers/debian/patches/series @@ -0,0 +1 @@ +older-binary diff --git a/p/haskell-binary-parsers/debian/rules b/p/haskell-binary-parsers/debian/rules new file mode 100755 index 000000000..d615bb6fb --- /dev/null +++ b/p/haskell-binary-parsers/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +DEB_ENABLE_TESTS = yes +DEB_CABAL_PACKAGE = binary-parsers +DEB_DEFAULT_COMPILER = ghc + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/hlibrary.mk diff --git a/p/haskell-binary-parsers/debian/source/format b/p/haskell-binary-parsers/debian/source/format new file mode 100644 index 000000000..163aaf8d8 --- /dev/null +++ b/p/haskell-binary-parsers/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/p/haskell-binary-parsers/debian/watch b/p/haskell-binary-parsers/debian/watch new file mode 100644 index 000000000..fa5e00092 --- /dev/null +++ b/p/haskell-binary-parsers/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://hackage.haskell.org/package/binary-parsers/distro-monitor .*-([0-9\.]+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) |