1
0

Accepting request 838487 from devel:languages:haskell

version update

OBS-URL: https://build.opensuse.org/request/show/838487
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-base16-bytestring?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2020-09-30 17:53:16 +00:00 committed by Git OBS Bridge
commit e3b83c058d
3 changed files with 62 additions and 0 deletions

54
base16-bytestring.cabal Normal file
View File

@ -0,0 +1,54 @@
cabal-version: 1.12
name: base16-bytestring
version: 0.1.1.7
x-revision: 3
synopsis: Fast base16 (hex) encoding and decoding for ByteStrings
description: This package provides support for encoding and decoding binary data according
to @base16@ (see also <https://tools.ietf.org/html/rfc4648 RFC 4648>) for
strict (see "Data.ByteString.Base16") and lazy @ByteString@s (see "Data.ByteString.Base16.Lazy").
.
See also the <https://hackage.haskell.org/package/base-encoding base-encoding> package which
provides an uniform API providing conversion paths between more binary and textual types.
homepage: http://github.com/haskell/base16-bytestring
bug-reports: http://github.com/haskell/base16-bytestring/issues
license: BSD3
license-file: LICENSE
copyright: Copyright 2011 MailRank, Inc.;
Copyright 2010-2020 Bryan O'Sullivan et al.
author: Bryan O'Sullivan <bos@serpentine.com>
maintainer: Herbert Valerio Riedel <hvr@gnu.org>,
Mikhail Glushenkov <mikhail.glushenkov@gmail.com>,
Emily Pillmore <emilypi@cohomolo.gy>
category: Data
build-type: Simple
extra-source-files: README.md CHANGELOG.md
tested-with: GHC==8.10.1, GHC==8.8.3, GHC==8.6.5,
GHC==8.4.4, GHC==8.2.2, GHC==8.0.2,
GHC==7.10.3, GHC==7.8.4, GHC==7.6.3,
GHC==7.4.2, GHC==7.2.2, GHC==7.0.4
library
exposed-modules:
Data.ByteString.Base16
Data.ByteString.Base16.Lazy
build-depends:
base == 4.*,
bytestring >= 0.9 && < 0.11,
ghc-prim
ghc-options: -Wall -funbox-strict-fields
default-language: Haskell2010
source-repository head
type: git
location: http://github.com/haskell/base16-bytestring
test-suite test
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: Tests.hs
default-language: Haskell2010
build-depends: base
, base16-bytestring
, bytestring

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 22 09:33:51 UTC 2020 - psimons@suse.com
- Update base16-bytestring to version 0.1.1.7 revision 3.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Tue Aug 18 10:44:06 UTC 2020 - Peter Simons <psimons@suse.com>

View File

@ -25,6 +25,7 @@ Summary: Fast base16 (hex) encoding and decoding for ByteStrings
License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-rpm-macros
@ -52,6 +53,7 @@ files.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build