Commit e905fa07 authored by Sean Whitton's avatar Sean Whitton

Initial packaging of text-conversions-0.3.0

parent 40e06bfa
haskell-text-conversions (0.3.0-1) unstable; urgency=medium
* Initial release.
-- Sean Whitton <spwhitton@spwhitton.name> Thu, 28 Nov 2019 22:06:42 -0700
Source: haskell-text-conversions
Maintainer: Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
Uploaders: Sean Whitton <spwhitton@spwhitton.name>
Priority: optional
Section: haskell
Build-Depends: debhelper (>= 10),
haskell-devscripts-minimal | haskell-devscripts (>= 0.9),
cdbs,
ghc,
ghc-prof,
libghc-base16-bytestring-dev,
libghc-base16-bytestring-prof,
libghc-base64-bytestring-dev,
libghc-base64-bytestring-prof,
libghc-errors-dev,
libghc-errors-prof,
libghc-hspec-dev <!nocheck>,
hspec-discover <!nocheck>,
Build-Depends-Indep: ghc-doc,
libghc-base16-bytestring-doc,
libghc-base64-bytestring-doc,
libghc-errors-doc,
Standards-Version: 4.4.1
Homepage: https://github.com/cjdev/text-conversions
Vcs-Browser: https://salsa.debian.org/haskell-team/DHG_packages/tree/master/p/haskell-text-conversions
Vcs-Git: https://salsa.debian.org/haskell-team/DHG_packages.git
X-Description: Haskell library for safe conversions between textual types
This is a small library to ease the pain when converting between the
many different string types in Haskell. Unlike some other libraries
that attempt to solve the same problem, text-conversions is:
.
Safe: This library treats binary data (aka `ByteString`) like binary
data, and it does not assume a particular encoding, nor does it ever
throw exceptions when failing to decode. It does, however, provide
failable conversions between binary data and textual data.
.
Extensible: It’s easy to add or derive your own instances of the
typeclasses to use your own types through the same interface.
Package: libghc-text-conversions-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-text-conversions-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-text-conversions-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}
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: text-conversions
Upstream-Contact: Alexis King <lexi.lambda@gmail.com>
Source: https://hackage.haskell.org/package/text-conversions
Files: *
Copyright: Copyright CJ Affiliate by Conversant (c) 2016
License: ISC
Files: debian/*
Copyright: (C) 2019 Sean Whitton <spwhitton@spwhitton.name>
License: ISC
License: ISC
Permission to use, copy, modify, and/or distribute this software for any purpose
with or without fee is hereby granted, provided that the above copyright notice
and this permission notice appear in all copies.
.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
THIS SOFTWARE.
The test suite is able to use the installed hspec-discover, even when
it thinks it is not available. So comment out the check.
--- a/text-conversions.cabal
+++ b/text-conversions.cabal
@@ -55,7 +55,7 @@ test-suite text-conversions-test-suite
, text-conversions
, bytestring
, hspec
- , hspec-discover
+ -- , hspec-discover
, text
other-modules:
Data.Text.ConversionsSpec
#!/usr/bin/make -f
DEB_SETUP_BIN_NAME = debian/hlibrary.setup
DEB_CABAL_PACKAGE = text-conversions
DEB_DEFAULT_COMPILER = ghc
DEB_ENABLE_TESTS = yes
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk
version=3
https://hackage.haskell.org/package/text-conversions/distro-monitor .*-([0-9\.]+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
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