Accepting request 994050 from devel:languages:haskell
version update OBS-URL: https://build.opensuse.org/request/show/994050 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-tasty?expand=0&rev=4
This commit is contained in:
commit
43352af4e0
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat May 7 21:32:12 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update tasty to version 1.3.1 revision 1.
|
||||
Upstream has revised the Cabal build instructions on Hackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ghc-tasty
|
||||
#
|
||||
# Copyright (c) 2020 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
|
||||
@ -24,6 +24,7 @@ Summary: Modern and extensible testing framework
|
||||
License: MIT
|
||||
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-ansi-terminal-devel
|
||||
BuildRequires: ghc-async-devel
|
||||
@ -56,6 +57,7 @@ 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
|
||||
|
90
tasty.cabal
Normal file
90
tasty.cabal
Normal file
@ -0,0 +1,90 @@
|
||||
-- Initial tasty.cabal generated by cabal init. For further documentation,
|
||||
-- see http://haskell.org/cabal/users-guide/
|
||||
|
||||
name: tasty
|
||||
version: 1.3.1
|
||||
x-revision: 1
|
||||
synopsis: Modern and extensible testing framework
|
||||
description: Tasty is a modern testing framework for Haskell.
|
||||
It lets you combine your unit tests, golden
|
||||
tests, QuickCheck/SmallCheck properties, and any
|
||||
other types of tests into a single test suite.
|
||||
license: MIT
|
||||
license-file: LICENSE
|
||||
author: Roman Cheplyaka <roma@ro-che.info>
|
||||
maintainer: Roman Cheplyaka <roma@ro-che.info>
|
||||
homepage: https://github.com/feuerbach/tasty
|
||||
bug-reports: https://github.com/feuerbach/tasty/issues
|
||||
-- copyright:
|
||||
category: Testing
|
||||
build-type: Simple
|
||||
extra-source-files: CHANGELOG.md, README.md
|
||||
cabal-version: >=1.10
|
||||
|
||||
Source-repository head
|
||||
type: git
|
||||
location: git://github.com/feuerbach/tasty.git
|
||||
subdir: core
|
||||
|
||||
flag clock
|
||||
description:
|
||||
Depend on the clock package for more accurate time measurement
|
||||
default: True
|
||||
|
||||
library
|
||||
build-depends: mtl <2.3
|
||||
|
||||
exposed-modules:
|
||||
Test.Tasty,
|
||||
Test.Tasty.Options,
|
||||
Test.Tasty.Providers,
|
||||
Test.Tasty.Providers.ConsoleFormat,
|
||||
Test.Tasty.Runners
|
||||
Test.Tasty.Ingredients,
|
||||
Test.Tasty.Ingredients.Basic
|
||||
Test.Tasty.Ingredients.ConsoleReporter
|
||||
|
||||
-- for testing only
|
||||
Test.Tasty.Patterns.Types
|
||||
Test.Tasty.Patterns.Parser
|
||||
Test.Tasty.Patterns.Eval
|
||||
other-modules:
|
||||
Test.Tasty.Parallel,
|
||||
Test.Tasty.Core,
|
||||
Test.Tasty.Options.Core,
|
||||
Test.Tasty.Options.Env,
|
||||
Test.Tasty.Patterns,
|
||||
Test.Tasty.Patterns.Expr,
|
||||
Test.Tasty.Run,
|
||||
Test.Tasty.Runners.Reducers,
|
||||
Test.Tasty.Runners.Utils,
|
||||
Test.Tasty.CmdLine,
|
||||
Test.Tasty.Ingredients.ListTests
|
||||
Test.Tasty.Ingredients.IncludingOptions
|
||||
build-depends:
|
||||
base >= 4.7 && < 5,
|
||||
stm >= 2.3,
|
||||
containers,
|
||||
mtl >= 2.1.3.1,
|
||||
tagged >= 0.5,
|
||||
optparse-applicative >= 0.14,
|
||||
unbounded-delays >= 0.1,
|
||||
async >= 2.0,
|
||||
ansi-terminal >= 0.9
|
||||
if(!impl(ghc >= 8.0))
|
||||
build-depends: semigroups
|
||||
|
||||
if flag(clock)
|
||||
build-depends: clock >= 0.4.4.0
|
||||
else
|
||||
build-depends: time >= 1.4
|
||||
|
||||
if !os(windows) && !impl(ghcjs)
|
||||
build-depends: unix,
|
||||
wcwidth
|
||||
cpp-options: -D__UNIX__
|
||||
|
||||
-- hs-source-dirs:
|
||||
default-language: Haskell2010
|
||||
default-extensions: CPP, ScopedTypeVariables, DeriveDataTypeable
|
||||
ghc-options: -Wall
|
Loading…
Reference in New Issue
Block a user