osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-extra revision:2, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-extra?expand=0&rev=108
This commit is contained in:
commit
f56013e7b8
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
extra-1.7.16.tar.gz
Normal file
3
extra-1.7.16.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:250c6d43c30b2c71f2cf498a10e69e43ac035974d3819529385d99e42ce77c70
|
||||
size 46190
|
3
extra-1.8.tar.gz
Normal file
3
extra-1.8.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2fa4ce5eae50560bba80f1883913cf2ed52b3d87fd290dae27d838c94f5389a1
|
||||
size 47005
|
87
extra.cabal
Normal file
87
extra.cabal
Normal file
@ -0,0 +1,87 @@
|
||||
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
|
75
ghc-extra.changes
Normal file
75
ghc-extra.changes
Normal file
@ -0,0 +1,75 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 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>
|
||||
|
||||
- Update extra to version 1.7.16 revision 1.
|
||||
Upstream has revised the Cabal build instructions on Hackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 11 15:55:39 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update extra to version 1.7.16.
|
||||
1.7.16, released 2024-05-11
|
||||
Fix to actually work with GHC 9.10
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 10 13:07:51 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update extra to version 1.7.15.
|
||||
1.7.15, released 2024-05-10
|
||||
#111, work with GHC 9.10
|
||||
Test with GHC 9.8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 1 19:19:07 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update extra to version 1.7.14.
|
||||
1.7.14, released 2023-07-01
|
||||
#106, add compatibility with GHC 9.7
|
||||
#103, future-proof against addition of Data.List.unsnoc
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 2 16:18:24 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update extra to version 1.7.13.
|
||||
1.7.13, released 2023-04-22
|
||||
#102, add mwhen :: Monoid a => Bool -> a -> a
|
||||
#99, make replace with an empty from intersperse the replacement
|
||||
#101, future-proof against addition of Data.List.!?
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 30 17:06:44 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 11:34:48 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update extra to version 1.7.12.
|
||||
1.7.12, released 2022-09-02
|
||||
#98, make both lazy in its argument
|
||||
#98, make first3,second3,third3 lazy in their argument
|
||||
#98, make firstM,secondM lazy in their argument
|
||||
#86, add notNull for Foldable
|
||||
1.7.11, released 2022-08-21
|
||||
#95, add List.repeatedlyNE and NonEmpty.repeatedly
|
||||
#94, add groupOnKey
|
||||
#91, add foldl1' to NonEmpty
|
||||
1.7.10, released 2021-08-29
|
||||
#81, add assertIO function
|
||||
#85, add !? to do !! list indexing returning a Maybe
|
||||
#80, add strict Var functions modifyVar', modifyVar_', writeVar'
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 7 11:57:05 UTC 2021 - psimons@suse.com
|
||||
|
||||
- Add extra at version 1.7.9.
|
||||
|
119
ghc-extra.spec
Normal file
119
ghc-extra.spec
Normal file
@ -0,0 +1,119 @@
|
||||
#
|
||||
# spec file for package ghc-extra
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%global pkg_name extra
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
%bcond_with tests
|
||||
Name: ghc-%{pkg_name}
|
||||
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
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-base-devel
|
||||
BuildRequires: ghc-base-prof
|
||||
BuildRequires: ghc-clock-devel
|
||||
BuildRequires: ghc-clock-prof
|
||||
BuildRequires: ghc-directory-devel
|
||||
BuildRequires: ghc-directory-prof
|
||||
BuildRequires: ghc-filepath-devel
|
||||
BuildRequires: ghc-filepath-prof
|
||||
BuildRequires: ghc-process-devel
|
||||
BuildRequires: ghc-process-prof
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-time-devel
|
||||
BuildRequires: ghc-time-prof
|
||||
BuildRequires: ghc-unix-devel
|
||||
BuildRequires: ghc-unix-prof
|
||||
ExcludeArch: %{ix86}
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-QuickCheck-devel
|
||||
BuildRequires: ghc-QuickCheck-prof
|
||||
BuildRequires: ghc-quickcheck-instances-devel
|
||||
BuildRequires: ghc-quickcheck-instances-prof
|
||||
%endif
|
||||
|
||||
%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.
|
||||
|
||||
%package devel
|
||||
Summary: Haskell %{pkg_name} library development files
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: ghc-compiler = %{ghc_version}
|
||||
Requires(post): ghc-compiler = %{ghc_version}
|
||||
Requires(postun): ghc-compiler = %{ghc_version}
|
||||
|
||||
%description devel
|
||||
This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
%package -n ghc-%{pkg_name}-doc
|
||||
Summary: Haskell %{pkg_name} library documentation
|
||||
Requires: ghc-filesystem
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n ghc-%{pkg_name}-doc
|
||||
This package provides the Haskell %{pkg_name} library documentation.
|
||||
|
||||
%package -n ghc-%{pkg_name}-prof
|
||||
Summary: Haskell %{pkg_name} profiling library
|
||||
Requires: ghc-%{pkg_name}-devel = %{version}-%{release}
|
||||
Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
|
||||
|
||||
%description -n ghc-%{pkg_name}-prof
|
||||
This package provides the Haskell %{pkg_name} profiling library.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkg_name}-%{version}
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
|
||||
%install
|
||||
%ghc_lib_install
|
||||
|
||||
%check
|
||||
%cabal_test
|
||||
|
||||
%post devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
%postun devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
%files -f %{name}.files
|
||||
%license LICENSE
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
%doc CHANGES.txt README.md
|
||||
|
||||
%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
|
||||
%license LICENSE
|
||||
|
||||
%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user