Accepting request 1098947 from devel:languages:haskell
version update OBS-URL: https://build.opensuse.org/request/show/1098947 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-base64-bytestring?expand=0&rev=17
This commit is contained in:
commit
44ea7140a8
92
base64-bytestring.cabal
Normal file
92
base64-bytestring.cabal
Normal file
@ -0,0 +1,92 @@
|
||||
cabal-version: 1.12
|
||||
name: base64-bytestring
|
||||
version: 1.2.1.0
|
||||
x-revision: 1
|
||||
synopsis: Fast base64 encoding and decoding for ByteStrings
|
||||
description:
|
||||
This package provides support for encoding and decoding binary data according to @base64@ (see also <https://tools.ietf.org/html/rfc4648 RFC 4648>) for strict and lazy ByteStrings
|
||||
.
|
||||
For a fuller-featured and better-performing Base64 library, see the <https://hackage.haskell.org/package/base64 base64> package.
|
||||
|
||||
homepage: https://github.com/haskell/base64-bytestring
|
||||
bug-reports: https://github.com/haskell/base64-bytestring/issues
|
||||
license: BSD3
|
||||
license-file: LICENSE
|
||||
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>
|
||||
|
||||
copyright: 2010-2020 Bryan O'Sullivan et al.
|
||||
category: Data
|
||||
build-type: Simple
|
||||
tested-with:
|
||||
GHC ==7.0.4
|
||||
|| ==7.2.2
|
||||
|| ==7.4.2
|
||||
|| ==7.6.3
|
||||
|| ==7.8.4
|
||||
|| ==7.10.3
|
||||
|| ==8.0.2
|
||||
|| ==8.2.2
|
||||
|| ==8.4.4
|
||||
|| ==8.6.5
|
||||
|| ==8.8.4
|
||||
|| ==8.10.7
|
||||
|
||||
extra-source-files:
|
||||
README.md
|
||||
CHANGELOG.md
|
||||
utils/Transcode.hs
|
||||
utils/transcode.py
|
||||
|
||||
library
|
||||
exposed-modules:
|
||||
Data.ByteString.Base64
|
||||
Data.ByteString.Base64.Lazy
|
||||
Data.ByteString.Base64.URL
|
||||
Data.ByteString.Base64.URL.Lazy
|
||||
|
||||
other-modules: Data.ByteString.Base64.Internal
|
||||
build-depends:
|
||||
base >=4 && <5
|
||||
, bytestring >=0.9 && <0.13
|
||||
|
||||
ghc-options: -Wall -funbox-strict-fields
|
||||
default-language: Haskell2010
|
||||
|
||||
test-suite test
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: tests
|
||||
main-is: Tests.hs
|
||||
ghc-options: -Wall -threaded -rtsopts
|
||||
build-depends:
|
||||
base
|
||||
, base64-bytestring
|
||||
, bytestring
|
||||
, HUnit
|
||||
, QuickCheck
|
||||
, test-framework
|
||||
, test-framework-hunit
|
||||
, test-framework-quickcheck2
|
||||
|
||||
default-language: Haskell2010
|
||||
|
||||
benchmark benchmarks
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: benchmarks
|
||||
main-is: BM.hs
|
||||
ghc-options: -Wall -threaded -rtsopts
|
||||
build-depends:
|
||||
base
|
||||
, base64-bytestring
|
||||
, bytestring
|
||||
, criterion
|
||||
, deepseq >=1.1
|
||||
|
||||
default-language: Haskell2010
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: git://github.com/haskell/base64-bytestring
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 12 17:09:53 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update base64-bytestring to version 1.2.1.0 revision 1.
|
||||
Upstream has revised the Cabal build instructions on Hackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 30 17:05:54 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
|
@ -26,6 +26,7 @@ Summary: Fast base64 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/1.cabal#/%{pkg_name}.cabal
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-base-devel
|
||||
BuildRequires: ghc-base-prof
|
||||
@ -83,6 +84,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkg_name}-%{version}
|
||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
|
Loading…
Reference in New Issue
Block a user