forked from pool/ghc-tasty
osc copypac from project:devel:languages:haskell:ghc-9.6.x package:ghc-tasty revision:12, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-tasty?expand=0&rev=21
This commit is contained in:
parent
2c400d935a
commit
4f90ea401b
@ -81,7 +81,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
tr -d '\r' <%{SOURCE1} >%{pkg_name}.cabal
|
||||||
%autopatch -p0
|
%autopatch -p0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
186
tasty.cabal
186
tasty.cabal
@ -1,93 +1,93 @@
|
|||||||
cabal-version: >=1.10
|
cabal-version: >=1.10
|
||||||
name: tasty
|
name: tasty
|
||||||
version: 1.5
|
version: 1.5
|
||||||
x-revision: 1
|
x-revision: 1
|
||||||
synopsis: Modern and extensible testing framework
|
synopsis: Modern and extensible testing framework
|
||||||
description: Tasty is a modern testing framework for Haskell.
|
description: Tasty is a modern testing framework for Haskell.
|
||||||
It lets you combine your unit tests, golden
|
It lets you combine your unit tests, golden
|
||||||
tests, QuickCheck/SmallCheck properties, and any
|
tests, QuickCheck/SmallCheck properties, and any
|
||||||
other types of tests into a single test suite.
|
other types of tests into a single test suite.
|
||||||
license: MIT
|
license: MIT
|
||||||
license-file: LICENSE
|
license-file: LICENSE
|
||||||
author: Roman Cheplyaka <roma@ro-che.info>
|
author: Roman Cheplyaka <roma@ro-che.info>
|
||||||
maintainer: Roman Cheplyaka <roma@ro-che.info>
|
maintainer: Roman Cheplyaka <roma@ro-che.info>
|
||||||
homepage: https://github.com/UnkindPartition/tasty
|
homepage: https://github.com/UnkindPartition/tasty
|
||||||
bug-reports: https://github.com/UnkindPartition/tasty/issues
|
bug-reports: https://github.com/UnkindPartition/tasty/issues
|
||||||
-- copyright:
|
-- copyright:
|
||||||
category: Testing
|
category: Testing
|
||||||
build-type: Simple
|
build-type: Simple
|
||||||
extra-source-files: CHANGELOG.md, README.md
|
extra-source-files: CHANGELOG.md, README.md
|
||||||
|
|
||||||
Source-repository head
|
Source-repository head
|
||||||
type: git
|
type: git
|
||||||
location: https://github.com/UnkindPartition/tasty.git
|
location: https://github.com/UnkindPartition/tasty.git
|
||||||
subdir: core
|
subdir: core
|
||||||
|
|
||||||
flag unix
|
flag unix
|
||||||
description:
|
description:
|
||||||
Depend on the unix package to install signal handlers
|
Depend on the unix package to install signal handlers
|
||||||
default: True
|
default: True
|
||||||
|
|
||||||
library
|
library
|
||||||
exposed-modules:
|
exposed-modules:
|
||||||
Test.Tasty,
|
Test.Tasty,
|
||||||
Test.Tasty.Options,
|
Test.Tasty.Options,
|
||||||
Test.Tasty.Providers,
|
Test.Tasty.Providers,
|
||||||
Test.Tasty.Providers.ConsoleFormat,
|
Test.Tasty.Providers.ConsoleFormat,
|
||||||
Test.Tasty.Runners
|
Test.Tasty.Runners
|
||||||
Test.Tasty.Ingredients,
|
Test.Tasty.Ingredients,
|
||||||
Test.Tasty.Ingredients.Basic
|
Test.Tasty.Ingredients.Basic
|
||||||
Test.Tasty.Ingredients.ConsoleReporter
|
Test.Tasty.Ingredients.ConsoleReporter
|
||||||
|
|
||||||
-- for testing only
|
-- for testing only
|
||||||
Test.Tasty.Patterns.Types
|
Test.Tasty.Patterns.Types
|
||||||
Test.Tasty.Patterns.Parser
|
Test.Tasty.Patterns.Parser
|
||||||
Test.Tasty.Patterns.Printer
|
Test.Tasty.Patterns.Printer
|
||||||
Test.Tasty.Patterns.Eval
|
Test.Tasty.Patterns.Eval
|
||||||
other-modules:
|
other-modules:
|
||||||
Control.Concurrent.Async
|
Control.Concurrent.Async
|
||||||
Test.Tasty.Parallel,
|
Test.Tasty.Parallel,
|
||||||
Test.Tasty.Core,
|
Test.Tasty.Core,
|
||||||
Test.Tasty.Options.Core,
|
Test.Tasty.Options.Core,
|
||||||
Test.Tasty.Options.Env,
|
Test.Tasty.Options.Env,
|
||||||
Test.Tasty.Patterns,
|
Test.Tasty.Patterns,
|
||||||
Test.Tasty.Patterns.Expr,
|
Test.Tasty.Patterns.Expr,
|
||||||
Test.Tasty.Run,
|
Test.Tasty.Run,
|
||||||
Test.Tasty.Runners.Reducers,
|
Test.Tasty.Runners.Reducers,
|
||||||
Test.Tasty.Runners.Utils,
|
Test.Tasty.Runners.Utils,
|
||||||
Test.Tasty.CmdLine,
|
Test.Tasty.CmdLine,
|
||||||
Test.Tasty.Ingredients.ListTests
|
Test.Tasty.Ingredients.ListTests
|
||||||
Test.Tasty.Ingredients.IncludingOptions
|
Test.Tasty.Ingredients.IncludingOptions
|
||||||
|
|
||||||
build-depends:
|
build-depends:
|
||||||
base >= 4.9 && < 5,
|
base >= 4.9 && < 5,
|
||||||
stm >= 2.3 && < 2.6,
|
stm >= 2.3 && < 2.6,
|
||||||
containers < 0.8,
|
containers < 0.8,
|
||||||
transformers >= 0.5 && < 0.7,
|
transformers >= 0.5 && < 0.7,
|
||||||
tagged >= 0.5 && < 0.9,
|
tagged >= 0.5 && < 0.9,
|
||||||
optparse-applicative >= 0.14 && < 0.19,
|
optparse-applicative >= 0.14 && < 0.19,
|
||||||
ansi-terminal >= 0.9 && < 1.1
|
ansi-terminal >= 0.9 && < 1.1
|
||||||
|
|
||||||
-- No reason to depend on unbounded-delays on 64-bit architecture
|
-- No reason to depend on unbounded-delays on 64-bit architecture
|
||||||
if(!arch(x86_64) && !arch(aarch64))
|
if(!arch(x86_64) && !arch(aarch64))
|
||||||
build-depends:
|
build-depends:
|
||||||
unbounded-delays >= 0.1 && < 0.2
|
unbounded-delays >= 0.1 && < 0.2
|
||||||
|
|
||||||
if(!impl(ghc >= 8.0))
|
if(!impl(ghc >= 8.0))
|
||||||
build-depends: semigroups < 0.21
|
build-depends: semigroups < 0.21
|
||||||
|
|
||||||
if(!impl(ghc >= 8.4))
|
if(!impl(ghc >= 8.4))
|
||||||
build-depends: time >= 1.4 && < 1.13
|
build-depends: time >= 1.4 && < 1.13
|
||||||
|
|
||||||
if !os(windows) && !impl(ghcjs)
|
if !os(windows) && !impl(ghcjs)
|
||||||
cpp-options: -DUSE_WCWIDTH
|
cpp-options: -DUSE_WCWIDTH
|
||||||
if flag(unix)
|
if flag(unix)
|
||||||
build-depends: unix < 2.9
|
build-depends: unix < 2.9
|
||||||
|
|
||||||
-- hs-source-dirs:
|
-- hs-source-dirs:
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
default-extensions: CPP, ScopedTypeVariables, DeriveDataTypeable
|
default-extensions: CPP, ScopedTypeVariables, DeriveDataTypeable
|
||||||
ghc-options:
|
ghc-options:
|
||||||
-Wall
|
-Wall
|
||||||
-Wno-incomplete-uni-patterns
|
-Wno-incomplete-uni-patterns
|
||||||
-Wcompat
|
-Wcompat
|
||||||
|
Loading…
Reference in New Issue
Block a user