osc copypac from project:devel:languages:haskell:ghc-9.6.x package:ghc-data-clist revision:3, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-data-clist?expand=0&rev=17
This commit is contained in:
Peter Simons 2023-11-18 22:00:52 +00:00 committed by Git OBS Bridge
parent 50c7bc01eb
commit 5e6873c37e
3 changed files with 51 additions and 0 deletions

43
data-clist.cabal Normal file
View File

@ -0,0 +1,43 @@
Cabal-Version: 2.2
Name: data-clist
Synopsis: Simple functional ring type.
Description: Simple functional bidirectional ring type.
Given that the ring terminiology clashes with certain
mathematical branches, we're using the term CList or
CircularList instead.
Version: 0.2
x-revision: 1
License: BSD-3-Clause
License-File: LICENSE
Author: John Van Enk <vanenkj@gmail.com>
Maintainer: Jeremy Huffman <jeremy@jeremyhuffman.com>, John Van Enk <vanenkj@gmail.com>
Stability: experimental
Category: Data Structures
Build-Type: Simple
Homepage: https://github.com/sw17ch/data-clist
source-repository head
type: git
location: git://github.com/sw17ch/data-clist.git
Library
Default-Language: Haskell2010
Build-Depends: base >= 4 && < 5,
deepseq >= 1.1 && < 1.6
Exposed-Modules:
Data.CircularList
Data.CircularList.Internal
ghc-options: -Wall
hs-source-dirs: src
Test-Suite tests
Default-Language: Haskell2010
Type: exitcode-stdio-1.0
Build-Depends: base >=4.11 && < 5
, data-clist
, QuickCheck >= 2.4 && < 2.15
hs-source-dirs: tests/
main-is: quickcheck.hs

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Nov 17 04:16:17 UTC 2023 - Peter Simons <psimons@suse.com>
- Update data-clist to version 0.2 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Thu Mar 30 17:06:29 UTC 2023 - Peter Simons <psimons@suse.com>

View File

@ -26,6 +26,7 @@ Summary: Simple functional ring type
License: BSD-3-Clause
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/1.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-prof
@ -71,6 +72,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build