revise .cabal
This commit is contained in:
parent
5f74c62dce
commit
ea8af8ba87
|
@ -0,0 +1,48 @@
|
|||
Name: equivalence
|
||||
Version: 0.3.2
|
||||
x-revision: 1
|
||||
License: BSD3
|
||||
License-File: LICENSE
|
||||
Author: Patrick Bahr
|
||||
Maintainer: paba@di.ku.dk
|
||||
Homepage: https://github.com/pa-ba/equivalence
|
||||
bug-reports: https://github.com/pa-ba/equivalence/issues/new
|
||||
Synopsis: Maintaining an equivalence relation implemented as union-find using STT.
|
||||
Description:
|
||||
This is an implementation of Tarjan's Union-Find algorithm (Robert
|
||||
E. Tarjan. "Efficiency of a Good But Not Linear Set Union
|
||||
Algorithm", JACM 22(2), 1975) in order to maintain an equivalence
|
||||
relation.
|
||||
|
||||
This implementation is a port of the /union-find/ package using the
|
||||
ST monad transformer (instead of the IO monad).
|
||||
Category: Algorithms, Data
|
||||
Stability: provisional
|
||||
Build-Type: Simple
|
||||
Cabal-Version: >=1.9.2
|
||||
|
||||
Extra-Source-Files: CHANGES.txt
|
||||
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/pa-ba/equivalence
|
||||
|
||||
|
||||
Test-Suite test
|
||||
Type: exitcode-stdio-1.0
|
||||
Main-is: Data_Test.hs
|
||||
Other-Modules: Data.Equivalence.Monad_Test
|
||||
hs-source-dirs: src testsuite/tests
|
||||
Build-Depends: base >= 4, template-haskell, containers, mtl >= 2.0.1, QuickCheck >= 2,
|
||||
test-framework, test-framework-quickcheck2, STMonadTrans >= 0.4.3,
|
||||
transformers >= 0.2, transformers-compat >= 0.3
|
||||
|
||||
Library
|
||||
Build-Depends:
|
||||
base >= 4 && < 5, containers, mtl >= 2.0.1, STMonadTrans >= 0.4.3,
|
||||
transformers >= 0.2, transformers-compat >= 0.3
|
||||
Exposed-Modules:
|
||||
Data.Equivalence.STT,
|
||||
Data.Equivalence.Monad
|
||||
Hs-Source-Dirs: src
|
|
@ -1,4 +1,4 @@
|
|||
# generated by cabal-rpm-0.12.1
|
||||
# generated by cabal-rpm-0.12.5
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
|
||||
%global pkg_name equivalence
|
||||
|
@ -8,12 +8,13 @@
|
|||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.3.2
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Summary: Maintaining an equivalence relation implemented as union-find using STT
|
||||
|
||||
License: BSD
|
||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
|
||||
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
|
@ -56,6 +57,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||
|
||||
%prep
|
||||
%setup -q -n %{pkgver}
|
||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
|
||||
%build
|
||||
|
@ -87,6 +89,9 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||
|
||||
|
||||
%changelog
|
||||
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 0.3.2-7
|
||||
- revise .cabal
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue