commit 379ff7a07b11f1d76da2291376d88c71001215dce67363e44f0fb948952296e0 Author: Peter Simons Date: Fri Jan 17 22:01:36 2025 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/ghc-tasty-quickcheck.changes b/ghc-tasty-quickcheck.changes new file mode 100644 index 0000000..135ba5a --- /dev/null +++ b/ghc-tasty-quickcheck.changes @@ -0,0 +1,89 @@ +------------------------------------------------------------------- +Mon Jan 6 23:44:29 UTC 2025 - Peter Simons + +- 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 + +- 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 + +- 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 + +- 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 + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + +------------------------------------------------------------------- +Sat Nov 20 19:17:46 UTC 2021 - Peter Simons + +- 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 + +- disable %{ix86} build + +------------------------------------------------------------------- +Tue Aug 18 10:46:11 UTC 2020 - Peter Simons + +- 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. + diff --git a/ghc-tasty-quickcheck.spec b/ghc-tasty-quickcheck.spec new file mode 100644 index 0000000..fbf058b --- /dev/null +++ b/ghc-tasty-quickcheck.spec @@ -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 diff --git a/tasty-quickcheck-0.10.3.tar.gz b/tasty-quickcheck-0.10.3.tar.gz new file mode 100644 index 0000000..4e8bfd4 --- /dev/null +++ b/tasty-quickcheck-0.10.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cffb3b3fff93030d39f8077ed29f8ec9e38f8a8d508fc65b62dcac81e6339c0a +size 6289 diff --git a/tasty-quickcheck-0.11.1.tar.gz b/tasty-quickcheck-0.11.1.tar.gz new file mode 100644 index 0000000..f8cde4a --- /dev/null +++ b/tasty-quickcheck-0.11.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e3d4de7455ed342f8874d84686def897b8a316ce198461da18106d8a1f63246a +size 7349 diff --git a/tasty-quickcheck-0.11.tar.gz b/tasty-quickcheck-0.11.tar.gz new file mode 100644 index 0000000..f697571 --- /dev/null +++ b/tasty-quickcheck-0.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9d2223961a826159cf58afb8d41c33c2202a63ea65f1c73b6a8a9f2f39c1911e +size 7051 diff --git a/tasty-quickcheck.cabal b/tasty-quickcheck.cabal new file mode 100644 index 0000000..8a2d4f6 --- /dev/null +++ b/tasty-quickcheck.cabal @@ -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 +maintainer: Roman Cheplyaka +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