Accepting request 917928 from devel:languages:haskell
- Update hedgehog to version 1.0.5 revision 1. Upstream has revised the Cabal build instructions on Hackage. OBS-URL: https://build.opensuse.org/request/show/917928 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-hedgehog?expand=0&rev=5
This commit is contained in:
commit
50435ace1b
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 10 08:13:36 UTC 2021 - psimons@suse.com
|
||||
|
||||
- Update hedgehog to version 1.0.5 revision 1.
|
||||
Upstream has revised the Cabal build instructions on Hackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 17 15:23:29 UTC 2021 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
|
@ -25,6 +25,7 @@ Summary: Release with confidence
|
||||
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-ansi-terminal-devel
|
||||
BuildRequires: ghc-async-devel
|
||||
@ -77,7 +78,8 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkg_name}-%{version}
|
||||
cabal-tweak-dep-ver mmorph '< 1.2' '< 1.3'
|
||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
cabal-tweak-dep-ver 'mmorph' '< 1.2' '< 1.3'
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
|
151
hedgehog.cabal
Normal file
151
hedgehog.cabal
Normal file
@ -0,0 +1,151 @@
|
||||
version: 1.0.5
|
||||
x-revision: 1
|
||||
|
||||
name:
|
||||
hedgehog
|
||||
author:
|
||||
Jacob Stanley
|
||||
maintainer:
|
||||
Jacob Stanley <jacob@stanley.io>
|
||||
homepage:
|
||||
https://hedgehog.qa
|
||||
bug-reports:
|
||||
https://github.com/hedgehogqa/haskell-hedgehog/issues
|
||||
synopsis:
|
||||
Release with confidence.
|
||||
description:
|
||||
<http://hedgehog.qa/ Hedgehog> automatically generates a comprehensive array
|
||||
of test cases, exercising your software in ways human testers would never
|
||||
imagine.
|
||||
.
|
||||
Generate hundreds of test cases automatically, exposing even the
|
||||
most insidious of corner cases. Failures are automatically simplified, giving
|
||||
developers coherent, intelligible error messages.
|
||||
.
|
||||
To get started quickly, see the <https://github.com/hedgehogqa/haskell-hedgehog/tree/master/hedgehog-example examples>.
|
||||
category:
|
||||
Testing
|
||||
license:
|
||||
BSD3
|
||||
license-file:
|
||||
LICENSE
|
||||
cabal-version:
|
||||
>= 1.10
|
||||
build-type:
|
||||
Simple
|
||||
tested-with:
|
||||
GHC == 8.0.2
|
||||
, GHC == 8.2.2
|
||||
, GHC == 8.4.4
|
||||
, GHC == 8.6.5
|
||||
, GHC == 8.8.3
|
||||
, GHC == 8.10.1
|
||||
extra-source-files:
|
||||
README.md
|
||||
CHANGELOG.md
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: git://github.com/hedgehogqa/haskell-hedgehog.git
|
||||
|
||||
library
|
||||
build-depends:
|
||||
-- GHC 8.0.1 / base-4.9.0.0 (May 2016)
|
||||
base >= 4.9 && < 5
|
||||
, ansi-terminal >= 0.6 && < 0.12
|
||||
, async >= 2.0 && < 2.3
|
||||
, bytestring >= 0.10 && < 0.12
|
||||
, concurrent-output >= 1.7 && < 1.11
|
||||
, containers >= 0.4 && < 0.7
|
||||
, deepseq >= 1.1.0.0 && < 1.5
|
||||
, directory >= 1.2 && < 1.4
|
||||
, erf >= 2.0 && < 2.1
|
||||
, exceptions >= 0.7 && < 0.11
|
||||
, lifted-async >= 0.7 && < 0.11
|
||||
, mmorph >= 1.0 && < 1.2
|
||||
, monad-control >= 1.0 && < 1.1
|
||||
, mtl >= 2.1 && < 2.3
|
||||
, pretty-show >= 1.6 && < 1.11
|
||||
, primitive >= 0.6 && < 0.8
|
||||
, random >= 1.1 && < 1.3
|
||||
, resourcet >= 1.1 && < 1.3
|
||||
, stm >= 2.4 && < 2.6
|
||||
, template-haskell >= 2.10 && < 2.18
|
||||
, text >= 1.1 && < 1.3
|
||||
, time >= 1.4 && < 1.13
|
||||
, transformers >= 0.5 && < 0.6
|
||||
, transformers-base >= 0.4.5.1 && < 0.5
|
||||
, wl-pprint-annotated >= 0.0 && < 0.2
|
||||
|
||||
ghc-options:
|
||||
-Wall
|
||||
|
||||
hs-source-dirs:
|
||||
src
|
||||
|
||||
exposed-modules:
|
||||
Hedgehog
|
||||
Hedgehog.Gen
|
||||
Hedgehog.Main
|
||||
Hedgehog.Range
|
||||
|
||||
Hedgehog.Internal.Config
|
||||
Hedgehog.Internal.Discovery
|
||||
Hedgehog.Internal.Distributive
|
||||
Hedgehog.Internal.Exception
|
||||
Hedgehog.Internal.Gen
|
||||
Hedgehog.Internal.HTraversable
|
||||
Hedgehog.Internal.Opaque
|
||||
Hedgehog.Internal.Prelude
|
||||
Hedgehog.Internal.Property
|
||||
Hedgehog.Internal.Queue
|
||||
Hedgehog.Internal.Range
|
||||
Hedgehog.Internal.Region
|
||||
Hedgehog.Internal.Report
|
||||
Hedgehog.Internal.Runner
|
||||
Hedgehog.Internal.Seed
|
||||
Hedgehog.Internal.Show
|
||||
Hedgehog.Internal.Shrink
|
||||
Hedgehog.Internal.Source
|
||||
Hedgehog.Internal.State
|
||||
Hedgehog.Internal.TH
|
||||
Hedgehog.Internal.Tree
|
||||
Hedgehog.Internal.Tripping
|
||||
|
||||
default-language:
|
||||
Haskell2010
|
||||
|
||||
test-suite test
|
||||
type:
|
||||
exitcode-stdio-1.0
|
||||
|
||||
main-is:
|
||||
test.hs
|
||||
|
||||
ghc-options:
|
||||
-Wall -threaded -O2
|
||||
|
||||
hs-source-dirs:
|
||||
test
|
||||
|
||||
other-modules:
|
||||
Test.Hedgehog.Applicative
|
||||
Test.Hedgehog.Confidence
|
||||
Test.Hedgehog.Filter
|
||||
Test.Hedgehog.Maybe
|
||||
Test.Hedgehog.Seed
|
||||
Test.Hedgehog.Text
|
||||
Test.Hedgehog.Zip
|
||||
|
||||
build-depends:
|
||||
hedgehog
|
||||
, base >= 3 && < 5
|
||||
, containers >= 0.4 && < 0.7
|
||||
, mmorph >= 1.0 && < 1.2
|
||||
, mtl >= 2.1 && < 2.3
|
||||
, pretty-show >= 1.6 && < 1.11
|
||||
, text >= 1.1 && < 1.3
|
||||
, transformers >= 0.3 && < 0.6
|
||||
|
||||
default-language:
|
||||
Haskell2010
|
Loading…
Reference in New Issue
Block a user