Accepting request 1096037 from devel:languages:haskell
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1096037 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-fgl?expand=0&rev=8
This commit is contained in:
commit
2a30a24f82
137
fgl.cabal
Normal file
137
fgl.cabal
Normal file
@ -0,0 +1,137 @@
|
|||||||
|
name: fgl
|
||||||
|
version: 5.8.0.0
|
||||||
|
x-revision: 1
|
||||||
|
license: BSD3
|
||||||
|
license-file: LICENSE
|
||||||
|
author: Martin Erwig, Ivan Lazar Miljenovic
|
||||||
|
maintainer: Ivan.Miljenovic@gmail.com
|
||||||
|
category: Data Structures, Graphs
|
||||||
|
synopsis: Martin Erwig's Functional Graph Library
|
||||||
|
|
||||||
|
description: {
|
||||||
|
An inductive representation of manipulating graph data structures.
|
||||||
|
.
|
||||||
|
Original website can be found at <http://web.engr.oregonstate.edu/~erwig/fgl/haskell>.
|
||||||
|
}
|
||||||
|
cabal-version: >= 1.10
|
||||||
|
build-type: Simple
|
||||||
|
extra-source-files:
|
||||||
|
ChangeLog
|
||||||
|
|
||||||
|
tested-with: 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.3,
|
||||||
|
GHC == 8.6.2, GHC == 8.8.2, GHC == 8.10.7, GHC == 9.0.2,
|
||||||
|
GHC == 9.2.3, GHC == 9.4.2
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: https://github.com/haskell/fgl.git
|
||||||
|
|
||||||
|
flag containers042 {
|
||||||
|
manual: False
|
||||||
|
default: True
|
||||||
|
}
|
||||||
|
|
||||||
|
library {
|
||||||
|
default-language: Haskell98
|
||||||
|
|
||||||
|
exposed-modules:
|
||||||
|
Data.Graph.Inductive.Internal.Heap,
|
||||||
|
Data.Graph.Inductive.Internal.Queue,
|
||||||
|
Data.Graph.Inductive.Internal.RootPath,
|
||||||
|
Data.Graph.Inductive.Internal.Thread,
|
||||||
|
Data.Graph.Inductive.Basic,
|
||||||
|
Data.Graph.Inductive.Example,
|
||||||
|
Data.Graph.Inductive.Graph,
|
||||||
|
Data.Graph.Inductive.Monad,
|
||||||
|
Data.Graph.Inductive.NodeMap,
|
||||||
|
Data.Graph.Inductive.PatriciaTree,
|
||||||
|
Data.Graph.Inductive.Query,
|
||||||
|
Data.Graph.Inductive.Tree,
|
||||||
|
Data.Graph.Inductive.Monad.IOArray,
|
||||||
|
Data.Graph.Inductive.Monad.STArray,
|
||||||
|
Data.Graph.Inductive.Query.ArtPoint,
|
||||||
|
Data.Graph.Inductive.Query.BCC,
|
||||||
|
Data.Graph.Inductive.Query.BFS,
|
||||||
|
Data.Graph.Inductive.Query.DFS,
|
||||||
|
Data.Graph.Inductive.Query.Dominators,
|
||||||
|
Data.Graph.Inductive.Query.GVD,
|
||||||
|
Data.Graph.Inductive.Query.Indep,
|
||||||
|
Data.Graph.Inductive.Query.MST,
|
||||||
|
Data.Graph.Inductive.Query.MaxFlow,
|
||||||
|
Data.Graph.Inductive.Query.MaxFlow2,
|
||||||
|
Data.Graph.Inductive.Query.Monad,
|
||||||
|
Data.Graph.Inductive.Query.SP,
|
||||||
|
Data.Graph.Inductive.Query.TransClos,
|
||||||
|
Data.Graph.Inductive
|
||||||
|
|
||||||
|
other-modules:
|
||||||
|
Paths_fgl
|
||||||
|
|
||||||
|
build-depends: base >= 4.3 && < 4.18
|
||||||
|
, transformers
|
||||||
|
, array
|
||||||
|
|
||||||
|
if flag(containers042)
|
||||||
|
build-depends: containers >= 0.4.2
|
||||||
|
, deepseq >= 1.1.0.0 && < 1.5
|
||||||
|
else
|
||||||
|
build-depends: containers < 0.4.2
|
||||||
|
|
||||||
|
if impl(ghc >= 7.2) && impl(ghc < 7.6)
|
||||||
|
build-depends:
|
||||||
|
ghc-prim
|
||||||
|
|
||||||
|
ghc-options: -Wall
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
test-suite fgl-tests {
|
||||||
|
default-language: Haskell98
|
||||||
|
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
|
||||||
|
build-depends: fgl
|
||||||
|
, base
|
||||||
|
, QuickCheck >= 2.8 && < 2.15
|
||||||
|
, hspec >= 2.1 && < 2.11
|
||||||
|
, containers
|
||||||
|
|
||||||
|
hs-source-dirs: test
|
||||||
|
fgl-arbitrary
|
||||||
|
|
||||||
|
main-is: TestSuite.hs
|
||||||
|
|
||||||
|
other-modules: Data.Graph.Inductive.Arbitrary
|
||||||
|
, Data.Graph.Inductive.Graph.Properties
|
||||||
|
, Data.Graph.Inductive.Proxy
|
||||||
|
, Data.Graph.Inductive.Query.Properties
|
||||||
|
|
||||||
|
ghc-options: -Wall
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
benchmark fgl-benchmark {
|
||||||
|
if flag(containers042)
|
||||||
|
buildable: True
|
||||||
|
else
|
||||||
|
buildable: False
|
||||||
|
|
||||||
|
default-language: Haskell98
|
||||||
|
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
|
||||||
|
hs-source-dirs: test
|
||||||
|
|
||||||
|
main-is: benchmark.hs
|
||||||
|
|
||||||
|
other-modules: Data.Graph.Inductive.Proxy
|
||||||
|
|
||||||
|
build-depends: fgl
|
||||||
|
, base
|
||||||
|
, microbench
|
||||||
|
, deepseq
|
||||||
|
|
||||||
|
ghc-options: -Wall
|
||||||
|
|
||||||
|
}
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 22 19:46:07 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update fgl to version 5.8.0.0 revision 1.
|
||||||
|
Upstream has revised the Cabal build instructions on Hackage.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 30 17:06:46 UTC 2023 - Peter Simons <psimons@suse.com>
|
Thu Mar 30 17:06:46 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@ Summary: Martin Erwig's Functional Graph Library
|
|||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
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/1.cabal#/%{pkg_name}.cabal
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-array-devel
|
BuildRequires: ghc-array-devel
|
||||||
BuildRequires: ghc-array-prof
|
BuildRequires: ghc-array-prof
|
||||||
@ -80,6 +81,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pkg_name}-%{version}
|
%autosetup -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