osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-distributive revision:16, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-distributive?expand=0&rev=59
This commit is contained in:
parent
4048550bcc
commit
e906bc34ba
3
distributive-0.6.2.1.tar.gz
Normal file
3
distributive-0.6.2.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d7351392e078f58caa46630a4b9c643e1e2e9dddee45848c5c8358e7b1316b91
|
||||
size 8140
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:824ee271ded433ce6c61fe890c784642b7e20ffa4082fca609da54e7dcfc23c9
|
||||
size 11308
|
@ -1,122 +0,0 @@
|
||||
name: distributive
|
||||
category: Data Structures
|
||||
version: 0.6.2
|
||||
x-revision: 2
|
||||
license: BSD3
|
||||
cabal-version: >= 1.8
|
||||
license-file: LICENSE
|
||||
author: Edward A. Kmett
|
||||
maintainer: Edward A. Kmett <ekmett@gmail.com>
|
||||
stability: provisional
|
||||
homepage: http://github.com/ekmett/distributive/
|
||||
bug-reports: http://github.com/ekmett/distributive/issues
|
||||
copyright: Copyright (C) 2011-2016 Edward A. Kmett
|
||||
synopsis: Distributive functors -- Dual to Traversable
|
||||
description: Distributive functors -- Dual to @Traversable@
|
||||
build-type: Custom
|
||||
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.1
|
||||
extra-source-files:
|
||||
.hlint.yaml
|
||||
.travis.yml
|
||||
.vim.custom
|
||||
config
|
||||
travis-cabal-apt-install
|
||||
CHANGELOG.markdown
|
||||
README.markdown
|
||||
Warning.hs
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: git://github.com/ekmett/distributive.git
|
||||
|
||||
custom-setup
|
||||
setup-depends:
|
||||
base >= 4 && <5,
|
||||
Cabal,
|
||||
cabal-doctest >= 1 && <1.1
|
||||
|
||||
flag semigroups
|
||||
manual: True
|
||||
default: True
|
||||
description:
|
||||
You can disable the use of the `semigroups` package using `-f-semigroups`.
|
||||
.
|
||||
Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
|
||||
|
||||
flag tagged
|
||||
manual: True
|
||||
default: True
|
||||
description:
|
||||
You can disable the use of the `tagged` package using `-f-tagged`.
|
||||
.
|
||||
Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
|
||||
|
||||
library
|
||||
build-depends:
|
||||
base >= 4 && < 5,
|
||||
base-orphans >= 0.5.2 && < 1,
|
||||
transformers >= 0.3 && < 0.6
|
||||
|
||||
if !impl(ghc >= 7.8) && !impl(ghcjs)
|
||||
build-depends: transformers-compat >= 0.3 && < 1
|
||||
|
||||
hs-source-dirs: src
|
||||
exposed-modules:
|
||||
Data.Distributive
|
||||
|
||||
if impl(ghc>=7.2)
|
||||
exposed-modules: Data.Distributive.Generic
|
||||
|
||||
if flag(tagged)
|
||||
build-depends: tagged >= 0.7 && < 1
|
||||
|
||||
if impl(ghc>=7.2 && < 7.6)
|
||||
build-depends: ghc-prim
|
||||
|
||||
if impl(ghc < 8.0)
|
||||
if flag(semigroups)
|
||||
build-depends: semigroups >= 0.13 && < 1
|
||||
|
||||
if impl(ghc < 7.8)
|
||||
hs-source-dirs: src-compat
|
||||
other-modules: Data.Coerce
|
||||
|
||||
ghc-options: -Wall
|
||||
|
||||
-- Verify the results of the examples
|
||||
test-suite doctests
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: doctests.hs
|
||||
build-depends:
|
||||
base >= 4,
|
||||
distributive,
|
||||
doctest >= 0.11.1 && <0.18
|
||||
ghc-options: -Wall -threaded
|
||||
hs-source-dirs: tests
|
||||
|
||||
test-suite spec
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: tests
|
||||
build-tool-depends:
|
||||
hspec-discover:hspec-discover
|
||||
|
||||
build-depends:
|
||||
base >= 4 && < 5,
|
||||
distributive,
|
||||
generic-deriving >= 1.11 && < 2,
|
||||
hspec >= 2 && < 3
|
||||
|
||||
main-is: Spec.hs
|
||||
other-modules: GenericsSpec
|
||||
|
||||
ghc-options: -Wall -threaded -rtsopts
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 30 17:53:13 UTC 2020 - psimons@suse.com
|
||||
|
||||
- Update distributive to version 0.6.2.1.
|
||||
0.6.2.1 [2020.12.30]
|
||||
--------------------
|
||||
* The build-type has been changed from `Custom` to `Simple`.
|
||||
To achieve this, the `doctests` test suite has been removed in favor of using
|
||||
[`cabal-docspec`](https://github.com/phadej/cabal-extras/tree/master/cabal-docspec)
|
||||
to run the doctests.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
|
@ -19,22 +19,19 @@
|
||||
%global pkg_name distributive
|
||||
%bcond_with tests
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.6.2
|
||||
Version: 0.6.2.1
|
||||
Release: 0
|
||||
Summary: Distributive functors -- Dual to Traversable
|
||||
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-base-orphans-devel
|
||||
BuildRequires: ghc-cabal-doctest-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-tagged-devel
|
||||
BuildRequires: ghc-transformers-devel
|
||||
ExcludeArch: %{ix86}
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-doctest-devel
|
||||
BuildRequires: ghc-generic-deriving-devel
|
||||
BuildRequires: ghc-hspec-devel
|
||||
%endif
|
||||
@ -54,7 +51,6 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkg_name}-%{version}
|
||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
|
Loading…
Reference in New Issue
Block a user