osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-text-conversions revision:9, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-text-conversions?expand=0&rev=15
This commit is contained in:
Peter Simons 2020-10-20 09:15:49 +00:00 committed by Git OBS Bridge
parent c68883bbe0
commit 9eb44457e7
5 changed files with 18 additions and 67 deletions

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed Sep 30 08:36:19 UTC 2020 - psimons@suse.com
- Update text-conversions to version 0.3.1.
## 0.3.1 (September 29th, 2020)
- Added support for `base16-bytestring-1.0`.
## 0.3.0 (June 9, 2016)
### New Features
- The `Base16` and `Base64` newtypes are now provided for managing safe conversions between binary data and Base16 and Base64 textual encodings of that data.
-------------------------------------------------------------------
Tue Sep 22 09:35:59 UTC 2020 - psimons@suse.com

View File

@ -19,13 +19,12 @@
%global pkg_name text-conversions
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.3.0
Version: 0.3.1
Release: 0
Summary: Safe conversions between textual types
License: ISC
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-base16-bytestring-devel
BuildRequires: ghc-base64-bytestring-devel
@ -35,7 +34,6 @@ BuildRequires: ghc-rpm-macros
BuildRequires: ghc-text-devel
%if %{with tests}
BuildRequires: ghc-hspec-devel
BuildRequires: ghc-hspec-discover-devel
%endif
%description
@ -54,7 +52,6 @@ files.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build

View File

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

View File

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

View File

@ -1,60 +0,0 @@
name: text-conversions
version: 0.3.0
x-revision: 1
synopsis: Safe conversions between textual types
description: Safe conversions between textual types
category: Data
homepage: https://github.com/cjdev/text-conversions#readme
bug-reports: https://github.com/cjdev/text-conversions/issues
author: Alexis King
maintainer: lexi.lambda@gmail.com
license: ISC
license-file: LICENSE
build-type: Simple
cabal-version: >= 1.10
extra-source-files:
CHANGELOG.md
LICENSE
package.yaml
README.md
stack.yaml
source-repository head
type: git
location: https://github.com/cjdev/text-conversions
library
hs-source-dirs:
src
default-extensions: FlexibleInstances MultiParamTypeClasses OverloadedStrings
ghc-options: -Wall
build-depends:
base >= 4.7 && < 5
, bytestring
-- see https://github.com/haskell-infra/hackage-trustees/issues/280
, base16-bytestring >= 0.1.1 && < 0.2
, base64-bytestring
, errors
, text
exposed-modules:
Data.Text.Conversions
default-language: Haskell2010
test-suite text-conversions-test-suite
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs:
test
default-extensions: FlexibleInstances MultiParamTypeClasses OverloadedStrings
ghc-options: -Wall -rtsopts -threaded -with-rtsopts=-N
build-depends:
base
, text-conversions
, bytestring
, hspec
, hspec-discover
, text
other-modules:
Data.Text.ConversionsSpec
default-language: Haskell2010