From 5d3d9dab70ddd727d964566ad22ed08fddc137f3 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 7 Jun 2022 12:58:00 +0800 Subject: [PATCH] update to 1.0.9 --- .gitignore | 1 + cabal-doctest-1.0.8.cabal | 47 ------------------------------ cabal-doctest-1.0.9.cabal | 60 +++++++++++++++++++++++++++++++++++++++ ghc-cabal-doctest.spec | 17 +++++------ sources | 2 +- 5 files changed, 71 insertions(+), 56 deletions(-) delete mode 100644 cabal-doctest-1.0.8.cabal create mode 100644 cabal-doctest-1.0.9.cabal diff --git a/.gitignore b/.gitignore index 6592395..7169eff 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /cabal-doctest-1.0.6.tar.gz /cabal-doctest-1.0.8.tar.gz +/cabal-doctest-1.0.9.tar.gz diff --git a/cabal-doctest-1.0.8.cabal b/cabal-doctest-1.0.8.cabal deleted file mode 100644 index b6a648d..0000000 --- a/cabal-doctest-1.0.8.cabal +++ /dev/null @@ -1,47 +0,0 @@ -name: cabal-doctest -version: 1.0.8 -x-revision: 2 -synopsis: A Setup.hs helper for doctests running -description: - Currently (beginning of 2017), there isn't @cabal doctest@ - command. Yet, to properly work doctest needs plenty of configuration. - This library provides the common bits for writing custom Setup.hs - See for the progress - of @cabal doctest@, i.e. whether this library is obsolete. - -homepage: https://github.com/phadej/cabal-doctest -license: BSD3 -license-file: LICENSE -author: Oleg Grenrus -maintainer: Oleg Grenrus -copyright: (c) 2017 Oleg Grenrus -category: Distribution -build-type: Simple -cabal-version: >=1.10 -extra-source-files: - ChangeLog.md - README.md - -tested-with: GHC ==8.10.1 || >=7.4 && <8.10 || ==7.2.2 || ==7.0.4 - -source-repository head - type: git - location: https://github.com/phadej/cabal-doctest - -library - exposed-modules: Distribution.Extra.Doctest - other-modules: - other-extensions: - build-depends: - base >=4.3 && <4.16 - , Cabal >=1.10 && <3.6 - , directory - , filepath - - hs-source-dirs: src - default-language: Haskell2010 - ghc-options: -Wall - - if !impl(ghc >=7.2) - -- Work around a pattern-match coverage checking bug in GHC 7.0 - ghc-options: -fno-warn-overlapping-patterns diff --git a/cabal-doctest-1.0.9.cabal b/cabal-doctest-1.0.9.cabal new file mode 100644 index 0000000..de7f434 --- /dev/null +++ b/cabal-doctest-1.0.9.cabal @@ -0,0 +1,60 @@ +name: cabal-doctest +version: 1.0.9 +x-revision: 1 +synopsis: A Setup.hs helper for running doctests +description: + As of now (end of 2021), there isn't @cabal doctest@ + command. Yet, to properly work, @doctest@ needs plenty of configuration. + This library provides the common bits for writing a custom @Setup.hs@. + +homepage: https://github.com/haskellari/cabal-doctest +license: BSD3 +license-file: LICENSE +author: Oleg Grenrus +maintainer: Andreas Abel +copyright: (c) 2017 Oleg Grenrus +category: Distribution +build-type: Simple +cabal-version: >=1.10 +extra-source-files: + ChangeLog.md + README.md + +tested-with: + GHC == 9.4.1 + GHC == 9.2.3 + 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 + GHC == 7.4.2 + GHC == 7.2.2 + GHC == 7.0.4 + +source-repository head + type: git + location: https://github.com/haskellari/cabal-doctest + +library + exposed-modules: Distribution.Extra.Doctest + other-modules: + other-extensions: + build-depends: + base >=4.3 && <5 + , Cabal >=1.10 && <3.8 + , directory + , filepath + + hs-source-dirs: src + default-language: Haskell2010 + ghc-options: -Wall + + if !impl(ghc >=7.2) + -- Work around a pattern-match coverage checking bug in GHC 7.0 + ghc-options: -fno-warn-overlapping-patterns diff --git a/ghc-cabal-doctest.spec b/ghc-cabal-doctest.spec index 8e10a77..d1d205e 100644 --- a/ghc-cabal-doctest.spec +++ b/ghc-cabal-doctest.spec @@ -5,9 +5,9 @@ %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 1.0.8 -Release: 7%{?dist} -Summary: A Setup.hs helper for doctests running +Version: 1.0.9 +Release: 1%{?dist} +Summary: A Setup.hs helper for running doctests License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} @@ -25,11 +25,9 @@ BuildRequires: ghc-filepath-prof # End cabal-rpm deps %description -Currently (beginning of 2017), there isn't 'cabal doctest' command. -Yet, to properly work doctest needs plenty of configuration. This library -provides the common bits for writing custom Setup.hs See - for the progress of -'cabal doctest', i.e. whether this library is obsolete. +As of now (end of 2021), there isn't 'cabal doctest' command. Yet, to properly +work, 'doctest' needs plenty of configuration. This library provides the common +bits for writing a custom 'Setup.hs'. %package devel @@ -108,6 +106,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Tue Jun 07 2022 Jens Petersen - 1.0.9-1 +- https://hackage.haskell.org/package/cabal-doctest-1.0.9/changelog + * Thu Jan 20 2022 Fedora Release Engineering - 1.0.8-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index 591b6ec..c974150 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cabal-doctest-1.0.8.tar.gz) = 121827f4f9117673c5c41beeaff2ef74f75ca55fba8460f6289d69b1ebfdebb9568f23b4b7d0ab2f3d436cbcdaa073709a26562b39e5f57a6a705088d0a2ff71 +SHA512 (cabal-doctest-1.0.9.tar.gz) = e5946a300a159e9adc8dd56927437c2e1db643d0f23c69325a33075e4da011a7e681814d9ad475ee4029f8f95151b6fa350e9b6912133167baa0bfc79b49da77