12
0

osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-kan-extensions revision:4, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-kan-extensions?expand=0&rev=41
This commit is contained in:
2025-06-18 06:14:57 +00:00
committed by Git OBS Bridge
commit db554de1d1
7 changed files with 352 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

122
ghc-kan-extensions.changes Normal file
View File

@@ -0,0 +1,122 @@
-------------------------------------------------------------------
Tue Jun 17 11:45:23 UTC 2025 - Peter Simons <psimons@suse.com>
- Update kan-extensions to version 5.2.7.
5.2.7 [2025.06.17]
------------------
* Make the implementations of `(.>)` and `(*>)` for `Data.Functor.Yoneda` more
stack-efficient.
-------------------------------------------------------------------
Mon Mar 3 11:34:50 UTC 2025 - Peter Simons <psimons@suse.com>
- Update kan-extensions to version 5.2.6 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Sat May 4 15:43:57 UTC 2024 - Peter Simons <psimons@suse.com>
- Update kan-extensions to version 5.2.6.
5.2.6 [2024.05.04]
------------------
* Drop support for GHC 8.2 and earlier.
* Generalize instances in `Control.Monad.Codensity` to be of the form:
```hs
instance (f ~~ f', MonadFail f') => MonadFail (Codensity (f :: k -> TYPE rep))
```
This avoids having to constrain `k ~ Type` and `rep ~ LiftedRep`, which could potentially harm type inference.
* Explicitly implement `liftA2` in the `Applicative` instance for `Data.Functor.Day.Curried`.
* Add an `Adjunction` instance for `Data.Functor.Day`.
* Add `Adjunction` and `Divisible` instances for `Data.Functor.Contravariant.Day`.
* Add an `Apply` instance for `Data.Functor.Day.Curried`.
-------------------------------------------------------------------
Sat Sep 30 13:17:42 UTC 2023 - Peter Simons <psimons@suse.com>
- Update kan-extensions to version 5.2.5 revision 2.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Thu Mar 30 17:07:21 UTC 2023 - Peter Simons <psimons@suse.com>
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
-------------------------------------------------------------------
Sun Mar 12 19:30:24 UTC 2023 - Peter Simons <psimons@suse.com>
- Update kan-extensions to version 5.2.5 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Sun Jun 26 21:16:24 UTC 2022 - Peter Simons <psimons@suse.com>
- Update kan-extensions to version 5.2.5.
5.2.5 [2022.06.26]
------------------
* Only require a `Functor` constraint in the `Eq` and `Ord` instances for
`Coyoneda` when building against `transformers-0.4.*`.
-------------------------------------------------------------------
Sat May 7 23:33:49 UTC 2022 - Peter Simons <psimons@suse.com>
- Update kan-extensions to version 5.2.4.
5.2.4 [2022.05.07]
------------------
* Allow building with `transformers-0.6.*` and `mtl-2.3.*`.
-------------------------------------------------------------------
Wed Jul 28 07:43:21 UTC 2021 - psimons@suse.com
- Update kan-extensions to version 5.2.3.
5.2.3 [2021.07.27]
------------------
* Add `shift` and `reset` to `Control.Monad.Codensity`.
-------------------------------------------------------------------
Tue Jul 27 07:51:52 UTC 2021 - psimons@suse.com
- Update kan-extensions to version 5.2.2 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Sat Feb 20 00:07:52 UTC 2021 - psimons@suse.com
- Update kan-extensions to version 5.2.2.
5.2.2 [2021.02.17]
------------------
* Add `hoistCoyoneda` to `Data.Functor.Contravariant.Coyoneda`.
-------------------------------------------------------------------
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- disable %{ix86} build
-------------------------------------------------------------------
Tue Oct 6 08:56:17 UTC 2020 - psimons@suse.com
- Update kan-extensions to version 5.2.1.
5.2.1 [2020.10.01]
------------------
* Allow building with GHC 9.0.
-------------------------------------------------------------------
Tue Aug 18 10:45:17 UTC 2020 - Peter Simons <psimons@suse.com>
- Replace %setup -q with the more modern %autosetup macro.
-------------------------------------------------------------------
Tue Jun 16 11:14:19 UTC 2020 - Peter Simons <psimons@suse.com>
- Re-generate file with latest version of spec-cleaner.
-------------------------------------------------------------------
Fri Nov 8 16:14:07 UTC 2019 - Peter Simons <psimons@suse.com>
- Drop obsolete group attributes.
-------------------------------------------------------------------
Thu Aug 2 16:30:04 UTC 2018 - psimons@suse.com
- Add kan-extensions at version 5.2.

116
ghc-kan-extensions.spec Normal file
View File

@@ -0,0 +1,116 @@
#
# spec file for package ghc-kan-extensions
#
# 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 kan-extensions
%global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name}
Version: 5.2.7
Release: 0
Summary: Kan extensions, Kan lifts, the Yoneda lemma, and (co)density (co)monads
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
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-adjunctions-devel
BuildRequires: ghc-adjunctions-prof
BuildRequires: ghc-array-devel
BuildRequires: ghc-array-prof
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-prof
BuildRequires: ghc-comonad-devel
BuildRequires: ghc-comonad-prof
BuildRequires: ghc-containers-devel
BuildRequires: ghc-containers-prof
BuildRequires: ghc-contravariant-devel
BuildRequires: ghc-contravariant-prof
BuildRequires: ghc-distributive-devel
BuildRequires: ghc-distributive-prof
BuildRequires: ghc-free-devel
BuildRequires: ghc-free-prof
BuildRequires: ghc-invariant-devel
BuildRequires: ghc-invariant-prof
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-mtl-prof
BuildRequires: ghc-profunctors-devel
BuildRequires: ghc-profunctors-prof
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-semigroupoids-devel
BuildRequires: ghc-semigroupoids-prof
BuildRequires: ghc-tagged-devel
BuildRequires: ghc-tagged-prof
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-transformers-prof
ExcludeArch: %{ix86}
%description
Kan extensions, Kan lifts, various forms of the Yoneda lemma, and (co)density
(co)monads.
%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
%post devel
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%files -f %{name}.files
%license LICENSE
%files devel -f %{name}-devel.files
%doc CHANGELOG.markdown README.markdown
%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

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fa82283c1c9ac3dc0951b7ca9f5b2e6f13d8331c20154ebb222b509824eeeccc
size 21718

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c323acff95cdef6516f2f1a733a1f00f7e0caa1b7061f8831ed82e18fd37e158
size 21754

84
kan-extensions.cabal Normal file
View File

@@ -0,0 +1,84 @@
name: kan-extensions
category: Data Structures, Monads, Comonads, Functors
version: 5.2.6
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 == 8.4.4
, GHC == 8.6.5
, GHC == 8.8.4
, GHC == 8.10.7
, GHC == 9.0.2
, GHC == 9.2.8
, GHC == 9.4.5
, GHC == 9.6.2
extra-source-files:
.gitignore
.vim.custom
CHANGELOG.markdown
README.markdown
source-repository head
type: git
location: https://github.com/ekmett/kan-extensions.git
library
hs-source-dirs: src
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.11 && < 5,
comonad >= 4 && < 6,
containers >= 0.4 && < 0.9,
contravariant >= 1 && < 2,
distributive >= 0.2.2 && < 1,
invariant >= 0.1 && < 1,
free >= 4 && < 6,
mtl >= 2.2.1 && < 2.4,
profunctors >= 5 && < 6,
semigroupoids >= 5.2.2 && < 7,
tagged >= 0.7.2 && < 1,
transformers >= 0.5 && < 0.7
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 -Wcompat -Wnoncanonical-monad-instances -Wno-trustworthy-safe
if !impl(ghc >= 8.8)
ghc-options: -Wnoncanonical-monadfail-instances
default-language: Haskell2010