osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-witherable revision:2, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-witherable?expand=0&rev=14
This commit is contained in:
commit
e4b7ad6b7a
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
|
62
ghc-witherable.changes
Normal file
62
ghc-witherable.changes
Normal file
@ -0,0 +1,62 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 2 08:05:58 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update witherable to version 0.5 revision 1.
|
||||
0.5
|
||||
---
|
||||
|
||||
* `FilterableWithIndex` is a superclass of `WitherableWithIndex`.
|
||||
* Remove deprecated `Data.Witherable` module. Use `Witherable` module.
|
||||
* Relax `FilterableWithIndex` composition law so list-like instances are lawful.
|
||||
* Add `drain :: f a -> f b` method (with default implementation `drain = mapMaybe (Const Nothing)`) to the `Filterable`.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 16 22:45:35 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update witherable to version 0.4.2 revision 5.
|
||||
Upstream has revised the Cabal build instructions on Hackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 30 17:09:01 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 7 10:07:20 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update witherable to version 0.4.2 revision 4.
|
||||
Upstream has revised the Cabal build instructions on Hackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 20 09:15:00 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update witherable to version 0.4.2 revision 3.
|
||||
Upstream has revised the Cabal build instructions on Hackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 20 17:29:39 UTC 2021 - psimons@suse.com
|
||||
|
||||
- Update witherable to version 0.4.2 revision 2.
|
||||
Upstream has revised the Cabal build instructions on Hackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 7 14:54:26 UTC 2021 - psimons@suse.com
|
||||
|
||||
- Update witherable to version 0.4.2 revision 1.
|
||||
Upstream has revised the Cabal build instructions on Hackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 12 10:51:40 UTC 2021 - psimons@suse.com
|
||||
|
||||
- Update witherable to version 0.4.2.
|
||||
0.4.2
|
||||
-------
|
||||
|
||||
* Supported GHC 9.2
|
||||
* Improved the instances for `vector`
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 10 14:49:58 UTC 2021 - psimons@suse.com
|
||||
|
||||
- Add witherable at version 0.4.1 revision 1.
|
||||
|
122
ghc-witherable.spec
Normal file
122
ghc-witherable.spec
Normal file
@ -0,0 +1,122 @@
|
||||
#
|
||||
# spec file for package ghc-witherable
|
||||
#
|
||||
# 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 witherable
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
%bcond_with tests
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.5
|
||||
Release: 0
|
||||
Summary: Filterable traversable
|
||||
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-orphans-devel
|
||||
BuildRequires: ghc-base-orphans-prof
|
||||
BuildRequires: ghc-base-prof
|
||||
BuildRequires: ghc-containers-devel
|
||||
BuildRequires: ghc-containers-prof
|
||||
BuildRequires: ghc-hashable-devel
|
||||
BuildRequires: ghc-hashable-prof
|
||||
BuildRequires: ghc-indexed-traversable-devel
|
||||
BuildRequires: ghc-indexed-traversable-instances-devel
|
||||
BuildRequires: ghc-indexed-traversable-instances-prof
|
||||
BuildRequires: ghc-indexed-traversable-prof
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-transformers-devel
|
||||
BuildRequires: ghc-transformers-prof
|
||||
BuildRequires: ghc-unordered-containers-devel
|
||||
BuildRequires: ghc-unordered-containers-prof
|
||||
BuildRequires: ghc-vector-devel
|
||||
BuildRequires: ghc-vector-prof
|
||||
ExcludeArch: %{ix86}
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-QuickCheck-devel
|
||||
BuildRequires: ghc-QuickCheck-prof
|
||||
BuildRequires: ghc-quickcheck-instances-devel
|
||||
BuildRequires: ghc-quickcheck-instances-prof
|
||||
BuildRequires: ghc-tasty-devel
|
||||
BuildRequires: ghc-tasty-prof
|
||||
BuildRequires: ghc-tasty-quickcheck-devel
|
||||
BuildRequires: ghc-tasty-quickcheck-prof
|
||||
%endif
|
||||
|
||||
%description
|
||||
A stronger variant of `traverse` which can remove elements and generalised
|
||||
mapMaybe, catMaybes, filter.
|
||||
|
||||
%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}
|
||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
%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 CHANGELOG.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
|
3
witherable-0.4.2.tar.gz
Normal file
3
witherable-0.4.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:790d2bb274283419173bd89104439860675a9410f70f21912973ecd9098b4104
|
||||
size 11876
|
3
witherable-0.5.tar.gz
Normal file
3
witherable-0.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:48434cc1e465b13cbc0133a90c3ec0d827c93b77ce95807fe0a38b65f4918cd1
|
||||
size 10819
|
56
witherable.cabal
Normal file
56
witherable.cabal
Normal file
@ -0,0 +1,56 @@
|
||||
cabal-version: 2.4
|
||||
name: witherable
|
||||
version: 0.5
|
||||
x-revision: 1
|
||||
synopsis: filterable traversable
|
||||
description: A stronger variant of `traverse` which can remove elements and generalised mapMaybe, catMaybes, filter
|
||||
homepage: https://github.com/fumieval/witherable
|
||||
license: BSD-3-Clause
|
||||
license-file: LICENSE
|
||||
author: Fumiaki Kinoshita
|
||||
maintainer: Fumiaki Kinoshita <fumiexcel@gmail.com>
|
||||
copyright: Copyright (c) 2014 Fumiaki Kinoshita
|
||||
category: Data
|
||||
build-type: Simple
|
||||
extra-source-files: CHANGELOG.md
|
||||
tested-with: GHC ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 ||
|
||||
==9.0.1 || ==9.2.8 || ==9.4.8 || ==9.6.5 || ==9.8.2 || ==9.10.1
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/fumieval/witherable.git
|
||||
subdir: witherable
|
||||
|
||||
library
|
||||
exposed-modules:
|
||||
Witherable
|
||||
build-depends: base >=4.9 && <5,
|
||||
base-orphans >=0.8.4 && <0.10,
|
||||
containers >=0.5.7.1 && <0.8,
|
||||
hashable >=1.2.7.0 && <1.6,
|
||||
transformers >=0.5.2.0 && <0.7,
|
||||
unordered-containers >=0.2.12.0 && <0.3,
|
||||
vector >=0.12.2.0 && <0.14,
|
||||
indexed-traversable >=0.1.1 && <0.2,
|
||||
indexed-traversable-instances >=0.1 && <0.2
|
||||
hs-source-dirs: src
|
||||
ghc-options: -Wall -Wcompat
|
||||
default-language: Haskell2010
|
||||
|
||||
test-suite witherable-tests
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: tests.hs
|
||||
hs-source-dirs: tests
|
||||
ghc-options: -Wall -Wcompat
|
||||
default-language: Haskell2010
|
||||
build-depends: base,
|
||||
witherable,
|
||||
containers,
|
||||
hashable,
|
||||
QuickCheck >=2.14.2,
|
||||
quickcheck-instances,
|
||||
tasty,
|
||||
tasty-quickcheck,
|
||||
transformers,
|
||||
unordered-containers,
|
||||
vector
|
Loading…
x
Reference in New Issue
Block a user