SHA256
1
0
forked from pool/ghc-base64

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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-base64?expand=0&rev=13
This commit is contained in:
Peter Simons 2022-06-29 12:18:08 +00:00 committed by Git OBS Bridge
parent e817e0c86b
commit 5024d10c29
5 changed files with 14 additions and 110 deletions

View File

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

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

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

View File

@ -1,102 +0,0 @@
cabal-version: 2.0
name: base64
version: 0.4.2.3
x-revision: 2
synopsis: A modern RFC 4648-compliant Base64 library
description:
RFC 4648-compliant Base64 with an eye towards performance and modernity (additional support for RFC 7049 standards)
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.4 || ==8.6.5 || ==8.8.4 || ==8.10.3
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 && <4.16
, bytestring >=0.10 && <0.12
, deepseq >=1.4.3.0 && <1.4.6.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 && <4.16
, 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 && <4.16
, base64
, base64-bytestring
, bytestring
, criterion
, deepseq
, random-bytestring
, text
ghc-options: -Wall -rtsopts

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Mar 28 18:39:06 UTC 2022 - Peter Simons <psimons@suse.com>
- Update base64 to version 0.4.2.4.
Upstream has edited the change log file since the last release in
a non-trivial way, i.e. they did more than just add a new entry
at the top. You can review the file at:
http://hackage.haskell.org/package/base64-0.4.2.4/src/CHANGELOG.md
-------------------------------------------------------------------
Sun Dec 26 23:39:57 UTC 2021 - Peter Simons <psimons@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-base64
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,17 +19,15 @@
%global pkg_name base64
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.4.2.3
Version: 0.4.2.4
Release: 0
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/2.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-ghc-byteorder-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-text-devel
BuildRequires: ghc-text-short-devel
@ -59,7 +57,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