Accepting request 623759 from devel:languages:haskell

- Cosmetic: replace tabs with blanks, strip trailing white space,
  and update copyright headers with spec-cleaner.

- Update distributive to version 0.6.
  0.6 [2018.07.02]
  ----------------
  * Remove `fmapCollect`. (See
    [here](1020655f15)
    for an explanation of why it was removed.)
  * Avoid incurring some dependencies when using recent GHCs.

- correct licence to BSD-2-Clause
- initial commit

OBS-URL: https://build.opensuse.org/request/show/623759
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-distributive?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2018-07-24 15:17:53 +00:00 committed by Git OBS Bridge
commit f077ed68a4
5 changed files with 24 additions and 118 deletions

View File

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

3
distributive-0.6.tar.gz Normal file
View File

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

View File

@ -1,107 +0,0 @@
name: distributive
category: Data Structures
version: 0.5.3
x-revision: 5
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
extra-source-files:
.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.2 && < 0.6,
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)
-- we need Functor Semi.Min etc.
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.16
ghc-options: -Wall -threaded
hs-source-dirs: tests
test-suite spec
type: exitcode-stdio-1.0
hs-source-dirs: tests
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

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Wed Jul 18 14:26:21 UTC 2018 - psimons@suse.com
- Cosmetic: replace tabs with blanks, strip trailing white space,
and update copyright headers with spec-cleaner.
-------------------------------------------------------------------
Fri Jul 13 14:31:36 UTC 2018 - psimons@suse.com
- Update distributive to version 0.6.
0.6 [2018.07.02]
----------------
* Remove `fmapCollect`. (See
[here](https://github.com/ekmett/distributive/commit/1020655f15714514048d0dc842ffe4adcec89a7b)
for an explanation of why it was removed.)
* Avoid incurring some dependencies when using recent GHCs.
-------------------------------------------------------------------
Mon May 14 17:02:11 UTC 2018 - psimons@suse.com
@ -39,10 +56,9 @@ Tue Jan 26 08:40:30 UTC 2016 - mimi.vx@gmail.com
-------------------------------------------------------------------
Thu May 21 06:41:23 UTC 2015 - mimi.vx@gmail.com
- correct licence to BSD-2-Clause
- correct licence to BSD-2-Clause
-------------------------------------------------------------------
Sun Apr 26 16:43:29 UTC 2015 - mimi.vx@gmail.com
- initial commit
- initial commit

View File

@ -19,20 +19,18 @@
%global pkg_name distributive
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.5.3
Version: 0.6
Release: 0
Summary: Distributive functors -- Dual to Traversable
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/5.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-compat-devel
BuildRequires: ghc-transformers-devel
%if %{with tests}
BuildRequires: ghc-doctest-devel
@ -41,7 +39,7 @@ BuildRequires: ghc-hspec-devel
%endif
%description
Distributive functors -- Dual to Traversable.
Distributive functors -- Dual to 'Traversable'.
%package devel
Summary: Haskell %{pkg_name} library development files
@ -56,7 +54,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