osc copypac from project:devel:languages:haskell:ghc-8.4.x package:ghc-distributive revision:7, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-distributive?expand=0&rev=28
This commit is contained in:
parent
13518b14fe
commit
242b1890cb
@ -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
3
distributive-0.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a4af1341a63a430dc569dd1e59631f127c40ebdd353a945a74d18682f6bdc1d4
|
||||||
|
size 10904
|
@ -1,107 +0,0 @@
|
|||||||
name: distributive
|
|
||||||
category: Data Structures
|
|
||||||
version: 0.5.3
|
|
||||||
x-revision: 6
|
|
||||||
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.17
|
|
||||||
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
|
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 9 19:45:05 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
|
Mon May 14 17:02:11 UTC 2018 - psimons@suse.com
|
||||||
|
|
||||||
|
@ -19,20 +19,18 @@
|
|||||||
%global pkg_name distributive
|
%global pkg_name distributive
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.5.3
|
Version: 0.6
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Distributive functors -- Dual to Traversable
|
Summary: Distributive functors -- Dual to Traversable
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Development/Libraries/Haskell
|
Group: Development/Libraries/Haskell
|
||||||
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/6.cabal#/%{pkg_name}.cabal
|
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-base-orphans-devel
|
BuildRequires: ghc-base-orphans-devel
|
||||||
BuildRequires: ghc-cabal-doctest-devel
|
BuildRequires: ghc-cabal-doctest-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
BuildRequires: ghc-tagged-devel
|
BuildRequires: ghc-tagged-devel
|
||||||
BuildRequires: ghc-transformers-compat-devel
|
|
||||||
BuildRequires: ghc-transformers-devel
|
BuildRequires: ghc-transformers-devel
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: ghc-doctest-devel
|
BuildRequires: ghc-doctest-devel
|
||||||
@ -41,7 +39,7 @@ BuildRequires: ghc-hspec-devel
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Distributive functors -- Dual to Traversable.
|
Distributive functors -- Dual to 'Traversable'.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Haskell %{pkg_name} library development files
|
Summary: Haskell %{pkg_name} library development files
|
||||||
@ -56,7 +54,6 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
Loading…
Reference in New Issue
Block a user