osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-kan-extensions revision:6, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-kan-extensions?expand=0&rev=29
This commit is contained in:
parent
01552b90b7
commit
a98377884b
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ghc-kan-extensions
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,6 +17,7 @@
|
||||
|
||||
|
||||
%global pkg_name kan-extensions
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 5.2.5
|
||||
Release: 0
|
||||
@ -24,22 +25,39 @@ Summary: Kan extensions, Kan lifts, the Yoneda lemma, and (co)density (co
|
||||
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
|
||||
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
|
||||
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-compat-devel
|
||||
BuildRequires: ghc-transformers-compat-prof
|
||||
BuildRequires: ghc-transformers-devel
|
||||
BuildRequires: ghc-transformers-prof
|
||||
ExcludeArch: %{ix86}
|
||||
|
||||
%description
|
||||
@ -56,8 +74,25 @@ 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}
|
||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
@ -77,4 +112,9 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
%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
|
||||
|
102
kan-extensions.cabal
Normal file
102
kan-extensions.cabal
Normal 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
|
Loading…
Reference in New Issue
Block a user