Accepting request 987014 from devel:languages:haskell

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/987014
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-ListLike?expand=0&rev=3
This commit is contained in:
Richard Brown 2022-08-01 19:29:30 +00:00 committed by Git OBS Bridge
commit 9b53ca4513
5 changed files with 139 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2d5b9ca3ab2bfb390e272094a8b9d627237771a6424dcc78490c272730b85122
size 32509

3
ListLike-4.7.7.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0a01cd234aa4a1e97c07ce09e24e6c95f6bb423add96d387fb5bd2e1f2779e40
size 32876

123
ListLike.cabal Normal file
View File

@ -0,0 +1,123 @@
Name: ListLike
Version: 4.7.7
x-revision: 1
License: BSD3
Maintainer: David Fox <dsf@seereason.com>, Andreas Abel
Author: John Goerzen
Copyright: Copyright (c) 2007-2008 John Goerzen
license-file: COPYRIGHT
Category: list, string, text, bytestring, vector
Cabal-Version: >= 1.10
Build-Type: Simple
homepage: http://github.com/ddssff/listlike
synopsis: Generalized support for list-like structures
Description: Generalized support for list-like structures in Haskell.
.
The ListLike module provides a common interface to the various Haskell
types that are list-like. Predefined interfaces include standard
Haskell lists, Arrays, ByteStrings, and lazy ByteStrings. Custom
types can easily be made ListLike instances as well.
.
ListLike also provides for String-like types, such as String and
ByteString, for types that support input and output, and for types that can handle
infinite lists.
Stability: Stable
Tested-With:
GHC == 9.4.1
GHC == 9.2.2
GHC == 9.0.2
GHC == 8.10.7
GHC == 8.8.4
GHC == 8.6.5
GHC == 8.4.4
GHC == 8.2.2
GHC == 8.0.2
GHC == 7.10.3
extra-source-files:
README.md
CHANGELOG.md
Library
default-language: Haskell2010
GHC-Options: -Wall
Hs-Source-Dirs: src
Exposed-Modules: Data.ListLike
Data.ListLike.Base
Data.ListLike.Chars
Data.ListLike.CharString
Data.ListLike.FoldableLL
Data.ListLike.IO
Data.ListLike.Instances
Data.ListLike.String
Data.ListLike.Text
Data.ListLike.Text.Builder
Data.ListLike.Text.Text
Data.ListLike.Text.TextLazy
Data.ListLike.UTF8
Data.ListLike.Utils
Data.ListLike.Vector
Data.ListLike.Vector.Generic
Data.ListLike.Vector.Storable
Data.ListLike.Vector.Unboxed
Data.ListLike.Vector.Vector
Data.ListLike.DList
Data.ListLike.FMList
-- Other-Modules: Data.ConfigFile.Lexer
Build-Depends: base >= 4.8 && < 5
,containers >= 0.3 && < 0.7
,bytestring >= 0.9.1 && < 0.12
,array >= 0.3 && < 0.6
,text >= 0.11 && < 1.3 || == 2.0.*
,vector >= 0.5 && < 0.14
,dlist >= 0.7 && < 1.1
,fmlist >= 0.8 && < 0.10
,utf8-string >= 0.3.1 && < 1.1
,deepseq
-- Remark: Atm, we don't comply with the Haskell Package Versioning Policy
-- https://pvp.haskell.org/
-- > §6. Client defines orphan instance.
-- > If a package defines an orphan instance, it MUST depend on the
-- > minor version of the packages that define the data type and the
-- > type class to be backwards compatible. For example,
-- > build-depends: mypkg >= 2.1.1 && < 2.1.2.
--
-- Since ListLike defines orphan instances, we would need to include
-- the minor version number in the upper bounds.
-- (See issues #7 and #10.)
-- However, this could involve a maintenance marathon to relax upper bounds.
If !impl(ghc >= 8.4)
Build-Depends: semigroups >= 0.16 && < 0.20
if impl(ghc >= 8.0)
ghc-options: -Wcompat
Test-suite listlike-tests
default-language: Haskell2010
Hs-source-dirs: testsrc
Main-is: runtests.hs
Type: exitcode-stdio-1.0
Other-modules: TestInfrastructure
Build-depends: base
,ListLike
,HUnit >= 1.2 && < 2
,QuickCheck >= 2.4 && < 3
,random >= 1 && < 2
,array
,bytestring
,containers
,dlist
,fmlist
,text
,vector
,utf8-string
If !impl(ghc >= 8.4)
Build-Depends: semigroups >= 0.16 && < 0.20
source-repository head
type: git
location: git://github.com/ddssff/listlike.git

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Jun 20 16:44:10 UTC 2022 - Peter Simons <psimons@suse.com>
- Update ListLike to version 4.7.7 revision 1.
Upstream has edited the change log file since the last release in
a non-trivial way, i.e. they did more than just add a new entry
at the top. You can review the file at:
http://hackage.haskell.org/package/ListLike-4.7.7/src/CHANGELOG.md
-------------------------------------------------------------------
Thu Sep 2 08:31:56 UTC 2021 - psimons@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-ListLike
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,12 +19,13 @@
%global pkg_name ListLike
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 4.7.6
Version: 4.7.7
Release: 0
Summary: Generalized support for list-like structures
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-array-devel
BuildRequires: ghc-bytestring-devel
@ -67,6 +68,7 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build