forked from pool/ghc-hedgehog-quickcheck
osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-hedgehog-quickcheck revision:1, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hedgehog-quickcheck?expand=0&rev=1
This commit is contained in:
commit
902aaa95e2
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
5
ghc-hedgehog-quickcheck.changes
Normal file
5
ghc-hedgehog-quickcheck.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 26 09:49:43 UTC 2021 - psimons@suse.com
|
||||
|
||||
- Add hedgehog-quickcheck at version 0.1.1 revision 1.
|
||||
|
78
ghc-hedgehog-quickcheck.spec
Normal file
78
ghc-hedgehog-quickcheck.spec
Normal file
@ -0,0 +1,78 @@
|
||||
#
|
||||
# spec file for package ghc-hedgehog-quickcheck
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%global pkg_name hedgehog-quickcheck
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.1.1
|
||||
Release: 0
|
||||
Summary: Use QuickCheck generators in Hedgehog and vice versa
|
||||
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-QuickCheck-devel
|
||||
BuildRequires: ghc-hedgehog-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-transformers-devel
|
||||
ExcludeArch: %{ix86}
|
||||
|
||||
%description
|
||||
Use QuickCheck generators in Hedgehog and vice versa.
|
||||
|
||||
Hedgehog is a modern property-based testing system, in the spirit of
|
||||
QuickCheck. Hedgehog uses integrated shrinking, so shrinks obey the invariants
|
||||
of generated values by construction.
|
||||
|
||||
To get started quickly, see the examples:
|
||||
<https://github.com/hedgehogqa/haskell-hedgehog/tree/master/hedgehog-.
|
||||
|
||||
%package devel
|
||||
Summary: Haskell %{pkg_name} library development files
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: ghc-compiler = %{ghc_version}
|
||||
Requires(post): ghc-compiler = %{ghc_version}
|
||||
Requires(postun): ghc-compiler = %{ghc_version}
|
||||
|
||||
%description devel
|
||||
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
|
||||
|
||||
%install
|
||||
%ghc_lib_install
|
||||
|
||||
%post devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
%postun devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
%files -f %{name}.files
|
||||
%license LICENSE
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
%doc CHANGELOG.md README.md
|
||||
|
||||
%changelog
|
3
hedgehog-quickcheck-0.1.1.tar.gz
Normal file
3
hedgehog-quickcheck-0.1.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:97b65db815fdfaacc7c4d06a7b9b74680b50264afa03f839c4037dcc875152fc
|
||||
size 3332
|
74
hedgehog-quickcheck.cabal
Normal file
74
hedgehog-quickcheck.cabal
Normal file
@ -0,0 +1,74 @@
|
||||
version: 0.1.1
|
||||
x-revision: 1
|
||||
|
||||
name:
|
||||
hedgehog-quickcheck
|
||||
author:
|
||||
Jacob Stanley
|
||||
maintainer:
|
||||
Jacob Stanley <jacob@stanley.io>
|
||||
homepage:
|
||||
https://hedgehog.qa
|
||||
bug-reports:
|
||||
https://github.com/hedgehogqa/haskell-hedgehog/issues
|
||||
synopsis:
|
||||
Use QuickCheck generators in Hedgehog and vice versa.
|
||||
description:
|
||||
Use QuickCheck generators in Hedgehog and vice versa.
|
||||
.
|
||||
Hedgehog is a modern property-based testing system, in the spirit of
|
||||
QuickCheck. Hedgehog uses integrated shrinking, so shrinks obey the
|
||||
invariants of generated values by construction.
|
||||
.
|
||||
To get started quickly, see the examples:
|
||||
<https://github.com/hedgehogqa/haskell-hedgehog/tree/master/hedgehog-
|
||||
|
||||
category:
|
||||
Testing
|
||||
license:
|
||||
BSD3
|
||||
license-file:
|
||||
LICENSE
|
||||
cabal-version:
|
||||
>= 1.8
|
||||
build-type:
|
||||
Simple
|
||||
tested-with:
|
||||
GHC == 7.10.2
|
||||
, GHC == 7.10.3
|
||||
, GHC == 8.0.1
|
||||
, GHC == 8.0.2
|
||||
, GHC == 8.2.2
|
||||
, GHC == 8.4.1
|
||||
, GHC == 8.4.2
|
||||
, GHC == 8.4.3
|
||||
, GHC == 8.4.4
|
||||
, GHC == 8.6.1
|
||||
, GHC == 8.6.2
|
||||
, GHC == 8.6.3
|
||||
, GHC == 8.6.4
|
||||
extra-source-files:
|
||||
README.md
|
||||
CHANGELOG.md
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: git://github.com/hedgehogqa/haskell-hedgehog.git
|
||||
|
||||
library
|
||||
build-depends:
|
||||
base >= 3 && < 5
|
||||
, hedgehog >= 0.5 && < 1.1
|
||||
, QuickCheck >= 2.7 && < 2.15
|
||||
, transformers >= 0.4 && < 0.6
|
||||
|
||||
ghc-options:
|
||||
-Wall
|
||||
|
||||
hs-source-dirs:
|
||||
src
|
||||
|
||||
exposed-modules:
|
||||
Hedgehog.Gen.QuickCheck
|
||||
|
||||
Test.QuickCheck.Hedgehog
|
Loading…
Reference in New Issue
Block a user