1
0

osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-base16-bytestring revision:13, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-base16-bytestring?expand=0&rev=43
This commit is contained in:
Ondřej Súkup 2020-12-18 12:51:41 +00:00 committed by Git OBS Bridge
parent d8c1e087a1
commit 06572a32e2
5 changed files with 51 additions and 64 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:525689679d5cc80fa532c1d5cfeace0f62bbb54134fad514f1ba00d0e7fe69ba
size 5136

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c0c70a4b58be53d36971bd7361ba300f82a5d5ebf7f50e1a2d7bfc8838bdd6fa
size 7256

View File

@ -1,54 +0,0 @@
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,30 @@
-------------------------------------------------------------------
Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- force i686 arch on i586
-------------------------------------------------------------------
Wed Dec 9 11:28:16 UTC 2020 - psimons@suse.com
- Update base16-bytestring to version 1.0.1.0.
# 1.0.1.0
* Backwards-compatible support for `bytestring ^>= 0.11` ([#15](https://github.com/haskell/base16-bytestring/pull/15))
# 1.0.0.0
* Merged omnibus PR doing a variety of things in ([#10](https://github.com/haskell/base16-bytestring/pull/10)):
- Improves performance by 3-4x for encode, 4-5x for decode.
- The `decode` signature returning the tuple and actually returns an error message with offset. The signature will now be `ByteString -> Either String ByteString`.
- Actually tests using the test vectors defined in the RFC, and uses property tests to ensure invariants hold.
- Adds lenient decoders to the API
- Adds `-XTrustworthy` annotations to the relevant exposed modules
- Rewrites the haddocks to be more up to date and fancy-styled.
- Adds benchmarks to the `.cabal` file so they can be run at toplevel, and make them better.
- Bumps the Cabal version to 1.12
Because of the breadth of this change, we are calling this a new epoch for the `base16-bytestring` library. Hence, the version `1.0.0.0`.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Sep 22 09:33:51 UTC 2020 - psimons@suse.com Tue Sep 22 09:33:51 UTC 2020 - psimons@suse.com

View File

@ -19,16 +19,28 @@
%global pkg_name base16-bytestring %global pkg_name base16-bytestring
%bcond_with tests %bcond_with tests
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.1.1.7 Version: 1.0.1.0
Release: 0 Release: 0
Summary: Fast base16 (hex) encoding and decoding for ByteStrings Summary: RFC 4648-compliant Base16 encodings for ByteStrings
License: BSD-3-Clause License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name} URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz 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-Cabal-devel
BuildRequires: ghc-bytestring-devel BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
# GHC dont support i586
%ifarch %{ix86}
ExclusiveArch: i586 i686
ExclusiveArch: i686
%{expand:%%global optflags %(echo "%{optflags}"|sed -e s/i586/i686/) -march=i686 -mtune=generic}
%endif
%if %{with tests}
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-test-framework-devel
BuildRequires: ghc-test-framework-hunit-devel
BuildRequires: ghc-test-framework-quickcheck2-devel
%endif
%description %description
This package provides support for encoding and decoding binary data according This package provides support for encoding and decoding binary data according
@ -36,9 +48,12 @@ to 'base16' (see also <https://tools.ietf.org/html/rfc4648 RFC 4648>) for
strict (see "Data.ByteString.Base16") and lazy 'ByteString's (see strict (see "Data.ByteString.Base16") and lazy 'ByteString's (see
"Data.ByteString.Base16.Lazy"). "Data.ByteString.Base16.Lazy").
See also the <https://hackage.haskell.org/package/base-encoding base-encoding> See the <https://hackage.haskell.org/package/base16 base16> package which
package which provides an uniform API providing conversion paths between more provides superior encoding and decoding performance as well as support for
binary and textual types. lazy, short, and strict variants of 'Text' and 'ByteString' values.
Additionally, see 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.
%package devel %package devel
Summary: Haskell %{pkg_name} library development files Summary: Haskell %{pkg_name} library development files
@ -53,7 +68,6 @@ files.
%prep %prep
%autosetup -n %{pkg_name}-%{version} %autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build %build
%ghc_lib_build %ghc_lib_build