osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-tasty-quickcheck revision:3, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-tasty-quickcheck?expand=0&rev=22
This commit is contained in:
Peter Simons 2025-01-17 22:01:36 +00:00 committed by Git OBS Bridge
commit 379ff7a07b
8 changed files with 288 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,89 @@
-------------------------------------------------------------------
Mon Jan 6 23:44:29 UTC 2025 - Peter Simons <psimons@suse.com>
- Update tasty-quickcheck to version 0.11.1 revision 1.
Version 0.11.1
--------------
* Add timeouts for individual tests within a property
([#425](https://github.com/UnkindPartition/tasty/pull/425)).
* Define `showDefaultValue` for `QuickCheckTests`,
`QuickCheckMaxSize` and `QuickCheckMaxRatio`
([#428](https://github.com/UnkindPartition/tasty/pull/428)).
* Print the number of QuickCheck shrinks in the progress message
([#431](https://github.com/UnkindPartition/tasty/pull/431)).
* Drop support for GHC 7.10.
-------------------------------------------------------------------
Sat Jun 22 10:14:45 UTC 2024 - Peter Simons <psimons@suse.com>
- Update tasty-quickcheck to version 0.11.
Upstream has edited the change log file since the last release in
a non-trivial way, i.e. they did more than just add a new entry
at the top. You can review the file at:
http://hackage.haskell.org/package/tasty-quickcheck-0.11/src/CHANGELOG.md
-------------------------------------------------------------------
Mon Apr 22 20:17:42 UTC 2024 - Peter Simons <psimons@suse.com>
- Update tasty-quickcheck to version 0.10.3 revision 2.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Sun Sep 10 09:44:59 UTC 2023 - Peter Simons <psimons@suse.com>
- Update tasty-quickcheck to version 0.10.3 revision 1.
Version 0.10.3
--------------
* Print Quickcheck progress using Tasty progress reporting.
([#311](https://github.com/UnkindPartition/tasty/pull/311)).
-------------------------------------------------------------------
Thu Mar 30 17:08:31 UTC 2023 - Peter Simons <psimons@suse.com>
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
-------------------------------------------------------------------
Sat Nov 20 19:17:46 UTC 2021 - Peter Simons <psimons@suse.com>
- Update tasty-quickcheck to version 0.10.2.
Upstream has edited the change log file since the last release in
a non-trivial way, i.e. they did more than just add a new entry
at the top. You can review the file at:
http://hackage.haskell.org/package/tasty-quickcheck-0.10.2/src/CHANGELOG.md
-------------------------------------------------------------------
Fri Dec 18 10:10:15 UTC 2020 - psimons@suse.com
- Update tasty-quickcheck to version 0.10.1.2.
Version 0.10.1.2
----------------
The only point of this release is to introduce compatibility with GHCs back to 7.0
(see https://github.com/feuerbach/tasty/pull/287).
Note, however, that these changes are not merged to the master branch, and the
future releases will only support the GHC/base versions from the last 5 years,
as per our usual policy. To test with even older GHCs, you'll have to use this
particular version of tasty-quickcheck (or have the constraint solver pick it
for you when testing with older GHCs).
The source of this release is in the `support-old-ghcs` branch of the tasty
repository.
-------------------------------------------------------------------
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- disable %{ix86} build
-------------------------------------------------------------------
Tue Aug 18 10:46:11 UTC 2020 - Peter Simons <psimons@suse.com>
- Replace %setup -q with the more modern %autosetup macro.
-------------------------------------------------------------------
Tue Jun 9 09:26:15 UTC 2020 - psimons@suse.com
- Add tasty-quickcheck at version 0.10.1.1.

112
ghc-tasty-quickcheck.spec Normal file
View File

@ -0,0 +1,112 @@
#
# spec file for package ghc-tasty-quickcheck
#
# Copyright (c) 2025 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 tasty-quickcheck
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.11.1
Release: 0
Summary: QuickCheck support for the Tasty test 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-QuickCheck-devel
BuildRequires: ghc-QuickCheck-prof
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-prof
BuildRequires: ghc-optparse-applicative-devel
BuildRequires: ghc-optparse-applicative-prof
BuildRequires: ghc-random-devel
BuildRequires: ghc-random-prof
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-tagged-devel
BuildRequires: ghc-tagged-prof
BuildRequires: ghc-tasty-devel
BuildRequires: ghc-tasty-prof
ExcludeArch: %{ix86}
%if %{with tests}
BuildRequires: ghc-regex-tdfa-devel
BuildRequires: ghc-regex-tdfa-prof
BuildRequires: ghc-tasty-hunit-devel
BuildRequires: ghc-tasty-hunit-prof
%endif
%description
QuickCheck support for the Tasty test framework.
%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.
%package -n ghc-%{pkg_name}-doc
Summary: Haskell %{pkg_name} library documentation
Requires: ghc-filesystem
BuildArch: noarch
%description -n ghc-%{pkg_name}-doc
This package provides the Haskell %{pkg_name} library documentation.
%package -n ghc-%{pkg_name}-prof
Summary: Haskell %{pkg_name} profiling library
Requires: ghc-%{pkg_name}-devel = %{version}-%{release}
Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
%description -n ghc-%{pkg_name}-prof
This package provides the Haskell %{pkg_name} profiling library.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
%install
%ghc_lib_install
%check
%cabal_test
%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
%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
%license LICENSE
%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
%changelog

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cffb3b3fff93030d39f8077ed29f8ec9e38f8a8d508fc65b62dcac81e6339c0a
size 6289

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e3d4de7455ed342f8874d84686def897b8a316ce198461da18106d8a1f63246a
size 7349

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9d2223961a826159cf58afb8d41c33c2202a63ea65f1c73b6a8a9f2f39c1911e
size 7051

54
tasty-quickcheck.cabal Normal file
View File

@ -0,0 +1,54 @@
name: tasty-quickcheck
version: 0.11.1
x-revision: 1
synopsis: QuickCheck support for the Tasty test framework.
description: QuickCheck support for the Tasty test framework.
.
license: MIT
license-file: LICENSE
author: Roman Cheplyaka <roma@ro-che.info>
maintainer: Roman Cheplyaka <roma@ro-che.info>
homepage: https://github.com/UnkindPartition/tasty
bug-reports: https://github.com/UnkindPartition/tasty/issues
category: Testing
build-type: Simple
extra-source-files: CHANGELOG.md
cabal-version: >=1.10
Source-repository head
type: git
location: https://github.com/UnkindPartition/tasty.git
subdir: quickcheck
library
exposed-modules: Test.Tasty.QuickCheck
other-extensions: GeneralizedNewtypeDeriving, DeriveDataTypeable
build-depends: base >= 4.9 && < 5,
tagged < 0.9,
tasty >= 1.5.1 && < 1.6,
random < 1.4,
QuickCheck >= 2.10 && < 2.16,
optparse-applicative < 0.19
default-language: Haskell2010
default-extensions: CPP
ghc-options: -Wall
test-suite test
default-language:
Haskell2010
default-extensions: CPP
type:
exitcode-stdio-1.0
hs-source-dirs:
tests
main-is:
test.hs
build-depends:
base
, regex-tdfa >= 1.3 && < 1.4
, tasty
, tasty-quickcheck
, tasty-hunit
, QuickCheck
ghc-options: -Wall