Accepting request 1231511 from devel:languages:haskell

version update for ghc-9.10.1

OBS-URL: https://build.opensuse.org/request/show/1231511
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-extra?expand=0&rev=38
This commit is contained in:
Dominique Leuenberger 2024-12-20 22:11:27 +00:00 committed by Git OBS Bridge
commit 0f34740441
5 changed files with 13 additions and 93 deletions

View File

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

3
extra-1.8.tar.gz Normal file
View File

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

View File

@ -1,87 +0,0 @@
cabal-version: 1.18
build-type: Simple
name: extra
version: 1.7.16
x-revision: 1
license: BSD3
license-file: LICENSE
category: Development
author: Neil Mitchell <ndmitchell@gmail.com>
maintainer: Neil Mitchell <ndmitchell@gmail.com>
copyright: Neil Mitchell 2014-2024
synopsis: Extra functions I use.
description:
A library of extra functions for the standard Haskell libraries. Most functions are simple additions, filling out missing functionality. A few functions are available in later versions of GHC, but this package makes them available back to GHC 7.2.
.
The module "Extra" documents all functions provided by this library. Modules such as "Data.List.Extra" provide extra functions over "Data.List" and also reexport "Data.List". Users are recommended to replace "Data.List" imports with "Data.List.Extra" if they need the extra functionality.
homepage: https://github.com/ndmitchell/extra#readme
bug-reports: https://github.com/ndmitchell/extra/issues
tested-with: GHC==9.8, GHC==9.6, GHC==9.4, GHC==9.2, GHC==9.0, GHC==8.10, GHC==8.8
extra-doc-files:
CHANGES.txt
README.md
extra-source-files:
Generate.hs
source-repository head
type: git
location: https://github.com/ndmitchell/extra.git
library
default-language: Haskell2010
hs-source-dirs: src
build-depends:
base >= 4.9 && < 4.21,
directory,
filepath,
process,
clock >= 0.7,
time
if !os(windows)
build-depends: unix
other-modules:
Partial
exposed-modules:
Extra
Control.Concurrent.Extra
Control.Exception.Extra
Control.Monad.Extra
Data.Foldable.Extra
Data.Either.Extra
Data.IORef.Extra
Data.List.Extra
Data.List.NonEmpty.Extra
Data.Monoid.Extra
Data.Tuple.Extra
Data.Typeable.Extra
Data.Version.Extra
Numeric.Extra
System.Directory.Extra
System.Environment.Extra
System.Info.Extra
System.IO.Extra
System.Process.Extra
System.Time.Extra
Text.Read.Extra
test-suite extra-test
type: exitcode-stdio-1.0
default-language: Haskell2010
build-depends:
base == 4.*,
directory,
filepath,
extra,
QuickCheck >= 2.10,
quickcheck-instances >= 0.3.17
if !os(windows)
build-depends: unix
hs-source-dirs: test
ghc-options: -main-is Test -threaded "-with-rtsopts=-N4 -K1K"
main-is: Test.hs
other-modules:
TestCustom
TestGen
TestUtil

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sat Nov 19 13:35:44 UTC 2024 - Peter Simons <psimons@suse.com>
- Update extra to version 1.8.
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/extra-1.8/src/CHANGES.txt
-------------------------------------------------------------------
Tue Oct 22 22:59:37 UTC 2024 - Peter Simons <psimons@suse.com>

View File

@ -20,13 +20,12 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 1.7.16
Version: 1.8
Release: 0
Summary: Extra functions I use
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
@ -90,7 +89,6 @@ 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