Accepting request 1231508 from devel:languages:haskell

version update for ghc-9.10.1

OBS-URL: https://build.opensuse.org/request/show/1231508
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-cassava-megaparsec?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2024-12-20 22:11:25 +00:00 committed by Git OBS Bridge
commit f43f28d456
5 changed files with 14 additions and 82 deletions

View File

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

View File

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

View File

@ -1,72 +0,0 @@
name: cassava-megaparsec
version: 2.0.4
x-revision: 1
cabal-version: 1.18
tested-with:
GHC == 9.4.4
GHC == 9.2.5
GHC == 9.0.2
GHC == 8.10.7
GHC == 8.8.4
GHC == 8.6.5
GHC == 8.4.4
GHC == 8.2.2
license: MIT
license-file: LICENSE.md
author: Mark Karpov <markkarpov92@gmail.org>
maintainer: Mark Karpov <markkarpov92@gmail.org>
homepage: https://github.com/stackbuilders/cassava-megaparsec
bug-reports: https://github.com/stackbuilders/cassava-megaparsec/issues
category: Text, Web, CSV, Parsing
synopsis: Megaparsec parser of CSV files that plays nicely with Cassava
build-type: Simple
description: Megaparsec parser of CSV files that plays nicely with Cassava.
extra-doc-files: CHANGELOG.md
, README.md
source-repository head
type: git
location: https://github.com/stackbuilders/cassava-megaparsec.git
flag dev
description: Turn on development settings.
manual: True
default: False
library
build-depends: base >= 4.8 && < 5.0
, bytestring >= 0.9 && < 0.12
, cassava >= 0.4.2 && < 0.6
, megaparsec >= 7.0 && < 10.0
, unordered-containers >= 0.2.7 && < 0.3
, vector >= 0.11 && < 0.14
exposed-modules: Data.Csv.Parser.Megaparsec
, Data.Csv.Parser.Megaparsec.Internals
if flag(dev)
ghc-options: -Wall -Werror
else
ghc-options: -O2 -Wall
if flag(dev) && impl(ghc >= 8.0)
ghc-options: -Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wnoncanonical-monad-instances
-Wnoncanonical-monadfail-instances
default-language: Haskell2010
test-suite tests
main-is: Spec.hs
hs-source-dirs: tests
type: exitcode-stdio-1.0
build-depends: base >= 4.8 && < 5.0
, bytestring >= 0.9 && < 0.12
, cassava >= 0.4.2 && < 0.6
, cassava-megaparsec
, hspec >= 2.0 && < 3.0
, hspec-megaparsec >= 2.0 && < 3.0
, vector >= 0.11 && < 0.14
if flag(dev)
ghc-options: -Wall -Werror
else
ghc-options: -O2 -Wall
default-language: Haskell2010

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed May 28 22:05:52 UTC 2024 - Peter Simons <psimons@suse.com>
- Update cassava-megaparsec to version 2.1.1.
## Cassava Megaparsec 2.1.0
* Drop support for GHC 8.0 and below
-------------------------------------------------------------------
Fri May 3 13:54:09 UTC 2024 - Peter Simons <psimons@suse.com>
@ -33,9 +41,9 @@ Mon Nov 1 08:26:35 UTC 2021 - psimons@suse.com
-------------------------------------------------------------------
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- disable %{ix86} build
-------------------------------------------------------------------
Sat Sep 12 16:16:32 UTC 2020 - psimons@suse.com
@ -58,4 +66,3 @@ Tue Aug 18 10:44:16 UTC 2020 - Peter Simons <psimons@suse.com>
Tue Jun 9 09:27:56 UTC 2020 - psimons@suse.com
- Add cassava-megaparsec at version 2.0.1.

View File

@ -20,13 +20,12 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 2.0.4
Version: 2.1.1
Release: 0
Summary: Megaparsec parser of CSV files that plays nicely with Cassava
License: MIT
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
@ -81,8 +80,6 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
cabal-tweak-dep-ver bytestring "< 0.12" "< 1"
%build
%ghc_lib_build