1
0
forked from pool/ghc-invariant

Accepting request 1162474 from devel:languages:haskell

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1162474
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-invariant?expand=0&rev=18
This commit is contained in:
Ana Guerrero 2024-03-27 19:43:42 +00:00 committed by Git OBS Bridge
commit f675856878
5 changed files with 18 additions and 92 deletions

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Tue Mar 19 11:01:41 UTC 2024 - Peter Simons <psimons@suse.com>
- Update invariant to version 0.6.3.
# 0.6.3 [2024.03.19]
* Support building with `template-haskell-2.22.*` (GHC 9.10).
-------------------------------------------------------------------
Sun Mar 17 15:55:47 UTC 2024 - Peter Simons <psimons@suse.com>
- Update invariant to version 0.6.2 revision 2.
Upstream has revised the Cabal build instructions on Hackage.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Sep 30 12:59:34 UTC 2023 - Peter Simons <psimons@suse.com> Sat Sep 30 12:59:34 UTC 2023 - Peter Simons <psimons@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package ghc-invariant # spec file for package ghc-invariant
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -20,13 +20,12 @@
%global pkgver %{pkg_name}-%{version} %global pkgver %{pkg_name}-%{version}
%bcond_with tests %bcond_with tests
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.6.2 Version: 0.6.3
Release: 0 Release: 0
Summary: Haskell98 invariant functors Summary: Haskell98 invariant functors
License: BSD-2-Clause License: BSD-2-Clause
URL: https://hackage.haskell.org/package/%{pkg_name} URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz 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-Cabal-devel
BuildRequires: ghc-StateVar-devel BuildRequires: ghc-StateVar-devel
BuildRequires: ghc-StateVar-prof BuildRequires: ghc-StateVar-prof
@ -102,7 +101,6 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep %prep
%autosetup -n %{pkg_name}-%{version} %autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build %build
%ghc_lib_build %ghc_lib_build

View File

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

3
invariant-0.6.3.tar.gz Normal file
View File

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

View File

@ -1,85 +0,0 @@
name: invariant
version: 0.6.2
x-revision: 1
synopsis: Haskell98 invariant functors
description: Haskell98 invariant functors (also known as exponential functors).
.
For more information, see Edward Kmett's article \"Rotten Bananas\":
.
<http://comonad.com/reader/2008/rotten-bananas/>
category: Control, Data
license: BSD2
license-file: LICENSE
homepage: https://github.com/nfrisby/invariant-functors
bug-reports: https://github.com/nfrisby/invariant-functors/issues
author: Nicolas Frisby <nicolas.frisby@gmail.com>
maintainer: Nicolas Frisby <nicolas.frisby@gmail.com>,
Ryan Scott <ryan.gl.scott@gmail.com>
build-type: Simple
cabal-version: >= 1.10
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.4
, GHC == 8.10.7
, GHC == 9.0.2
, GHC == 9.2.7
, GHC == 9.4.5
, GHC == 9.6.2
extra-source-files: CHANGELOG.md, README.md
source-repository head
type: git
location: https://github.com/nfrisby/invariant-functors
library
exposed-modules: Data.Functor.Invariant
, Data.Functor.Invariant.TH
other-modules: Data.Functor.Invariant.TH.Internal
, Paths_invariant
hs-source-dirs: src
default-language: Haskell2010
build-depends: array >= 0.3 && < 0.6
, base >= 4 && < 5
, bifunctors >= 5.2 && < 6
, comonad >= 5 && < 6
, containers >= 0.1 && < 0.8
, contravariant >= 0.5 && < 2
, ghc-prim
, profunctors >= 5.2.1 && < 6
, StateVar >= 1.1 && < 2
, stm >= 2.2 && < 3
, tagged >= 0.7.3 && < 1
, template-haskell >= 2.4 && < 2.22
, th-abstraction >= 0.4 && < 0.7
, transformers >= 0.2 && < 0.7
, transformers-compat >= 0.3 && < 1
, unordered-containers >= 0.2.4 && < 0.3
ghc-options: -Wall
if !impl(ghc >= 8.0)
build-depends: semigroups >= 0.16.2 && < 1
test-suite spec
type: exitcode-stdio-1.0
hs-source-dirs: test
default-language: Haskell2010
main-is: Spec.hs
other-modules: InvariantSpec
THSpec
build-depends: base >= 4 && < 5
, hspec >= 1.8
, invariant
, QuickCheck >= 2.11 && < 3
, template-haskell
build-tool-depends: hspec-discover:hspec-discover
ghc-options: -Wall
if impl(ghc >= 8.6)
ghc-options: -Wno-star-is-type