12
0

5 Commits

5 changed files with 13 additions and 124 deletions

View File

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

3
adjunctions-4.4.3.tar.gz Normal file
View File

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

View File

@@ -1,115 +0,0 @@
name: adjunctions
category: Data Structures, Adjunctions
version: 4.4.2
x-revision: 2
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/adjunctions/
bug-reports: http://github.com/ekmett/adjunctions/issues
copyright: Copyright (C) 2011-2014 Edward A. Kmett
synopsis: Adjunctions and representable functors
description: Adjunctions and representable functors.
build-type: Simple
extra-source-files:
.gitignore
.vim.custom
HLint.hs
CHANGELOG.markdown
README.markdown
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
source-repository head
type: git
location: git://github.com/ekmett/adjunctions.git
library
hs-source-dirs: src
other-extensions:
CPP
FunctionalDependencies
FlexibleContexts
MultiParamTypeClasses
Rank2Types
UndecidableInstances
build-depends:
array >= 0.3.0.2 && < 0.7,
base >= 4 && < 5,
comonad >= 4 && < 6,
containers >= 0.3 && < 0.8,
contravariant >= 1 && < 2,
distributive >= 0.5.1 && < 1,
free >= 4 && < 6,
mtl >= 2.0.1 && < 2.4,
profunctors >= 4 && < 6,
tagged >= 0.7 && < 1,
semigroupoids >= 4 && < 7,
semigroups >= 0.11 && < 1,
transformers >= 0.2 && < 0.7,
transformers-compat >= 0.3 && < 1,
void >= 0.5.5.1 && < 1
if impl(ghc < 7.6)
build-depends: ghc-prim
exposed-modules:
Control.Comonad.Representable.Store
Control.Comonad.Trans.Adjoint
Control.Monad.Representable.Reader
Control.Monad.Representable.State
Control.Monad.Trans.Adjoint
Control.Monad.Trans.Contravariant.Adjoint
Control.Monad.Trans.Conts
Data.Functor.Adjunction
Data.Functor.Contravariant.Adjunction
Data.Functor.Contravariant.Rep
Data.Functor.Rep
ghc-options: -Wall
default-language: Haskell2010
if impl(ghc >= 8.0)
-- See https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0#base-4.9.0.0
ghc-options: -Wcompat -Wnoncanonical-monad-instances
ghc-options: -Wno-trustworthy-safe -Wno-inline-rule-shadowing
if !impl(ghc >= 8.8)
ghc-options: -Wnoncanonical-monadfail-instances
if impl(ghc >= 8.6)
ghc-options: -Wno-star-is-type
test-suite spec
type: exitcode-stdio-1.0
hs-source-dirs: tests
build-tool-depends: hspec-discover:hspec-discover >=2 && <3
build-depends:
adjunctions,
base >= 4 && < 5,
distributive >= 0.5.1 && < 1,
generic-deriving >= 1.11 && < 2,
hspec >= 2 && < 3
main-is: Spec.hs
other-modules: GenericsSpec
ghc-options: -Wall -threaded -rtsopts
default-language: Haskell2010

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Mar 3 11:25:30 UTC 2025 - Peter Simons <psimons@suse.com>
- Update adjunctions to version 4.4.3.
4.4.3 [2025.03.03]
------------------
* Drop support for pre-8.0 versions of GHC.
-------------------------------------------------------------------
Sat Sep 30 13:03:58 UTC 2023 - Peter Simons <psimons@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package ghc-adjunctions
#
# Copyright (c) 2023 SUSE LLC
# 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
@@ -20,13 +20,12 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 4.4.2
Version: 4.4.3
Release: 0
Summary: Adjunctions and representable functors
License: BSD-2-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/2.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-array-devel
BuildRequires: ghc-array-prof
@@ -61,8 +60,6 @@ BuildRequires: ghc-void-devel
BuildRequires: ghc-void-prof
ExcludeArch: %{ix86}
%if %{with tests}
BuildRequires: ghc-generic-deriving-devel
BuildRequires: ghc-generic-deriving-prof
BuildRequires: ghc-hspec-devel
BuildRequires: ghc-hspec-prof
%endif
@@ -98,7 +95,6 @@ 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