From 84d115f28cef24bd65e159d66ea577074fbb1943d9ec3eb72aae1c01da3941b9 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 29 Jun 2022 12:18:07 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-ListLike revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-ListLike?expand=0&rev=4 --- ListLike-4.7.6.tar.gz | 3 -- ListLike-4.7.7.tar.gz | 3 ++ ListLike.cabal | 123 ++++++++++++++++++++++++++++++++++++++++++ ghc-ListLike.changes | 9 ++++ ghc-ListLike.spec | 6 ++- 5 files changed, 139 insertions(+), 5 deletions(-) delete mode 100644 ListLike-4.7.6.tar.gz create mode 100644 ListLike-4.7.7.tar.gz create mode 100644 ListLike.cabal diff --git a/ListLike-4.7.6.tar.gz b/ListLike-4.7.6.tar.gz deleted file mode 100644 index c4c4601..0000000 --- a/ListLike-4.7.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2d5b9ca3ab2bfb390e272094a8b9d627237771a6424dcc78490c272730b85122 -size 32509 diff --git a/ListLike-4.7.7.tar.gz b/ListLike-4.7.7.tar.gz new file mode 100644 index 0000000..c92697a --- /dev/null +++ b/ListLike-4.7.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a01cd234aa4a1e97c07ce09e24e6c95f6bb423add96d387fb5bd2e1f2779e40 +size 32876 diff --git a/ListLike.cabal b/ListLike.cabal new file mode 100644 index 0000000..f31237e --- /dev/null +++ b/ListLike.cabal @@ -0,0 +1,123 @@ +Name: ListLike +Version: 4.7.7 +x-revision: 1 +License: BSD3 +Maintainer: David Fox , 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 diff --git a/ghc-ListLike.changes b/ghc-ListLike.changes index 7b9137d..1b72774 100644 --- a/ghc-ListLike.changes +++ b/ghc-ListLike.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Jun 20 16:44:10 UTC 2022 - Peter Simons + +- 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 diff --git a/ghc-ListLike.spec b/ghc-ListLike.spec index bf83841..aa7c8d7 100644 --- a/ghc-ListLike.spec +++ b/ghc-ListLike.spec @@ -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