osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-text-conversions revision:8, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-text-conversions?expand=0&rev=13
This commit is contained in:
parent
ebbc2196d2
commit
c68883bbe0
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 22 09:35:59 UTC 2020 - psimons@suse.com
|
||||
|
||||
- Update text-conversions to version 0.3.0 revision 1.
|
||||
Upstream has revised the Cabal build instructions on Hackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 18 10:46:13 UTC 2020 - Peter Simons <psimons@suse.com>
|
||||
|
||||
|
@ -25,6 +25,7 @@ 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
|
||||
@ -53,6 +54,7 @@ files.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkg_name}-%{version}
|
||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
|
60
text-conversions.cabal
Normal file
60
text-conversions.cabal
Normal file
@ -0,0 +1,60 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user