1
0
forked from pool/ghc-invariant

osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-invariant revision:6, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-invariant?expand=0&rev=8
This commit is contained in:
Peter Simons 2019-05-02 01:01:27 +00:00 committed by Git OBS Bridge
parent 74bc1dc829
commit 8c780aa94c
5 changed files with 13 additions and 81 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Apr 30 09:23:05 UTC 2019 - psimons@suse.com
- Update invariant to version 0.5.2.
# 0.5.2 [2019.04.26]
* Support `th-abstraction-0.3.0.0` or later.
* Only incur a `semigroups` dependency on old GHCs.
-------------------------------------------------------------------
Fri Dec 14 15:28:34 UTC 2018 - Peter Simons <psimons@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-invariant
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,14 +19,13 @@
%global pkg_name invariant
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.5.1
Version: 0.5.2
Release: 0
Summary: Haskell98 invariant functors
License: BSD-2-Clause
Group: Development/Libraries/Haskell
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-StateVar-devel
BuildRequires: ghc-array-devel
@ -36,7 +35,6 @@ BuildRequires: ghc-containers-devel
BuildRequires: ghc-contravariant-devel
BuildRequires: ghc-profunctors-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-semigroups-devel
BuildRequires: ghc-stm-devel
BuildRequires: ghc-tagged-devel
BuildRequires: ghc-template-haskell-devel
@ -69,7 +67,6 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build

View File

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

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

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

View File

@ -1,73 +0,0 @@
name: invariant
version: 0.5.1
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.9.2
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.3
, GHC == 8.6.1
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
build-depends: array >= 0.3 && < 0.6
, base >= 4 && < 5
, bifunctors >= 5.2 && < 6
, comonad >= 5 && < 6
, containers >= 0.1 && < 0.7
, contravariant >= 0.5 && < 2
, ghc-prim
, profunctors >= 5.2.1 && < 6
, semigroups >= 0.16.2 && < 1
, StateVar >= 1.1 && < 2
, stm >= 2.2 && < 3
, tagged >= 0.7.3 && < 1
, template-haskell >= 2.4 && < 2.15
, th-abstraction >= 0.2.2 && < 0.3
, transformers >= 0.2 && < 0.6
, transformers-compat >= 0.3 && < 1
, unordered-containers >= 0.2.4 && < 0.3
ghc-options: -Wall
test-suite spec
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules: InvariantSpec
THSpec
build-depends: base >= 4 && < 5
, hspec >= 1.8
, invariant
, QuickCheck >= 2.11 && < 3
, template-haskell >= 2.4 && < 2.15
build-tool-depends: hspec-discover:hspec-discover
ghc-options: -Wall