osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-bifunctors revision:4, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-bifunctors?expand=0&rev=98
This commit is contained in:
commit
9088391a98
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
bifunctors-5.6.2.tar.gz
Normal file
3
bifunctors-5.6.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1086a9285061eed0c2c5d3cb65aa223defd52fca6d0515bb69ddf2dbc3d9697a
|
||||
size 38193
|
117
bifunctors.cabal
Normal file
117
bifunctors.cabal
Normal file
@ -0,0 +1,117 @@
|
||||
cabal-version: 1.24
|
||||
name: bifunctors
|
||||
category: Data, Functors
|
||||
version: 5.6.2
|
||||
x-revision: 2
|
||||
license: BSD3
|
||||
license-file: LICENSE
|
||||
author: Edward A. Kmett
|
||||
maintainer: Edward A. Kmett <ekmett@gmail.com>
|
||||
stability: provisional
|
||||
homepage: http://github.com/ekmett/bifunctors/
|
||||
bug-reports: http://github.com/ekmett/bifunctors/issues
|
||||
copyright: Copyright (C) 2008-2016 Edward A. Kmett
|
||||
synopsis: Bifunctors
|
||||
description: Bifunctors.
|
||||
build-type: Simple
|
||||
tested-with: GHC == 8.0.2
|
||||
, GHC == 8.2.2
|
||||
, GHC == 8.4.4
|
||||
, GHC == 8.6.5
|
||||
, GHC == 8.8.4
|
||||
, GHC == 8.10.7
|
||||
, GHC == 9.0.2
|
||||
, GHC == 9.2.8
|
||||
, GHC == 9.4.8
|
||||
, GHC == 9.6.4
|
||||
, GHC == 9.8.2
|
||||
, GHC == 9.10.1
|
||||
extra-source-files:
|
||||
CHANGELOG.markdown
|
||||
README.markdown
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/ekmett/bifunctors.git
|
||||
|
||||
flag tagged
|
||||
default: True
|
||||
manual: True
|
||||
description:
|
||||
You can disable the use of the `tagged` package using `-f-tagged`.
|
||||
.
|
||||
Disabing this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
|
||||
|
||||
library
|
||||
hs-source-dirs: src
|
||||
build-depends:
|
||||
base >= 4.9 && < 5,
|
||||
assoc >= 1.1 && < 1.2,
|
||||
comonad >= 5.0.7 && < 6,
|
||||
containers >= 0.5.7.1 && < 0.9,
|
||||
template-haskell >= 2.11 && < 2.24,
|
||||
th-abstraction >= 0.4.2.0 && < 0.8,
|
||||
transformers >= 0.5 && < 0.7
|
||||
|
||||
if !impl(ghc >= 8.2)
|
||||
build-depends:
|
||||
bifunctor-classes-compat >= 0.1 && < 0.2,
|
||||
transformers-compat >= 0.6 && < 0.8
|
||||
|
||||
if flag(tagged)
|
||||
build-depends: tagged >= 0.8.6 && < 1
|
||||
|
||||
if impl(ghc<8.1)
|
||||
reexported-modules:
|
||||
Data.Bifoldable
|
||||
, Data.Bitraversable
|
||||
|
||||
if !impl(ghc >= 9.6)
|
||||
build-depends: foldable1-classes-compat >= 0.1 && < 0.2
|
||||
|
||||
exposed-modules:
|
||||
Data.Biapplicative
|
||||
Data.Bifunctor.Biap
|
||||
Data.Bifunctor.Biff
|
||||
Data.Bifunctor.Clown
|
||||
Data.Bifunctor.Fix
|
||||
Data.Bifunctor.Flip
|
||||
Data.Bifunctor.Functor
|
||||
Data.Bifunctor.Join
|
||||
Data.Bifunctor.Joker
|
||||
Data.Bifunctor.Product
|
||||
Data.Bifunctor.Sum
|
||||
Data.Bifunctor.Tannen
|
||||
Data.Bifunctor.TH
|
||||
Data.Bifunctor.Wrapped
|
||||
|
||||
other-modules:
|
||||
Data.Bifunctor.TH.Internal
|
||||
|
||||
ghc-options: -Wall
|
||||
default-language: Haskell2010
|
||||
|
||||
if impl(ghc >= 9.0)
|
||||
-- these flags may abort compilation with GHC-8.10
|
||||
-- https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3295
|
||||
ghc-options: -Winferred-safe-imports -Wmissing-safe-haskell-mode
|
||||
|
||||
test-suite bifunctors-spec
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: tests
|
||||
main-is: Spec.hs
|
||||
other-modules: BifunctorSpec T89Spec
|
||||
ghc-options: -Wall
|
||||
if impl(ghc >= 8.6)
|
||||
ghc-options: -Wno-star-is-type
|
||||
default-language: Haskell2010
|
||||
build-tool-depends: hspec-discover:hspec-discover >= 1.8
|
||||
build-depends:
|
||||
base >= 4 && < 5,
|
||||
bifunctors,
|
||||
hspec >= 1.8,
|
||||
QuickCheck >= 2 && < 3,
|
||||
template-haskell,
|
||||
transformers,
|
||||
transformers-compat
|
||||
|
371
ghc-bifunctors.changes
Normal file
371
ghc-bifunctors.changes
Normal file
@ -0,0 +1,371 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 2 14:07:33 UTC 2025 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update bifunctors to version 5.6.2 revision 2.
|
||||
Upstream has revised the Cabal build instructions on Hackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 5 12:12:45 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update bifunctors to version 5.6.2 revision 1.
|
||||
Upstream has revised the Cabal build instructions on Hackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 19 10:13:08 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update bifunctors to version 5.6.2.
|
||||
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/bifunctors-5.6.2/src/CHANGELOG.markdown
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 17 15:47:42 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update bifunctors to version 5.6.1 revision 3.
|
||||
Upstream has revised the Cabal build instructions on Hackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 30 12:31:35 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update bifunctors to version 5.6.1 revision 2.
|
||||
5.6.1 [2023.03.13]
|
||||
------------------
|
||||
* Provide instances for the `Swap` and `Assoc` type classes from the `assoc`
|
||||
package. (These instances were previously defined in `assoc` itself, but they
|
||||
have been migrated over to `bifunctors` in tandem with the `assoc-1.1`
|
||||
release.)
|
||||
* Only depend on `bifunctor-classes-compat` if building with GHC 8.0.
|
||||
|
||||
5.6 [2023.03.12]
|
||||
----------------
|
||||
* Drop support for GHC 7.10 and earlier.
|
||||
* Move the `Data.Bifunctor`, `Data.Bifoldable`, and `Data.Bitraversable`
|
||||
compatibility modules to the new `bifunctor-classes-compat` package. For
|
||||
backwards compatibility, the `bifunctors` library re-exports
|
||||
`Data.Bifoldable` and `Data.Bitraversable` modules from
|
||||
`bifunctor-classes-compat` when building with GHC 8.0.
|
||||
|
||||
If your library depends on `bifunctors` and compiles with pre-8.2
|
||||
versions of GHC, be warned that it may be possible to construct a
|
||||
build plan involving a pre-`5.6` version of `bifunctors` where:
|
||||
|
||||
* Some of the `Bifunctor` instances come from
|
||||
`bifunctor-classes-compat`'s compatibility classes, and
|
||||
* Other `Bifunctor` instances come from `bifunctors`'s compatibility classes.
|
||||
|
||||
These compatibility classes are distinct, so this could lead to build errors
|
||||
under certain conditions. Some possible ways to mitigate this risk include:
|
||||
|
||||
* Drop support for GHC 8.0 and older in your library.
|
||||
* Require `bifunctors >= 5.6` in your library.
|
||||
* If neither of the options above are viable, then you can temporarily
|
||||
define instances for the old compatibility classes from `bifunctors` like
|
||||
so:
|
||||
|
||||
```hs
|
||||
-- For Bifunctor instances
|
||||
import qualified "bifunctor-classes-compat" Data.Bifunctor as BifunctorCompat
|
||||
#if !MIN_VERSION_bifunctors(5,6,0) && !MIN_VERSION_base(4,8,0)
|
||||
import qualified "bifunctors" Data.Bifunctor as Bifunctor
|
||||
#endif
|
||||
|
||||
instance BifunctorCompat.Bifunctor MyType where ...
|
||||
|
||||
#if !MIN_VERSION_bifunctors(5,6,0) && !MIN_VERSION_base(4,8,0)
|
||||
instance Bifunctor.Bifunctor MyType where ...
|
||||
#endif
|
||||
```
|
||||
|
||||
```hs
|
||||
-- For Bifoldable and Bitraversable instances
|
||||
import qualified "bifunctor-classes-compat" Data.Bifoldable as BifoldableCompat
|
||||
import qualified "bifunctor-classes-compat" Data.Bitraversable as BitraversableCompat
|
||||
#if !MIN_VERSION_bifunctors(5,6,0) && !MIN_VERSION_base(4,10,0)
|
||||
import qualified "bifunctors" Data.Bifoldable as Bifoldable
|
||||
import qualified "bifunctors" Data.Bitraversable as Bitraversable
|
||||
#endif
|
||||
|
||||
instance BifoldableCompat.Bifoldable MyType where ...
|
||||
instance BitraversableCompat.Bitraversable MyType where ...
|
||||
|
||||
#if !MIN_VERSION_bifunctors(5,6,0) && !MIN_VERSION_base(4,10,0)
|
||||
instance Bifoldable.Bifoldable MyType where ...
|
||||
instance Bitraversable.Bitraversable MyType where ...
|
||||
#endif
|
||||
```
|
||||
|
||||
If your package does nothing but define instances of `Bifunctor` _et al._,
|
||||
you may consider replacing your `bifunctors` dependency with
|
||||
`bifunctor-classes-compat` to reduce your dependency footprint. If you do,
|
||||
it is strongly recommended that you bump your package's major version number
|
||||
so that your users are alerted to the details of the migration.
|
||||
* Define a `Foldable1` instance for `Joker`, and define `Bifoldable1` instances
|
||||
for `Biff`, `Clown`, `Flip`, `Join`, `Joker`, `Product`, `Tannen`, and
|
||||
`WrappedBifunctor`. These instances were originally defined in the
|
||||
`semigroupoids` library, and they have now been migrated to `bifunctors` as
|
||||
a side effect of adapting to
|
||||
[this Core Libraries Proposal](https://github.com/haskell/core-libraries-committee/issues/9),
|
||||
which adds `Foldable1` and `Bifoldable1` to `base`.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 30 17:05:58 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 27 12:31:40 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update bifunctors to version 5.5.15.
|
||||
5.5.15 [2023.02.27]
|
||||
-------------------
|
||||
* Support `th-abstraction-0.5.*`.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 8 00:21:20 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update bifunctors to version 5.5.14.
|
||||
5.5.14 [2022.12.07]
|
||||
-------------------
|
||||
* Define `Functor`, `Foldable`, and `Traversable` instances for `Sum` and
|
||||
`Product`.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 12 23:34:21 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update bifunctors to version 5.5.13.
|
||||
5.5.13 [2022.09.12]
|
||||
-------------------
|
||||
* Make the `Biapplicative` instances for tuples lazy, to match their `Bifunctor`
|
||||
instances.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 23 18:25:27 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update bifunctors to version 5.5.12 revision 1.
|
||||
Upstream has revised the Cabal build instructions on Hackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 8 00:00:30 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update bifunctors to version 5.5.12.
|
||||
5.5.12 [2022.05.07]
|
||||
-------------------
|
||||
* Backport an upstream GHC change which removes the default implementation of
|
||||
`bitraverse`. Per the discussion in
|
||||
https://github.com/haskell/core-libraries-committee/issues/47, this default
|
||||
implementation was completely broken, as attempting to use it would always
|
||||
result in an infinite loop.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 4 08:17:55 UTC 2021 - psimons@suse.com
|
||||
|
||||
- Update bifunctors to version 5.5.11 revision 1.
|
||||
Upstream has revised the Cabal build instructions on Hackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 30 20:29:08 UTC 2021 - psimons@suse.com
|
||||
|
||||
- Update bifunctors to version 5.5.11.
|
||||
5.5.11 [2021.04.30]
|
||||
-------------------
|
||||
* Allow building with `template-haskell-2.18` (GHC 9.2).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 24 16:09:29 UTC 2021 - psimons@suse.com
|
||||
|
||||
- Update bifunctors to version 5.5.10.
|
||||
5.5.10 [2021.01.21]
|
||||
-------------------
|
||||
* Fix a bug in which `deriveBifoldable` could generate code that triggers
|
||||
`-Wunused-matches` warnings.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 30 17:53:28 UTC 2020 - psimons@suse.com
|
||||
|
||||
- Update bifunctors to version 5.5.9.
|
||||
5.5.9 [2020.12.30]
|
||||
------------------
|
||||
* Explicitly mark modules as Safe or Trustworthy.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
- disable %{ix86} build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 6 08:56:02 UTC 2020 - psimons@suse.com
|
||||
|
||||
- Update bifunctors to version 5.5.8.
|
||||
5.5.8 [2020.10.01]
|
||||
------------------
|
||||
* Fix a bug in which `deriveBifunctor` would fail on sufficiently complex uses
|
||||
of rank-n types in constructor fields.
|
||||
* Fix a bug in which `deriveBiunctor` and related functions would needlessly
|
||||
reject data types whose two last type parameters appear as oversaturated
|
||||
arguments to a type family.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 31 09:34:30 UTC 2020 - psimons@suse.com
|
||||
|
||||
- Update bifunctors to version 5.5.7 revision 1.
|
||||
Upstream has revised the Cabal build instructions on Hackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 18 10:44:08 UTC 2020 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Replace %setup -q with the more modern %autosetup macro.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 16 11:13:48 UTC 2020 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Re-generate file with latest version of spec-cleaner.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 7 08:04:05 UTC 2020 - psimons@suse.com
|
||||
|
||||
- Update bifunctors to version 5.5.7.
|
||||
5.5.7 [2020.01.29]
|
||||
------------------
|
||||
* Add `Data.Bifunctor.Biap`.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 27 03:00:47 UTC 2019 - psimons@suse.com
|
||||
|
||||
- Update bifunctors to version 5.5.6.
|
||||
5.5.6 [2019.11.26]
|
||||
------------------
|
||||
* Add `Category`, `Arrow`, `ArrowChoice`, `ArrowLoop`, `ArrowZero`, and
|
||||
`ArrowPlus` instances for `Data.Bifunctor.Product`.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 8 16:13:19 UTC 2019 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Drop obsolete group attributes.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 28 02:02:23 UTC 2019 - psimons@suse.com
|
||||
|
||||
- Update bifunctors to version 5.5.5.
|
||||
5.5.5 [2019.08.27]
|
||||
------------------
|
||||
* Add `Eq{1,2}`, `Ord{1,2}`, `Read{1,2}`, and `Show{1,2}` instances for data
|
||||
types in the `Data.Bifunctor.*` module namespace where possible. The
|
||||
operative phrase is "where possible" since many of these instances require
|
||||
the use of `Eq2`/`Ord2`/`Read2`/`Show2`, which are not avaiable when
|
||||
built against `transformers-0.4.*`.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 11 14:29:08 UTC 2019 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update Cabal file for more accurate build dependencies.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 30 09:23:08 UTC 2019 - psimons@suse.com
|
||||
|
||||
- Update bifunctors to version 5.5.4.
|
||||
5.5.4 [2019.04.26]
|
||||
------------------
|
||||
* Support `th-abstraction-0.3` or later.
|
||||
* Don't incur a `semigroup` dependency on recent GHCs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 20 11:31:13 UTC 2018 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Use https URL to refer to bugs.opensuse.org.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 18 14:26:15 UTC 2018 - psimons@suse.com
|
||||
|
||||
- Cosmetic: replace tabs with blanks, strip trailing white space,
|
||||
and update copyright headers with spec-cleaner.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 13 14:31:33 UTC 2018 - psimons@suse.com
|
||||
|
||||
- Update bifunctors to version 5.5.3.
|
||||
5.5.3 [2018.07.04]
|
||||
------------------
|
||||
* Make `biliftA2` a class method of `Biapplicative`.
|
||||
* Add the `traverseBia`, `sequenceBia`, and `traverseBiaWith` functions for
|
||||
traversing a `Traversable` container in a `Biapplicative`.
|
||||
* Avoid incurring some dependencies when using recent GHCs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 14 17:02:11 UTC 2018 - psimons@suse.com
|
||||
|
||||
- Update bifunctors to version 5.5.2 revision 2.
|
||||
* `Data.Bifunctor.TH` now derives `bimap`/`bitraverse`
|
||||
implementations for empty data types that are strict in the argument.
|
||||
* `Data.Bifunctor.TH` no longer derives `bifoldr`/`bifoldMap` implementations
|
||||
that error on empty data types. Instead, they simply return the folded state
|
||||
(for `bifoldr`) or `mempty` (for `bifoldMap`).
|
||||
* When using `Data.Bifunctor.TH` to derive `Bifunctor` or `Bitraversable`
|
||||
instances for data types where the last two type variables are at phantom
|
||||
roles, generated `bimap`/`bitraverse` implementations now use `coerce` for
|
||||
efficiency.
|
||||
* Add `Options` to `Data.Bifunctor.TH`, along with variants of existing
|
||||
functions that take `Options` as an argument. For now, the only configurable
|
||||
option is whether derived instances for empty data types should use the
|
||||
`EmptyCase` extension (this is disabled by default).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com
|
||||
|
||||
- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 24 12:26:43 UTC 2017 - psimons@suse.com
|
||||
|
||||
- Update to version 5.4.2 with cabal2obs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 8 10:59:30 UTC 2016 - psimons@suse.com
|
||||
|
||||
- Update to version 5.4.1 revision 1 with cabal2obs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 15 07:09:13 UTC 2016 - psimons@suse.com
|
||||
|
||||
- Update to version 5.4.1 revision 0 with cabal2obs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 10 17:23:21 UTC 2016 - psimons@suse.com
|
||||
|
||||
- Update to version 5.2 revision 0 with cabal2obs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 20 08:55:42 UTC 2016 - mimi.vx@gmail.com
|
||||
|
||||
- update to 5.2
|
||||
* dded several Arrow-like instances for Tannen so we can use it as the Cayley
|
||||
construction if needed.
|
||||
* Added Data.Bifunctor.Sum
|
||||
* Added BifunctorFunctor, BifunctorMonad and BifunctorComonad.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 17 10:34:03 UTC 2015 - mimi.vx@gmail.com
|
||||
|
||||
- update to 5.1
|
||||
* Added Data.Bifunctor.Fix
|
||||
* Added Data.Bifunctor.TH, which permits TemplateHaskell-based deriving
|
||||
of Bifunctor, Bifoldable and Bitraversable instances.
|
||||
* Simplified Bitraversable.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 6 19:08:19 UTC 2015 - mimi.vx@gmail.com
|
||||
|
||||
- update to version 5
|
||||
* Inverted the dependency on semigroupoids. We can support a much wider array of base
|
||||
versions than it can.
|
||||
* Added flags
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 21 06:33:23 UTC 2015 - mimi.vx@gmail.com
|
||||
|
||||
- correct licence to BSD-2-Clause
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 26 17:31:01 UTC 2015 - mimi.vx@gmail.com
|
||||
|
||||
- initial commit
|
117
ghc-bifunctors.spec
Normal file
117
ghc-bifunctors.spec
Normal file
@ -0,0 +1,117 @@
|
||||
#
|
||||
# spec file for package ghc-bifunctors
|
||||
#
|
||||
# Copyright (c) 2025 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 bifunctors
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
%bcond_with tests
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 5.6.2
|
||||
Release: 0
|
||||
Summary: Collection Haskell 98 bifunctors, bifoldables and bitraversables
|
||||
License: BSD-2-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/2.cabal#/%{pkg_name}.cabal
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-assoc-devel
|
||||
BuildRequires: ghc-assoc-prof
|
||||
BuildRequires: ghc-base-devel
|
||||
BuildRequires: ghc-base-prof
|
||||
BuildRequires: ghc-comonad-devel
|
||||
BuildRequires: ghc-comonad-prof
|
||||
BuildRequires: ghc-containers-devel
|
||||
BuildRequires: ghc-containers-prof
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-tagged-devel
|
||||
BuildRequires: ghc-tagged-prof
|
||||
BuildRequires: ghc-template-haskell-devel
|
||||
BuildRequires: ghc-template-haskell-prof
|
||||
BuildRequires: ghc-th-abstraction-devel
|
||||
BuildRequires: ghc-th-abstraction-prof
|
||||
BuildRequires: ghc-transformers-devel
|
||||
BuildRequires: ghc-transformers-prof
|
||||
ExcludeArch: %{ix86}
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-QuickCheck-devel
|
||||
BuildRequires: ghc-QuickCheck-prof
|
||||
BuildRequires: ghc-hspec-devel
|
||||
BuildRequires: ghc-hspec-prof
|
||||
BuildRequires: ghc-transformers-compat-devel
|
||||
BuildRequires: ghc-transformers-compat-prof
|
||||
%endif
|
||||
|
||||
%description
|
||||
Bifunctor, bifoldable, and bitraversable instances for Haskell 98.
|
||||
|
||||
%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.markdown README.markdown
|
||||
|
||||
%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…
x
Reference in New Issue
Block a user