osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-base64 revision:7, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-base64?expand=0&rev=7
This commit is contained in:
Ondřej Súkup 2021-02-09 09:17:39 +00:00 committed by Git OBS Bridge
parent f59ee565b4
commit 2954c53a91
5 changed files with 17 additions and 121 deletions

View File

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

3
base64-0.4.2.3.tar.gz Normal file
View File

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

View File

@ -1,110 +0,0 @@
cabal-version: 2.0
name: base64
version: 0.4.2.2
x-revision: 1
synopsis: Fast RFC 4648-compliant Base64 encoding
description:
RFC 4648-compliant padded and unpadded base64 and base64url encoding and decoding. This library provides
performant encoding and decoding primitives, as well as support for textual values.
homepage: https://github.com/emilypi/base64
bug-reports: https://github.com/emilypi/base64/issues
license: BSD3
license-file: LICENSE
author: Emily Pillmore
maintainer: emilypi@cohomolo.gy
copyright: (c) 2019-2020 Emily Pillmore
category: Data
build-type: Simple
extra-doc-files:
CHANGELOG.md
README.md
tested-with:
GHC ==8.2.2
|| ==8.4.3
|| ==8.4.4
|| ==8.6.3
|| ==8.6.5
|| ==8.8.1
|| ==8.10.1
source-repository head
type: git
location: https://github.com/emilypi/base64.git
library
exposed-modules:
Data.ByteString.Base64
Data.ByteString.Base64.URL
Data.ByteString.Lazy.Base64
Data.ByteString.Lazy.Base64.URL
Data.ByteString.Short.Base64
Data.ByteString.Short.Base64.URL
Data.Text.Encoding.Base64
Data.Text.Encoding.Base64.Error
Data.Text.Encoding.Base64.URL
Data.Text.Lazy.Encoding.Base64
Data.Text.Lazy.Encoding.Base64.URL
Data.Text.Short.Encoding.Base64
Data.Text.Short.Encoding.Base64.URL
other-modules:
Data.ByteString.Base64.Internal
Data.ByteString.Base64.Internal.Head
Data.ByteString.Base64.Internal.Tables
Data.ByteString.Base64.Internal.Tail
Data.ByteString.Base64.Internal.Utils
Data.ByteString.Base64.Internal.W16.Loop
Data.ByteString.Base64.Internal.W32.Loop
Data.ByteString.Base64.Internal.W64.Loop
build-depends:
base >=4.10 && <5
, bytestring >=0.10 && <0.12
, deepseq >=1.4.3.0 && <1.4.5.0
, ghc-byteorder ^>=4.11.0.0
, text ^>=1.2
, text-short ^>=0.1
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
test-suite tasty
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: test
other-modules: Internal
main-is: Main.hs
build-depends:
base >=4.10 && <5
, base64
, base64-bytestring
, bytestring
, QuickCheck
, random-bytestring
, tasty
, tasty-hunit
, tasty-quickcheck
, text
, text-short
ghc-options: -Wall -threaded -with-rtsopts=-N
benchmark bench
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: benchmarks
main-is: Base64Bench.hs
build-depends:
base >=4.10 && <5
, base64
, base64-bytestring
, bytestring
, criterion
, deepseq
, random-bytestring
, text
ghc-options: -Wall -rtsopts

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Jan 27 19:35:33 UTC 2021 - psimons@suse.com
- Update base64 to version 0.4.2.3.
## 0.4.2.3
* Minor release for stackage, limiting memory usage in test suites.
* Transition to Github Actions CI
-------------------------------------------------------------------
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-base64
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,13 +19,12 @@
%global pkg_name base64
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.4.2.2
Version: 0.4.2.3
Release: 0
Summary: Fast RFC 4648-compliant Base64 encoding
Summary: A modern RFC 4648-compliant Base64 library
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/1.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-deepseq-devel
@ -44,9 +43,8 @@ BuildRequires: ghc-tasty-quickcheck-devel
%endif
%description
RFC 4648-compliant padded and unpadded base64 and base64url encoding and
decoding. This library provides performant encoding and decoding primitives, as
well as support for textual values.
RFC 4648-compliant Base64 with an eye towards performance and modernity
(additional support for RFC 7049 standards).
%package devel
Summary: Haskell %{pkg_name} library development files
@ -60,7 +58,6 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build