SHA256
1
0
forked from pool/ghc-ListLike

Accepting request 1059046 from devel:languages:haskell

version update

OBS-URL: https://build.opensuse.org/request/show/1059046
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-ListLike?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2023-01-18 12:09:34 +00:00 committed by Git OBS Bridge
commit ef49655ad3
5 changed files with 11 additions and 129 deletions

View File

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

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

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

View File

@ -1,123 +0,0 @@
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,10 @@
-------------------------------------------------------------------
Tue Nov 15 13:48:19 UTC 2022 - Peter Simons <psimons@suse.com>
- Update ListLike to version 4.7.8.
Upstream has not updated the file "CHANGELOG.md" since the last
release.
-------------------------------------------------------------------
Mon Jun 20 16:44:10 UTC 2022 - Peter Simons <psimons@suse.com>

View File

@ -19,13 +19,12 @@
%global pkg_name ListLike
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 4.7.7
Version: 4.7.8
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
@ -68,7 +67,6 @@ 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