diff --git a/.gitignore b/.gitignore index 92a5070..65aaf80 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /cabal-doctest-1.0.6.tar.gz /distributive-0.6.tar.gz /distributive-0.6.1.tar.gz +/distributive-0.6.2.tar.gz diff --git a/distributive-0.6.2.cabal b/distributive-0.6.2.cabal new file mode 100644 index 0000000..87f1a42 --- /dev/null +++ b/distributive-0.6.2.cabal @@ -0,0 +1,122 @@ +name: distributive +category: Data Structures +version: 0.6.2 +x-revision: 1 +license: BSD3 +cabal-version: >= 1.8 +license-file: LICENSE +author: Edward A. Kmett +maintainer: Edward A. Kmett +stability: provisional +homepage: http://github.com/ekmett/distributive/ +bug-reports: http://github.com/ekmett/distributive/issues +copyright: Copyright (C) 2011-2016 Edward A. Kmett +synopsis: Distributive functors -- Dual to Traversable +description: Distributive functors -- Dual to @Traversable@ +build-type: Custom +tested-with: GHC == 7.0.4 + , GHC == 7.2.2 + , GHC == 7.4.2 + , GHC == 7.6.3 + , GHC == 7.8.4 + , GHC == 7.10.3 + , GHC == 8.0.2 + , GHC == 8.2.2 + , GHC == 8.4.4 + , GHC == 8.6.5 + , GHC == 8.8.1 +extra-source-files: + .hlint.yaml + .travis.yml + .vim.custom + config + travis-cabal-apt-install + CHANGELOG.markdown + README.markdown + Warning.hs + +source-repository head + type: git + location: git://github.com/ekmett/distributive.git + +custom-setup + setup-depends: + base >= 4 && <5, + Cabal, + cabal-doctest >= 1 && <1.1 + +flag semigroups + manual: True + default: True + description: + You can disable the use of the `semigroups` package using `-f-semigroups`. + . + Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + +flag tagged + manual: True + default: True + description: + You can disable the use of the `tagged` package using `-f-tagged`. + . + Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + +library + build-depends: + base >= 4 && < 5, + base-orphans >= 0.5.2 && < 1, + transformers >= 0.2 && < 0.6 + + if !impl(ghc >= 7.8) && !impl(ghcjs) + build-depends: transformers-compat >= 0.3 && < 1 + + hs-source-dirs: src + exposed-modules: + Data.Distributive + + if impl(ghc>=7.2) + exposed-modules: Data.Distributive.Generic + + if flag(tagged) + build-depends: tagged >= 0.7 && < 1 + + if impl(ghc>=7.2 && < 7.6) + build-depends: ghc-prim + + if impl(ghc < 8.0) + if flag(semigroups) + build-depends: semigroups >= 0.13 && < 1 + + if impl(ghc < 7.8) + hs-source-dirs: src-compat + other-modules: Data.Coerce + + ghc-options: -Wall + +-- Verify the results of the examples +test-suite doctests + type: exitcode-stdio-1.0 + main-is: doctests.hs + build-depends: + base >= 4, + distributive, + doctest >= 0.11.1 && <0.18 + ghc-options: -Wall -threaded + hs-source-dirs: tests + +test-suite spec + type: exitcode-stdio-1.0 + hs-source-dirs: tests + build-tool-depends: + hspec-discover:hspec-discover + + build-depends: + base >= 4 && < 5, + distributive, + generic-deriving >= 1.11 && < 2, + hspec >= 2 && < 3 + + main-is: Spec.hs + other-modules: GenericsSpec + + ghc-options: -Wall -threaded -rtsopts diff --git a/ghc-distributive.spec b/ghc-distributive.spec index 8f9947d..57910b6 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -7,7 +7,7 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.6.1 +Version: 0.6.2 Release: 1%{?dist} Summary: Distributive functors -- Dual to Traversable @@ -15,6 +15,7 @@ License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: @@ -73,6 +74,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} +cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -85,7 +87,6 @@ This package provides the Haskell %{pkg_name} profiling library. %install # Begin cabal-rpm install %ghc_lib_install -chmod a-x CHANGELOG.markdown README.markdown # End cabal-rpm install @@ -125,6 +126,9 @@ chmod a-x CHANGELOG.markdown README.markdown %changelog +* Sun Jun 07 2020 Jens Petersen - 0.6.2-1 +- update to 0.6.2 + * Fri Feb 14 2020 Jens Petersen - 0.6.1-1 - update to 0.6.1 diff --git a/sources b/sources index a61e6e6..c23018b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (distributive-0.6.1.tar.gz) = 6f14660e14ff5dfe90eb44386ed111829d4a621f77908049197ce1802b4d5ddd67ec66dadb92f8726c03f455e077ea6a5b8503e24bd5d205883d53f13cceb630 +SHA512 (distributive-0.6.2.tar.gz) = aff03270f8e9ce062ef6efb7d8cc27a811a286a6107dedd931850ff7abe271725cde8f27c1a7ea76c63a0888931a0ac058b5607d2097ef5b65b4ce95538d1fe1