revise .cabal
This commit is contained in:
parent
38af4b8291
commit
ac64ec1933
107
distributive-0.5.3.cabal
Normal file
107
distributive-0.5.3.cabal
Normal file
@ -0,0 +1,107 @@
|
|||||||
|
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,4 +1,4 @@
|
|||||||
# generated by cabal-rpm-0.12.1
|
# generated by cabal-rpm-0.12.5
|
||||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||||
|
|
||||||
%global pkg_name distributive
|
%global pkg_name distributive
|
||||||
@ -12,13 +12,14 @@
|
|||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.5.3
|
Version: 0.5.3
|
||||||
# can only be reset when all subpkgs bumped
|
# can only be reset when all subpkgs bumped
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Summary: Distributive functors -- Dual to Traversable
|
Summary: Distributive functors -- Dual to Traversable
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||||
Source1: https://hackage.haskell.org/package/%{cabaldoctest}/%{cabaldoctest}.tar.gz
|
Source1: https://hackage.haskell.org/package/%{cabaldoctest}/%{cabaldoctest}.tar.gz
|
||||||
|
Source2: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
|
||||||
|
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros-extra
|
BuildRequires: ghc-rpm-macros-extra
|
||||||
@ -65,6 +66,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkgver} -a1
|
%setup -q -n %{pkgver} -a1
|
||||||
|
cp -p %{SOURCE2} %{pkg_name}.cabal
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -98,6 +100,9 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 0.5.3-8
|
||||||
|
- revise .cabal
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-7
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-7
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user