pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/hs-transformers-compat Update transformers-compa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a291d437d1a0
branches:  trunk
changeset: 420092:a291d437d1a0
user:      pho <pho%pkgsrc.org@localhost>
date:      Tue Dec 31 16:09:01 2019 +0000

description:
Update transformers-compat to 0.6.5

0.6.5 [2019.05.11]
* Ensure that the backported MonadFail instance for ExceptT is
  available when built against transformers-0.4.*.

0.6.4 [2019.04.01]
* Use more conservative CPP to guard the backported MonadFix instance
  for ListT.

0.6.3 [2019.04.01]
* Backport changes from transformers-0.5.6.*:
  * Backport the MonadFix instance for ListT in
    Control.Monad.Trans.Instances.
  * Generalize the type of except in Control.Monad.Trans.Except.
* Backport MonadFail instances for AccumT, Reverse, and SelectT on
  pre-8.0 versions of GHC by depending on the fail package if
  necessary.
* Backport MonadFail instances for monad transformer types in
  Control.Monad.Trans.Instances.

0.6.2
* transformers-compat now uses automatic flags instead of manual
  ones. This has a number of benefits:
  * There is no need for making several simultaneous releases to
    support each flag combination.
  * As a result, the cabal-install constraint solver should have a
    much easier time figuring out install-plans involving
    transformers-compat.
* Due to old cabal-install bugs, cabal-install-1.16 and older may have
  a harder time installing this package, so it is recommended that you
  use cabal-install-1.18 or later. (Or, if you must use
  cabal-install-1.16 or older, installing transformers-compat with the
  appropriate flags should help.)

0.6.1.6
0.6.1.5
0.6.1.4
0.6.1.3
0.6.1.2
* Each of versions 0.6.1.2?0.6.1.6 is a 0.6.1 build with a different
  set of flags configured. Building this way allows us to work around
  bugs in cabal's backtracker. The 0.6.1 release notes describe the
  changes in this version. This release is configured with -ftwo
  (which works with the transformers-0.2 series).

0.6.1
* Fix an oversight in which the Control.Monad.Trans.Accum and
  Control.Monad.Trans.Select modules were not backported when built
  with the -ffour flag.

0.6.0.6
0.6.0.5
0.6.0.4
0.6.0.3
0.6.0.2
* Each of versions 0.6.0.2?0.6.0.6 is a 0.6 build with a different set
  of flags configured. Building this way allows us to work around bugs
  in cabal's backtracker. The 0.6 release notes describe the changes
  in this version. This release is configured with -ftwo (which works
  with the transformers-0.2 series).

0.6
* Introduce the Data.Functor.Classes.Generic module, which provides
  functions that can generically implement methods in the Eq1, Ord1,
  Read1, and Show1 classes (without the usual boilerplate involved).
* Introduce the generic-deriving flag. When enabled,
  transformers-compat will depend on the generic-deriving library on
  older versions of GHC to backport GHC.Generics support for Generic
  instances and the machinery in Data.Functor.Classes.Generic.
* Some instances were present in Data.Functor.Sum but not in
  Control.Monad.Trans.Instances (e.g., the Generic, Typeable, and Data
  instances for Sum). This has been fixed.
* Backport changes from transformers-0.5.5:
  * Backport the Semigroup instance for Constant
  * Add mapSelect and mapSelectT
  * Define selectToContT (and deprecate selectToCont in favor of that)
  * Define some explicit (*>) definitions to avoid space leaks
* Backport changes from transformers-0.5.4 (i.e., add Bifoldable and
  Bitraversable instances for Data.Functor.Constant)
* Backport changes from transformers-0.5.3:
  * Backport the Control.Monad.Trans.Accum and
    Control.Monad.Trans.Select modules
  * Backport the eitherToErrors and elimLift functions to
    Control.Applicative.Lift
  * Backport Bits, FiniteBits, IsString, Num, Real, Integral,
    Fractional, Floating, RealFrac, and RealFloat instances for
    Data.Functor.Identity
  * Backport Monad, MonadFail, and MonadPlus instances for
    Data.Functor.Reverse
  * Backport Eq1, Ord1, Read1, and Show1 instances for Data.Proxy
* Backport changes from transformers-0.5.2 (i.e., add more INLINE
  annotations)
* Backport changes from transformers-0.5.1 (i.e., add Bounded, Enum,
  Ix, and Storable instances for Identity)

0.5.1.4
0.5.1.3
0.5.1.2
* Each of versions 0.5.1.2?0.5.1.4 is a 0.5.1 build with a different
  set of flags configured. Building this way allows us to work around
  bugs in cabal's backtracker. The 0.5.1 release notes describe the
  changes in this version. This release is configured with -ftwo
  (which works with the transformers-0.2 series).

0.5.1
* Fix a bug in which PolyKinds was enabled on GHC 7.4, resulting in
  interface file bugs on that version of GHC.

0.5.0.4
0.5.0.3
0.5.0.2
* Each of versions 0.5.0.2?0.5.0.4 is a 0.5 build with a different set
  of flags configured. Building this way allows us to work around bugs
  in cabal's backtracker. The 0.5 release notes describe the changes
  in this version. This release is configured with -ftwo (which works
  with the transformers-0.2 series).

0.5
* Update transformers-compat to incorporate changes from the
  transformers-0.5 series. These changes include:
  * The Data.Functor.Classes module was completely redesigned.
  * Modules now have Safe or Trustworthy annotations.
  * Data types and type synonyms are poly-kinded when possible.
* Add Control.Monad.Trans.Instances, a module of orphan instances that
  mimic instances available in later versions of transformers.

0.4.0.4
0.4.0.3
0.4.0.2
* Each of versions 0.4.0.2?0.4.0.4 is a 0.4 build with a different set
  of flags configured. Building this way allows us to work around bugs
  in cabal's backtracker. The 0.4 release notes describe the changes
  in this version. This release is configured with -ftwo (which works
  with the transformers-0.2 series).

0.4
Added support for the missing ExceptT instances from mtl.

This was not done lightly. While this means that by default incurring
a dependency on transformers-compat drags in mtl when you are using an
old transformers, it means that users do not have to orphan these
instances and permits wider adoption of ExceptT.

If you absolutely can't stand mtl and really want this package to
build as valid Haskell98, then you can use cabal install
transformers-compat -f-mtl to avoid incurring the dependency to get
these instances. However, that is effectively an unsupported
configuration.

0.3.3.4
0.3.3.3
0.3.3.2
* Versions 0.3.3.2?0.3.3.4 were a successful attempt to fix build
  problems caused by the cabal backtracker. Each of these is a build
  with a different set of flags configured. This release is configured
  with -ftwo (which works with the transformers-0.2 series).

diffstat:

 devel/hs-transformers-compat/Makefile      |   8 ++++----
 devel/hs-transformers-compat/PLIST         |  17 -----------------
 devel/hs-transformers-compat/buildlink3.mk |   8 +++++---
 devel/hs-transformers-compat/distinfo      |  10 +++++-----
 4 files changed, 14 insertions(+), 29 deletions(-)

diffs (81 lines):

diff -r 75c4f7d6c1ad -r a291d437d1a0 devel/hs-transformers-compat/Makefile
--- a/devel/hs-transformers-compat/Makefile     Tue Dec 31 15:50:06 2019 +0000
+++ b/devel/hs-transformers-compat/Makefile     Tue Dec 31 16:09:01 2019 +0000
@@ -1,14 +1,14 @@
-# $NetBSD: Makefile,v 1.2 2014/11/23 12:52:32 szptvlfn Exp $
+# $NetBSD: Makefile,v 1.3 2019/12/31 16:09:01 pho Exp $
 
-DISTNAME=      transformers-compat-0.3.3
-PKGREVISION=   1
+DISTNAME=      transformers-compat-0.6.5
 CATEGORIES=    devel
 
 MAINTAINER=    szptvlfn%NetBSD.org@localhost
 COMMENT=       Small compatibility shim exposing the new types
 LICENSE=       modified-bsd
 
-
 .include "../../mk/haskell.mk"
+.include "../../devel/hs-fail/buildlink3.mk"
+.include "../../devel/hs-generic-deriving/buildlink3.mk"
 .include "../../devel/hs-transformers/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 75c4f7d6c1ad -r a291d437d1a0 devel/hs-transformers-compat/PLIST
--- a/devel/hs-transformers-compat/PLIST        Tue Dec 31 15:50:06 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2014/05/26 22:04:11 szptvlfn Exp $
-lib/transformers-compat-${PKGVERSION}/${HASKELL_VERSION}/HStransformers-compat-${PKGVERSION}.o
-lib/transformers-compat-${PKGVERSION}/${HASKELL_VERSION}/Paths_transformers_compat.hi
-lib/transformers-compat-${PKGVERSION}/${HASKELL_VERSION}/libHStransformers-compat-${PKGVERSION}.a
-lib/transformers-compat-${PKGVERSION}/${HASKELL_VERSION}/package-description
-share/doc/transformers-compat-${PKGVERSION}/LICENSE
-${PLIST.doc}share/doc/transformers-compat-${PKGVERSION}/html/doc-index.html
-${PLIST.doc}share/doc/transformers-compat-${PKGVERSION}/html/frames.html
-${PLIST.doc}share/doc/transformers-compat-${PKGVERSION}/html/haddock-util.js
-${PLIST.doc}share/doc/transformers-compat-${PKGVERSION}/html/hslogo-16.png
-${PLIST.doc}share/doc/transformers-compat-${PKGVERSION}/html/index-frames.html
-${PLIST.doc}share/doc/transformers-compat-${PKGVERSION}/html/index.html
-${PLIST.doc}share/doc/transformers-compat-${PKGVERSION}/html/minus.gif
-${PLIST.doc}share/doc/transformers-compat-${PKGVERSION}/html/ocean.css
-${PLIST.doc}share/doc/transformers-compat-${PKGVERSION}/html/plus.gif
-${PLIST.doc}share/doc/transformers-compat-${PKGVERSION}/html/synopsis.png
-${PLIST.doc}share/doc/transformers-compat-${PKGVERSION}/html/transformers-compat.haddock
diff -r 75c4f7d6c1ad -r a291d437d1a0 devel/hs-transformers-compat/buildlink3.mk
--- a/devel/hs-transformers-compat/buildlink3.mk        Tue Dec 31 15:50:06 2019 +0000
+++ b/devel/hs-transformers-compat/buildlink3.mk        Tue Dec 31 16:09:01 2019 +0000
@@ -1,14 +1,16 @@
-# $NetBSD: buildlink3.mk,v 1.3 2014/11/23 12:52:32 szptvlfn Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2019/12/31 16:09:01 pho Exp $
 
 BUILDLINK_TREE+=       hs-transformers-compat
 
 .if !defined(HS_TRANSFORMERS_COMPAT_BUILDLINK3_MK)
 HS_TRANSFORMERS_COMPAT_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.hs-transformers-compat+= hs-transformers-compat>=0.3.3
-BUILDLINK_ABI_DEPENDS.hs-transformers-compat+= hs-transformers-compat>=0.3.3nb1
+BUILDLINK_API_DEPENDS.hs-transformers-compat+= hs-transformers-compat>=0.6.5
+BUILDLINK_ABI_DEPENDS.hs-transformers-compat+= hs-transformers-compat>=0.6.5
 BUILDLINK_PKGSRCDIR.hs-transformers-compat?=   ../../devel/hs-transformers-compat
 
+.include "../../devel/hs-fail/buildlink3.mk"
+.include "../../devel/hs-generic-deriving/buildlink3.mk"
 .include "../../devel/hs-transformers/buildlink3.mk"
 .endif # HS_TRANSFORMERS_COMPAT_BUILDLINK3_MK
 
diff -r 75c4f7d6c1ad -r a291d437d1a0 devel/hs-transformers-compat/distinfo
--- a/devel/hs-transformers-compat/distinfo     Tue Dec 31 15:50:06 2019 +0000
+++ b/devel/hs-transformers-compat/distinfo     Tue Dec 31 16:09:01 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 03:27:34 agc Exp $
+$NetBSD: distinfo,v 1.3 2019/12/31 16:09:01 pho Exp $
 
-SHA1 (transformers-compat-0.3.3.tar.gz) = bc9944771ee129e26df0b1c08624c331f9258fa8
-RMD160 (transformers-compat-0.3.3.tar.gz) = e2a202de14f0576e0cd8a7b27cd4eb45812e8f97
-SHA512 (transformers-compat-0.3.3.tar.gz) = 6a961ae8fc31ab6c093b4eafc89f2720d9fd47a2af172653feace43a604899d00838e077bdbacd093474136b2d1f71259f5345683b4636e6caab4b7bbfd63f9d
-Size (transformers-compat-0.3.3.tar.gz) = 11081 bytes
+SHA1 (transformers-compat-0.6.5.tar.gz) = 87ef9d8699d786599a72eb2eb5f7d6335ee51349
+RMD160 (transformers-compat-0.6.5.tar.gz) = c0af2e8d2fdc91618e48deb573791b0aac778e74
+SHA512 (transformers-compat-0.6.5.tar.gz) = 86ce6e81baf4e71cc4ac854066543a8777628ae67182e8059e582754608b279a053f7f98a539ec5cc07e1771d8173a6de6ebe5df4eee2b4c41278734774c3958
+Size (transformers-compat-0.6.5.tar.gz) = 40421 bytes



Home | Main Index | Thread Index | Old Index