From 501541cc542e13128a42099f6527fdff5f08995066e0d8fca1624f299cef3517 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 10 Dec 2024 11:25:58 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-tasty-quickcheck revision:2, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-tasty-quickcheck?expand=0&rev=20 --- .gitattributes | 23 +++++++ .gitignore | 1 + ghc-tasty-quickcheck.changes | 73 ++++++++++++++++++++++ ghc-tasty-quickcheck.spec | 110 +++++++++++++++++++++++++++++++++ tasty-quickcheck-0.10.3.tar.gz | 3 + tasty-quickcheck-0.11.tar.gz | 3 + tasty-quickcheck.cabal | 61 ++++++++++++++++++ 7 files changed, 274 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 ghc-tasty-quickcheck.changes create mode 100644 ghc-tasty-quickcheck.spec create mode 100644 tasty-quickcheck-0.10.3.tar.gz create mode 100644 tasty-quickcheck-0.11.tar.gz create mode 100644 tasty-quickcheck.cabal 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..c18741e --- /dev/null +++ b/ghc-tasty-quickcheck.changes @@ -0,0 +1,73 @@ +------------------------------------------------------------------- +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..c3d00ed --- /dev/null +++ b/ghc-tasty-quickcheck.spec @@ -0,0 +1,110 @@ +# +# spec file for package ghc-tasty-quickcheck +# +# Copyright (c) 2024 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 +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 +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-pcre-light-devel +BuildRequires: ghc-pcre-light-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} + +%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.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..5376b9f --- /dev/null +++ b/tasty-quickcheck.cabal @@ -0,0 +1,61 @@ +-- Initial tasty-quickcheck.cabal generated by cabal init. For further +-- documentation, see http://haskell.org/cabal/users-guide/ + +name: tasty-quickcheck +version: 0.10.3 +x-revision: 2 +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 +-- copyright: +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-modules: + other-extensions: GeneralizedNewtypeDeriving, DeriveDataTypeable + build-depends: base >= 4.8 && < 5, + tagged < 0.9, + tasty >= 1.5 && < 1.6, + random < 1.3, + QuickCheck >= 2.10 && < 2.16, + optparse-applicative < 0.19 + + -- hs-source-dirs: + 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 >= 4.7 && < 5 + , tasty >= 1.5 + , tasty-quickcheck + , tasty-hunit + , pcre-light + ghc-options: -Wall + if (!impl(ghc >= 8.0) || os(windows)) + buildable: False