head	1.13;
access;
symbols
	pkgsrc-2026Q3:1.13.0.10
	pkgsrc-2026Q3-base:1.13
	pkgsrc-2026Q2:1.13.0.8
	pkgsrc-2026Q2-base:1.13
	pkgsrc-2026Q1:1.13.0.6
	pkgsrc-2026Q1-base:1.13
	pkgsrc-2025Q4:1.13.0.4
	pkgsrc-2025Q4-base:1.13
	pkgsrc-2025Q3:1.13.0.2
	pkgsrc-2025Q3-base:1.13
	pkgsrc-2025Q2:1.12.0.4
	pkgsrc-2025Q2-base:1.12
	pkgsrc-2025Q1:1.12.0.2
	pkgsrc-2025Q1-base:1.12
	pkgsrc-2024Q4:1.10.0.6
	pkgsrc-2024Q4-base:1.10
	pkgsrc-2024Q3:1.10.0.4
	pkgsrc-2024Q3-base:1.10
	pkgsrc-2024Q2:1.10.0.2
	pkgsrc-2024Q2-base:1.10
	pkgsrc-2024Q1:1.8.0.4
	pkgsrc-2024Q1-base:1.8
	pkgsrc-2023Q4:1.8.0.2
	pkgsrc-2023Q4-base:1.8
	pkgsrc-2023Q3:1.5.0.6
	pkgsrc-2023Q3-base:1.5
	pkgsrc-2023Q2:1.5.0.4
	pkgsrc-2023Q2-base:1.5
	pkgsrc-2023Q1:1.5.0.2
	pkgsrc-2023Q1-base:1.5
	pkgsrc-2022Q4:1.4.0.4
	pkgsrc-2022Q4-base:1.4
	pkgsrc-2022Q3:1.4.0.2
	pkgsrc-2022Q3-base:1.4
	pkgsrc-2022Q2:1.2.0.4
	pkgsrc-2022Q2-base:1.2
	pkgsrc-2022Q1:1.2.0.2
	pkgsrc-2022Q1-base:1.2;
locks; strict;
comment	@# @;


1.13
date	2025.08.13.11.06.25;	author pho;	state Exp;
branches;
next	1.12;
commitid	oGqtJTKdyCfCKy6G;

1.12
date	2025.03.05.03.38.57;	author pho;	state Exp;
branches;
next	1.11;
commitid	VPkRDaZT4MoYrPLF;

1.11
date	2025.02.02.13.04.52;	author pho;	state Exp;
branches;
next	1.10;
commitid	Zl7FwsffomOQzTHF;

1.10
date	2024.05.09.01.31.41;	author pho;	state Exp;
branches;
next	1.9;
commitid	zmOkUK6EkFT4og9F;

1.9
date	2024.05.03.17.35.25;	author pho;	state Exp;
branches;
next	1.8;
commitid	U4SljKXjIn5ZUz8F;

1.8
date	2023.11.02.06.36.12;	author pho;	state Exp;
branches;
next	1.7;
commitid	dPkTdcIqhE4k90LE;

1.7
date	2023.10.30.18.55.53;	author pho;	state Exp;
branches;
next	1.6;
commitid	fn0o8eTXXVGglGKE;

1.6
date	2023.10.09.04.54.03;	author pho;	state Exp;
branches;
next	1.5;
commitid	GWJENRm2aeL7mUHE;

1.5
date	2023.02.07.01.40.23;	author pho;	state Exp;
branches;
next	1.4;
commitid	FngQneW4VvkL7xcE;

1.4
date	2022.08.28.21.38.42;	author mef;	state Exp;
branches;
next	1.3;
commitid	uEQ2beDzlxGZZGRD;

1.3
date	2022.08.20.08.08.12;	author wiz;	state Exp;
branches;
next	1.2;
commitid	gfUtMrzKtoUPLAQD;

1.2
date	2022.02.26.03.57.45;	author pho;	state Exp;
branches;
next	1.1;
commitid	YpGygpH4CsFi05uD;

1.1
date	2022.02.16.10.01.34;	author pho;	state Exp;
branches;
next	;
commitid	3NbfiSE68wMylPsD;


desc
@@


1.13
log
@Bump all Haskell because lang/ghc910 has got a library change
@
text
@# $NetBSD: Makefile,v 1.12 2025/03/05 03:38:57 pho Exp $

DISTNAME=	lens-aeson-1.2.3
PKGREVISION=	5
CATEGORIES=	converters

MAINTAINER=	pkgsrc-users@@NetBSD.org
COMMENT=	Law-abiding lenses for aeson
LICENSE=	mit

HASKELL_UNRESTRICT_DEPENDENCIES+=	\
	bytestring	\
	text

.include "../../converters/hs-aeson/buildlink3.mk"
.include "../../devel/hs-lens/buildlink3.mk"
.include "../../math/hs-scientific/buildlink3.mk"
.include "../../textproc/hs-text-short/buildlink3.mk"
.include "../../devel/hs-unordered-containers/buildlink3.mk"
.include "../../devel/hs-vector/buildlink3.mk"
.include "../../mk/haskell.mk"
.include "../../mk/bsd.pkg.mk"
@


1.12
log
@recursive revbump after patching lang/ghc910
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2025/02/02 13:04:52 pho Exp $
d4 1
a4 1
PKGREVISION=	4
@


1.11
log
@Bump all Haskell packages after switching the default compiler.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2024/05/09 01:31:41 pho Exp $
d4 1
a4 1
PKGREVISION=	3
@


1.10
log
@Recursive revbump after changing the default Haskell compiler
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2024/05/03 17:35:25 pho Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.9
log
@converters/hs-lens-aeson: Fix build with GHC 9.8

This breaks build with the currently default GHC 9.6. Please bear with me
until I switch the default compiler.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2023/11/02 06:36:12 pho Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.8
log
@Revbump all Haskell after updating lang/ghc96
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2023/10/30 18:55:53 pho Exp $
d11 4
@


1.7
log
@converters/hs-lens-aeson: Update to 1.2.3

1.2.3 [2023.06.27]
* Use aeson's decode function in the AsJSON instance for ByteStrings. This
  allows removing a direct dependency on attoparsec.
* Allow building with aeson-2.2.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2023/10/09 04:54:03 pho Exp $
d4 1
@


1.6
log
@Bump Haskell packages after updating lang/ghc94
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2023/02/07 01:40:23 pho Exp $
d3 1
a3 2
DISTNAME=	lens-aeson-1.2.2
PKGREVISION=	2
a10 1
.include "../../textproc/hs-attoparsec/buildlink3.mk"
d13 1
@


1.5
log
@revbump all the Haskell packages after modifying the runtime system of lang/ghc94
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2022/08/28 21:38:42 mef Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.4
log
@(converters/hs-lens-aeson) Updated 1.1.3 to 1.2.2

1.2.2 [2022.08.11]
------------------
* Add `atKey :: AsValue t => Key -> Traversal' t (Maybe Value)`, a variant of
  `key` that uses `at` instead of `ix`.

1.2.1 [2022.05.07]
------------------
* Change the `IsKey` instances for `ByteString`s to use
  `decodeUtf8With lenientDecode` instead of `decodeUtf8`. While these `IsKey`
  instances are meant to used for interoperability with `aeson` values that
  are UTF-8–encoded, using `decodeUtf8With lenientDecode` at least ensures
  that converting a non–UTF-8–encoded `ByteString` will not crash.

1.2 [2022.03.19]
----------------
* Require `aeson-2.0.2.*` and `lens-5.0.*` or greater.
* Change the types of `_Object`, `key`, and `members`:

  ```diff
  -_Object :: Prism' t (HashMap Text Value)
  +_Object :: Prism' t (KeyMap Value)

  -key :: AsValue t => Text -> Traversal' t Value
  +key :: AsValue t => Key  -> Traversal' t Value

  -members :: AsValue t => IndexedTraversal' Text t Value
  +members :: AsValue t => IndexedTraversal' Key  t Value
  ```

  This mirrors similar changes made in `aeson-2.0.*`, where the type of
  `Object`'s field was changed from `HashMap Text Value` to `KeyMap Value`.

  The `Ixed Value` instance changes similarly:

  ```diff
  -type instance Index Value = Text
  +type instance Index Value = Key
  ```
* Remove `Primitive` and `AsPrimitive`, since https://tools.ietf.org/html/rfc7159
  de-emphasized the notion of primitive versus composite JSON values.
  * The `AsPrimitive` methods (`_Value`, `_String`, and `_Bool`) are now
    `AsValue` methods.
  * `_Number`'s default signature, `Bool_`, `String_`, and `Null_` now have an
    `AsValue` constraint.
* Add `Wrapped` and `Rewrapped` instances for `KeyMap`. These treat `KeyMap v`
  as a wrapper around `[(Key, v)]`. The order in which the key-value pairs
  appear in this list is not stable.
* Add an `IsKey` class, whose method `_Key` is an `Iso` for converting values
  to and from a `Key`.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2022/08/20 08:08:12 wiz Exp $
d4 1
@


1.3
log
@hs*: recursive bump for new dependencies needed

for hs-aeson, hs-vector
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2022/02/26 03:57:45 pho Exp $
d3 1
a3 2
DISTNAME=	lens-aeson-1.1.3
PKGREVISION=	2
@


1.2
log
@Bump all Haskell packages after enabling "split sections" in mk/haskell.mk
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2022/02/16 10:01:34 pho Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.1
log
@converters/hs-lens-aeson: import hs-lens-aeson-1.1.3

The goal of lens-aeson is to provide traversals and prisms for the Aeson
library's Value type, while obeying the Traversal/Prism laws.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2022/02/12 08:50:33 pho Exp $
d4 1
@

