From ebb8a78bab74a9ca7599a5025800ade1a2178a758f689271be75b92f8a79134b Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 2 Mar 2025 22:00:46 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-tasty-rerun revision:4, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-tasty-rerun?expand=0&rev=35 --- .gitattributes | 23 ++++++++ .gitignore | 1 + ghc-tasty-rerun.changes | 96 +++++++++++++++++++++++++++++++++ ghc-tasty-rerun.spec | 110 ++++++++++++++++++++++++++++++++++++++ tasty-rerun-1.1.19.tar.gz | 3 ++ tasty-rerun.cabal | 54 +++++++++++++++++++ 6 files changed, 287 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 ghc-tasty-rerun.changes create mode 100644 ghc-tasty-rerun.spec create mode 100644 tasty-rerun-1.1.19.tar.gz create mode 100644 tasty-rerun.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-rerun.changes b/ghc-tasty-rerun.changes new file mode 100644 index 0000000..7d6e35b --- /dev/null +++ b/ghc-tasty-rerun.changes @@ -0,0 +1,96 @@ +------------------------------------------------------------------- +Sat Mar 1 13:59:51 UTC 2025 - Peter Simons + +- Update tasty-rerun to version 1.1.19 revision 5. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Sun Dec 15 00:59:52 UTC 2024 - Peter Simons + +- Update tasty-rerun to version 1.1.19 revision 4. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Fri Mar 15 20:19:59 UTC 2024 - Peter Simons + +- Update tasty-rerun to version 1.1.19 revision 3. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Sun Oct 15 17:56:49 UTC 2023 - Peter Simons + +- Update tasty-rerun to version 1.1.19 revision 2. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Wed Sep 27 20:41:51 UTC 2023 - Peter Simons + +- Update tasty-rerun to version 1.1.19 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Sun Sep 10 00:17:00 UTC 2023 - Peter Simons + +- Update tasty-rerun to version 1.1.19. + # 1.1.19 + + * Support tasty 1.5. + +------------------------------------------------------------------- +Thu Mar 30 17:08:32 UTC 2023 - Peter Simons + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + +------------------------------------------------------------------- +Sun Jan 29 19:42:57 UTC 2023 - Peter Simons + +- Update tasty-rerun to version 1.1.18 revision 4. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Wed May 4 00:46:57 UTC 2022 - Peter Simons + +- Update tasty-rerun to version 1.1.18 revision 3. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Tue Sep 7 08:15:18 UTC 2021 - psimons@suse.com + +- Update tasty-rerun to version 1.1.18 revision 2. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Mon Jan 4 11:47:41 UTC 2021 - psimons@suse.com + +- Update tasty-rerun to version 1.1.18 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup + +- disable %{ix86} build + +------------------------------------------------------------------- +Thu Oct 29 03:01:15 UTC 2020 - psimons@suse.com + +- Update tasty-rerun to version 1.1.18. + # 1.1.18 + + * Support tasty 1.4. + +------------------------------------------------------------------- +Mon Aug 31 09:34:35 UTC 2020 - psimons@suse.com + +- Update tasty-rerun to version 1.1.17 revision 2. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Tue Aug 18 10:46:12 UTC 2020 - Peter Simons + +- Replace %setup -q with the more modern %autosetup macro. + +------------------------------------------------------------------- +Tue Jun 9 09:26:36 UTC 2020 - psimons@suse.com + +- Add tasty-rerun at version 1.1.17. + diff --git a/ghc-tasty-rerun.spec b/ghc-tasty-rerun.spec new file mode 100644 index 0000000..91ae1ea --- /dev/null +++ b/ghc-tasty-rerun.spec @@ -0,0 +1,110 @@ +# +# spec file for package ghc-tasty-rerun +# +# 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-rerun +%global pkgver %{pkg_name}-%{version} +Name: ghc-%{pkg_name} +Version: 1.1.19 +Release: 0 +Summary: Rerun only tests which failed in a previous test run +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/5.cabal#/%{pkg_name}.cabal +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-base-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-containers-devel +BuildRequires: ghc-containers-prof +BuildRequires: ghc-mtl-devel +BuildRequires: ghc-mtl-prof +BuildRequires: ghc-optparse-applicative-devel +BuildRequires: ghc-optparse-applicative-prof +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-split-devel +BuildRequires: ghc-split-prof +BuildRequires: ghc-stm-devel +BuildRequires: ghc-stm-prof +BuildRequires: ghc-tagged-devel +BuildRequires: ghc-tagged-prof +BuildRequires: ghc-tasty-devel +BuildRequires: ghc-tasty-prof +BuildRequires: ghc-transformers-devel +BuildRequires: ghc-transformers-prof +ExcludeArch: %{ix86} + +%description +This ingredient for the +testing framework allows filtering a test tree depending on the outcome of the +previous run. This may be useful in many scenarios, especially when a test +suite grows large. + +%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 + +%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 + +%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-rerun-1.1.19.tar.gz b/tasty-rerun-1.1.19.tar.gz new file mode 100644 index 0000000..3bebf6c --- /dev/null +++ b/tasty-rerun-1.1.19.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f3df401f724ea0978ade8c18f8a7a5f1032ff7c5bf016885833135dbd2c7235 +size 6607 diff --git a/tasty-rerun.cabal b/tasty-rerun.cabal new file mode 100644 index 0000000..8775733 --- /dev/null +++ b/tasty-rerun.cabal @@ -0,0 +1,54 @@ +name: tasty-rerun +version: 1.1.19 +x-revision: 5 +homepage: http://github.com/ocharles/tasty-rerun +license: BSD3 +license-file: LICENSE +author: Oliver Charles +maintainer: ollie@ocharles.org.uk +copyright: Oliver Charles (c) 2014, + Andrew Lelechenko (c) 2019 +category: Testing +build-type: Simple +cabal-version: >=1.10 +extra-source-files: + Changelog.md + README.md + +synopsis: + Rerun only tests which failed in a previous test run + +description: + This ingredient + for the testing framework + allows filtering a test tree depending + on the outcome of the previous run. + This may be useful in many scenarios, + especially when a test suite grows large. + +tested-with: + GHC==9.8.1, GHC==9.6.2, GHC==9.4.5, GHC==9.2.8, GHC==9.0.2, GHC==8.10.7, + GHC==8.8.4, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, + GHC==7.8.4, GHC==7.6.3 + +source-repository head + type: git + location: https://github.com/ocharles/tasty-rerun + +library + exposed-modules: Test.Tasty.Ingredients.Rerun + build-depends: + base >=4.6 && <4.22, + containers >= 0.5.0.0 && < 0.9, + mtl >= 2.1.2 && < 2.4, + optparse-applicative >= 0.6 && < 0.19, + split >= 0.1 && < 0.3, + stm >= 2.4.2 && < 2.6, + tagged >= 0.7 && <0.9, + tasty >=1.2 && <1.6, + transformers >= 0.3.0.0 && < 0.7 + hs-source-dirs: src + default-language: Haskell2010 + ghc-options: -Wall + if impl(ghc >= 8.0) + ghc-options: -Wcompat