update to 0.5

This commit is contained in:
Jens Petersen 2019-07-25 16:30:10 +00:00
parent 35565f29a6
commit a37b2ce438
4 changed files with 131 additions and 3 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/sandi-0.4.1.tar.gz
/sandi-0.4.2.tar.gz
/sandi-0.4.3.tar.gz
/sandi-0.5.tar.gz

View File

@ -7,14 +7,15 @@
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.4.3
Release: 2%{?dist}
Version: 0.5
Release: 1%{?dist}
Summary: Data encoding library
License: BSD
Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
# End cabal-rpm sources
# Begin cabal-rpm deps:
@ -75,6 +76,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
cp -bp %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm setup
@ -114,6 +116,9 @@ This package provides the Haskell %{pkg_name} profiling library.
%changelog
* Thu Jul 25 2019 Jens Petersen <petersen@redhat.com> - 0.5-1
- update to 0.5
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

122
sandi-0.5.cabal Normal file
View File

@ -0,0 +1,122 @@
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.31.1.
--
-- see: https://github.com/sol/hpack
--
-- hash: 6183f2dd5fde1b5f89e8c5599ef0b4457280d17a3b0126ef21c0f541cc780473
name: sandi
version: 0.5
x-revision: 1
synopsis: Data encoding library
description: Reasonably fast data encoding library.
category: Codec, Conduit
maintainer: Magnus Therning <magnus@therning.org>
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
package.yaml
csrc/codec.h
source-repository head
type: git
location: https://github.com/magthe/sandi.git
flag with-conduit
manual: True
default: True
library
exposed-modules:
Codec.Binary.Base16
Codec.Binary.Base32
Codec.Binary.Base32Hex
Codec.Binary.Base64
Codec.Binary.Base64Url
Codec.Binary.Base85
Codec.Binary.QuotedPrintable
Codec.Binary.Uu
Codec.Binary.Xx
Codec.Binary.Yenc
other-modules:
Paths_sandi
hs-source-dirs:
src
cc-options: -fPIC -Wall -Wextra
c-sources:
csrc/codec.c
build-depends:
base <5
, bytestring
if flag(with-conduit)
exposed-modules:
Data.Conduit.Codec.Base16
Data.Conduit.Codec.Base32
Data.Conduit.Codec.Base32Hex
Data.Conduit.Codec.Base64
Data.Conduit.Codec.Base64Url
Data.Conduit.Codec.Base85
Data.Conduit.Codec.QuotedPrintable
Data.Conduit.Codec.Uu
Data.Conduit.Codec.Xx
Data.Conduit.Codec.Yenc
other-modules:
Data.Conduit.Codec.Util
build-depends:
conduit >= 1.3
, exceptions
default-language: Haskell2010
test-suite sandi-tests
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Codec.Binary.Base16Test
Codec.Binary.Base32HexTest
Codec.Binary.Base32Test
Codec.Binary.Base64Test
Codec.Binary.Base64UrlTest
Codec.Binary.Base85Test
Codec.Binary.QuotedPrintableTest
Codec.Binary.UuTest
Codec.Binary.XxTest
Codec.Binary.YencTest
Codec.TestUtils
Paths_sandi
hs-source-dirs:
test-src
build-depends:
base
, bytestring
, sandi
, tasty
, tasty-hunit
, tasty-quickcheck
, tasty-th
default-language: Haskell2010
benchmark sandi-bench
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Codec.Binary.Base16Bench
Codec.Binary.Base32Bench
Codec.Binary.Base32HexBench
Codec.Binary.Base64Bench
Codec.Binary.Base64UrlBench
Codec.Binary.Base85Bench
Codec.Binary.QuotedPrintableBench
Codec.Binary.UuBench
Codec.Binary.XxBench
Codec.Binary.YencBench
Paths_sandi
hs-source-dirs:
bench-src
build-depends:
base
, bytestring
, criterion
, sandi
default-language: Haskell2010

View File

@ -1 +1 @@
SHA512 (sandi-0.4.3.tar.gz) = 76d9288d7dce824d320e545b0540b40b148b8c848c7785fc79514cdfa6815a946229fd70c341443f52a9cf8cdb4f425980a14b33d0c3b02cf6645854e5048269
SHA512 (sandi-0.5.tar.gz) = 8abff3496d0d3f082f12416eea3189e06d1663fe78d996159396ab944389b2a816853c0191edced3b176fc506dac60e9ce84347ecaf2c255e5ec0d6b1590c012