Compare commits

...

4 Commits

Author SHA1 Message Date
Fedora Release Engineering 79d29fef63 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 13:58:53 +00:00
Fedora Release Engineering 2b0a6b9a0d Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 21:29:53 +00:00
Jens Petersen e6c46cc7f1 revised .cabal files 2023-07-30 08:10:32 +08:00
Fedora Release Engineering d8fdef6361 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 22:07:27 +00:00
2 changed files with 119 additions and 1 deletions

View File

@ -10,7 +10,7 @@
Name: ghc-%{pkg_name}
Version: 5.2.5
# can only be reset when all subpkgs bumped
Release: 1%{?dist}
Release: 5%{?dist}
Summary: Kan extensions, Kan lifts, the Yoneda lemma, and (co)density (co)monads
License: BSD-3-Clause
@ -125,6 +125,10 @@ This package provides the Haskell %{pkg_name} profiling library.
# Begin cabal-rpm setup:
%setup -q -n %{pkgver} -a1
# End cabal-rpm setup
(
cd %{invariant}
cabal-tweak-dep-ver template-haskell '< 2.19' '< 2.20'
)
%build
@ -163,6 +167,18 @@ This package provides the Haskell %{pkg_name} profiling library.
%changelog
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jul 30 2023 Jens Petersen <petersen@redhat.com> - 5.2.5-3
- revise .cabal file
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sun Jan 22 2023 Jens Petersen <petersen@redhat.com> - 5.2.5-16
- https://hackage.haskell.org/package/kan-extensions-5.2.5/changelog
- refresh to cabal-rpm-2.1.0 with SPDX migration

102
kan-extensions-5.2.5.cabal Normal file
View File

@ -0,0 +1,102 @@
name: kan-extensions
category: Data Structures, Monads, Comonads, Functors
version: 5.2.5
x-revision: 1
license: BSD3
cabal-version: >= 1.10
license-file: LICENSE
author: Edward A. Kmett
maintainer: Edward A. Kmett <ekmett@gmail.com>
stability: provisional
homepage: http://github.com/ekmett/kan-extensions/
bug-reports: http://github.com/ekmett/kan-extensions/issues
copyright: Copyright (C) 2008-2016 Edward A. Kmett
synopsis: Kan extensions, Kan lifts, the Yoneda lemma, and (co)density (co)monads
description: Kan extensions, Kan lifts, various forms of the Yoneda lemma, and (co)density (co)monads.
build-type: Simple
tested-with: 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.4
, GHC == 8.10.7
, GHC == 9.0.2
, GHC == 9.2.2
extra-source-files:
.gitignore
.ghci
.vim.custom
CHANGELOG.markdown
README.markdown
include/kan-extensions-common.h
source-repository head
type: git
location: git://github.com/ekmett/kan-extensions.git
library
hs-source-dirs: src
include-dirs: include
includes: kan-extensions-common.h
other-extensions:
CPP
MultiParamTypeClasses
GADTs
Rank2Types,
FlexibleInstances
FlexibleContexts
UndecidableInstances
TypeFamilies
build-depends:
adjunctions >= 4.2 && < 5,
array >= 0.3.0.2 && < 0.6,
base >= 4.4 && < 5,
comonad >= 4 && < 6,
containers >= 0.4 && < 0.7,
contravariant >= 1 && < 2,
distributive >= 0.2.2 && < 1,
invariant >= 0.1 && < 1,
free >= 4 && < 6,
mtl >= 2.0.1 && < 2.4,
profunctors >= 5 && < 6,
semigroupoids >= 4 && < 7,
tagged >= 0.7.2 && < 1,
transformers >= 0.2 && < 0.7,
transformers-compat >= 0.3 && < 0.8
exposed-modules:
Control.Comonad.Density
Control.Monad.Co
Control.Monad.Codensity
Data.Functor.Contravariant.Day
Data.Functor.Contravariant.Yoneda
Data.Functor.Contravariant.Coyoneda
Data.Functor.Day
Data.Functor.Day.Curried
Data.Functor.Invariant.Day
Data.Functor.Kan.Lan
Data.Functor.Kan.Ran
Data.Functor.Yoneda
Data.Functor.Coyoneda
ghc-options: -Wall
default-language: Haskell2010
if impl(ghc >= 7.10)
ghc-options: -fno-warn-trustworthy-safe
-- See https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0#base-4.9.0.0
if impl(ghc >= 8.0)
ghc-options: -Wcompat -Wnoncanonical-monad-instances
if !impl(ghc >= 8.8)
ghc-options: -Wnoncanonical-monadfail-instances
else
build-depends: fail >= 4.9 && < 5