head	1.19;
access;
symbols
	pkgsrc-2026Q1:1.19.0.2
	pkgsrc-2026Q1-base:1.19
	pkgsrc-2025Q4:1.18.0.6
	pkgsrc-2025Q4-base:1.18
	pkgsrc-2025Q3:1.18.0.4
	pkgsrc-2025Q3-base:1.18
	pkgsrc-2025Q2:1.18.0.2
	pkgsrc-2025Q2-base:1.18
	pkgsrc-2025Q1:1.17.0.2
	pkgsrc-2025Q1-base:1.17
	pkgsrc-2024Q4:1.15.0.2
	pkgsrc-2024Q4-base:1.15
	pkgsrc-2024Q3:1.14.0.2
	pkgsrc-2024Q3-base:1.14
	pkgsrc-2024Q2:1.13.0.4
	pkgsrc-2024Q2-base:1.13
	pkgsrc-2024Q1:1.13.0.2
	pkgsrc-2024Q1-base:1.13
	pkgsrc-2023Q4:1.12.0.6
	pkgsrc-2023Q4-base:1.12
	pkgsrc-2023Q3:1.12.0.4
	pkgsrc-2023Q3-base:1.12
	pkgsrc-2023Q2:1.12.0.2
	pkgsrc-2023Q2-base:1.12
	pkgsrc-2023Q1:1.11.0.6
	pkgsrc-2023Q1-base:1.11
	pkgsrc-2022Q4:1.11.0.4
	pkgsrc-2022Q4-base:1.11
	pkgsrc-2022Q3:1.11.0.2
	pkgsrc-2022Q3-base:1.11
	pkgsrc-2022Q2:1.10.0.4
	pkgsrc-2022Q2-base:1.10
	pkgsrc-2022Q1:1.10.0.2
	pkgsrc-2022Q1-base:1.10
	pkgsrc-2021Q4:1.9.0.14
	pkgsrc-2021Q4-base:1.9
	pkgsrc-2021Q3:1.9.0.12
	pkgsrc-2021Q3-base:1.9
	pkgsrc-2021Q2:1.9.0.10
	pkgsrc-2021Q2-base:1.9
	pkgsrc-2021Q1:1.9.0.8
	pkgsrc-2021Q1-base:1.9
	pkgsrc-2020Q4:1.9.0.6
	pkgsrc-2020Q4-base:1.9
	pkgsrc-2020Q3:1.9.0.4
	pkgsrc-2020Q3-base:1.9
	pkgsrc-2020Q2:1.9.0.2
	pkgsrc-2020Q2-base:1.9
	pkgsrc-2020Q1:1.8.0.2
	pkgsrc-2020Q1-base:1.8
	pkgsrc-2019Q4:1.8.0.4
	pkgsrc-2019Q4-base:1.8
	pkgsrc-2019Q3:1.7.0.4
	pkgsrc-2019Q3-base:1.7
	pkgsrc-2019Q2:1.7.0.2
	pkgsrc-2019Q2-base:1.7
	pkgsrc-2019Q1:1.6.0.4
	pkgsrc-2019Q1-base:1.6
	pkgsrc-2018Q4:1.6.0.2
	pkgsrc-2018Q4-base:1.6
	pkgsrc-2018Q3:1.5.0.2
	pkgsrc-2018Q3-base:1.5
	pkgsrc-2018Q2:1.1.0.2
	pkgsrc-2018Q2-base:1.1;
locks; strict;
comment	@# @;


1.19
date	2026.02.04.16.14.08;	author adam;	state Exp;
branches;
next	1.18;
commitid	kJQKHdmimZ8BP4tG;

1.18
date	2025.04.12.10.17.52;	author adam;	state Exp;
branches;
next	1.17;
commitid	0PCaPzWCr2ujrKQF;

1.17
date	2025.01.27.10.04.30;	author adam;	state Exp;
branches;
next	1.16;
commitid	TW6PT7lxsNQ7M6HF;

1.16
date	2025.01.07.11.37.44;	author adam;	state Exp;
branches;
next	1.15;
commitid	wbGD9iU8cEIYVxEF;

1.15
date	2024.11.11.07.28.06;	author wiz;	state Exp;
branches;
next	1.14;
commitid	1fBDq3LwS98NncxF;

1.14
date	2024.09.15.15.36.51;	author adam;	state Exp;
branches;
next	1.13;
commitid	6M8iGanNMRP9VUpF;

1.13
date	2024.01.28.21.18.46;	author adam;	state Exp;
branches;
next	1.12;
commitid	bhtWZqs6gbmHegWE;

1.12
date	2023.05.02.17.15.11;	author wiz;	state Exp;
branches;
next	1.11;
commitid	ZTRH4TiZogDqBpnE;

1.11
date	2022.08.24.08.41.08;	author wiz;	state Exp;
branches;
next	1.10;
commitid	EM4lXKDNnqIgP6RD;

1.10
date	2022.01.04.20.53.00;	author wiz;	state Exp;
branches;
next	1.9;
commitid	CYyhdK9qtoffkmnD;

1.9
date	2020.05.16.09.09.04;	author adam;	state Exp;
branches;
next	1.8;
commitid	lbV780UY4myZEr8C;

1.8
date	2019.12.14.10.52.18;	author adam;	state Exp;
branches;
next	1.7;
commitid	0nAXEdWFqyWcbFOB;

1.7
date	2019.05.22.21.00.04;	author adam;	state Exp;
branches;
next	1.6;
commitid	UDv8a1kOR3AcafoB;

1.6
date	2018.11.21.11.01.55;	author adam;	state Exp;
branches;
next	1.5;
commitid	uAN6m20RKAZHHN0B;

1.5
date	2018.08.14.07.32.04;	author adam;	state Exp;
branches;
next	1.4;
commitid	dnxaR0spGnC5J3OA;

1.4
date	2018.08.05.12.46.42;	author adam;	state Exp;
branches;
next	1.3;
commitid	LmyQSPxffgVSKVMA;

1.3
date	2018.07.20.09.42.54;	author adam;	state Exp;
branches;
next	1.2;
commitid	8VgkvRwicyXNfRKA;

1.2
date	2018.07.14.19.05.58;	author adam;	state Exp;
branches;
next	1.1;
commitid	HniXmik8GJpVy8KA;

1.1
date	2018.05.23.09.28.30;	author adam;	state Exp;
branches;
next	;
commitid	1NoAr2mb74or2pDA;


desc
@@


1.19
log
@py-dash: updated to 8.0.6

v8.0.6 (2026-01-17)
- Prevent access to object paths containing ``__globals__`` or ``__builtins__`` in ``invoke(). Attempting to access these keys will raise a ``KeyError``.
@
text
@# $NetBSD: Makefile,v 1.18 2025/04/12 10:17:52 adam Exp $

DISTNAME=	pydash-8.0.6
PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/^py//}
CATEGORIES=	devel python
MASTER_SITES=	${MASTER_SITE_PYPI:=p/pydash/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/dgilland/pydash
COMMENT=	Python utility libraries for doing stuff in a functional way
LICENSE=	mit

TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
DEPENDS+=	${PYPKGPREFIX}-typing-extensions>=4.6.1:../../devel/py-typing-extensions
TEST_DEPENDS+=	${PYPKGPREFIX}-invoke-[0-9]*:../../sysutils/py-invoke
TEST_DEPENDS+=	${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
TEST_DEPENDS+=	${PYPKGPREFIX}-test-mypy-testing-[0-9]*:../../devel/py-test-mypy-testing

USE_LANGUAGES=	# none

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.18
log
@Fix PLIST after py-setuptools update; bump depends and revision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2025/01/27 10:04:30 adam Exp $
d3 1
a3 1
DISTNAME=	pydash-8.0.5
a4 1
PKGREVISION=	1
@


1.17
log
@py-dash: updated to 8.0.5

8.0.5
- Fix bug that could result in passing too many arguments to callback functions when the callback contained a var-keyword or keyword-only arguments.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2025/01/07 11:37:44 adam Exp $
d5 1
d14 1
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=61.0.:../../devel/py-setuptools
@


1.16
log
@py-dash: updated to 8.0.4

v8.0.4 (2024-11-04)

- Fix bug in ``zip_object`` and ``zip_object_deep`` where an empty list for keys/values would cause an exception instead of returning an empty dict.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2024/11/11 07:28:06 wiz Exp $
d3 1
a3 1
DISTNAME=	pydash-8.0.4
@


1.15
log
@py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2024/09/15 15:36:51 adam Exp $
d3 1
a3 1
DISTNAME=	pydash-8.0.3
d17 1
@


1.14
log
@py-dash: updated to 8.0.3

v8.0.3 (2024-07-22)

- Specify explicit type parameters for all type annotations. Thanks DeviousStoat_!


v8.0.2 (2024-07-21)

- Fix typing issue in ``map_`` for compatability with ``chain``. Thanks DeviousStoat_!


v8.0.1 (2024-04-26)

- Fix issue where too many arguments were passed to stdlib's ``operator.attrgetter``, ``operator.itemgetter``, and ``operator.methodcaller`` when instances of those classes were used as callbacks to functions like ``map_``, ``filter_``, etc. due to a bug introduced in Python 3.12.3 and 3.11.9 that reported an incorrect signature for those ``operator`` class instances.


v8.0.0 (2024-03-26)

- Add functions (Thanks DeviousStoat_!):

  - ``apply`` (previously named ``thru``)
  - ``apply_catch``
  - ``apply_if``
  - ``apply_if_not_none``
  - ``eq_cmp``
  - ``gt_cmp``
  - ``gte_cmp``
  - ``in_range_cmp``
  - ``is_equal_cmp``
  - ``is_equal_with_cmp``
  - ``is_instance_of_cmp``
  - ``is_match_cmp``
  - ``is_match_with_cmp``
  - ``is_monotone_cmp``
  - ``lt_cmp``
  - ``lte_cmp``

- Rename function ``thru`` to ``apply``. Thanks DeviousStoat_! (**breaking change**)
- Changed ``zip_``, ``unzip``, ``zip_with``, ``unzip_with`` and ``to_pairs`` to accept iterables of tuples instead of lists and return lists of tuples instead of lists of lists. Thanks DeviousStoat_! (**breaking change**)
- Fixed bug in ``divide``, ``multiply``, and ``subtract`` that returned the wrong result when ``0`` was used as one of the operation values. Thanks DeviousStoat_!
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2024/01/28 21:18:46 adam Exp $
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
@


1.13
log
@py-dash: updated to 7.0.7

v7.0.7 (2024-01-27)
-------------------

- Fix bug in function wrappers that incorrectly computed the number of arguments the wrapped function could handle. Thanks DeviousStoat_!
- Fix bug in ``set_`` where the incorrect object type, list instead of dict, was initialized on class attributes. Thanks DeviousStoat_!
- Drop support for Python 3.7.


v7.0.6 (2023-07-29)
-------------------

- Fix typing for chaining interface for methods that use varargs. Thanks DeviousStoat_!


v7.0.5 (2023-07-06)
-------------------

- Fix typing for ``find_index`` and ``find_last_index`` by allowing ``predicate`` argument to be callback shorthand values. Thanks DeviousStoat_!


v7.0.4 (2023-06-02)
-------------------

- Exclude incompatible ``typing-extensions`` version ``4.6.0`` from install requirements. Incompatibility was fixed in ``4.6.1``.


v7.0.3 (2023-05-04)
-------------------

- Fix typing for ``difference_by``, ``intersection_by``, ``union_by``, ``uniq_by``, and ``xor_by`` by allowing ``iteratee`` argument to be `Any`.  Thanks DeviousStoat_!


v7.0.2 (2023-04-27)
-------------------

- Fix issue where using ``pyright`` as a type checker with ``reportPrivateUsage=true`` would report errors that objects are not exported from ``pydash``. Thanks DeviousStoat_!


v7.0.1 (2023-04-13)
-------------------

- Fix missing install dependency, ``typing-extensions``, for package.


v7.0.0 (2023-04-11)
-------------------

- Add type annotations to package. Raise an issue for any typing issues at https://github.com/dgilland/pydash/issues. Thanks DeviousStoat_! (**breaking change**)
- Change behavior of ``to_dict`` to not using ``dict()`` internally. Previous behavior would be for something like ``to_dict([["k", "v"], ["x", "y"]])`` to return ``{"k": "v", "x": "y"}`` (equivalent to calling ``dict(...)``) but ``to_dict([["k"], ["v"], ["x"], ["y"]])`` would return ``{0: ["x"], 1: ["v"], 2: ["x"], 3: ["y"]}``. The new behavior is to always return iterables as dictionaries with their indexes as keys like ``{0: ["k", "v"], 1: ["x", "y"]}``. This is consistent with how iterable objects are iterated over and means that ``to_dict`` will have more reliable output. (**breaking change**)
- Change behavior of ``slugify`` to remove single-quotes from output. Instead of ``slugify("the cat's meow") == "the-cat's-meow"``, the new behavior is to return ``"the-cats-meow"``. (**breaking change**)
- Add support for negative indexes in ``get`` path keys.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2023/05/02 17:15:11 wiz Exp $
d3 1
a3 1
DISTNAME=	pydash-7.0.7
d13 1
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=46.:../../devel/py-setuptools
d15 1
a15 1
DEPENDS+=	${PYPKGPREFIX}-typing-extensions>=3.10:../../devel/py-typing-extensions
a20 2
PYTHON_VERSIONS_INCOMPATIBLE=	27

@


1.12
log
@py-dash: not for Python 2
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2022/08/24 08:41:08 wiz Exp $
d3 1
a3 1
DISTNAME=	pydash-4.7.6
a4 1
PKGREVISION=	1
d13 4
a16 2
TEST_DEPENDS+=	${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
d23 1
a23 4
do-test:
	cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests

.include "../../lang/python/egg.mk"
@


1.11
log
@*: use py-test-cov from versioned_dependencies
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2022/01/04 20:53:00 wiz Exp $
d15 2
d18 1
a18 1
PYTHON_VERSIONED_DEPENDENCIES+=	test:test test-cov:test
d20 1
a20 1
USE_LANGUAGES=	# none
a25 1
.include "../../lang/python/versioned_dependencies.mk"
@


1.10
log
@*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2020/05/16 09:09:04 adam Exp $
a14 1
TEST_DEPENDS+=	${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
d16 1
a16 1
PYTHON_VERSIONED_DEPENDENCIES=	test:test
@


1.9
log
@pytest from versioned depends
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2019/12/14 10:52:18 adam Exp $
d5 1
@


1.8
log
@py-dash: updated to 4.7.6

v4.7.6:
Bug Fixes
- Fix handling of ``Sequence``, ``Mapping``, and ``namedtuple`` types in ``get`` so that their attributes aren't accessed during look-up.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2019/05/22 21:00:04 adam Exp $
a13 1
TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
d16 2
d24 1
@


1.7
log
@py-dash: updated to 4.7.5

v4.7.5:

Bug Fixes
- Fix handling of string and byte values in clone_with and clone_deep_with when a customizer is used.
- Fix handling of non-indexable iterables in find and find_last.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2018/11/21 11:01:55 adam Exp $
d3 1
a3 1
DISTNAME=	pydash-4.7.5
@


1.6
log
@py-dash: updated to 4.7.4

v4.7.4:

Bug Fixes
- Raise an explicit exception in set_, set_with, update, and update_with when an object cannot be updated due to that object or one of its nested objects not being subscriptable.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2018/08/14 07:32:04 adam Exp $
d3 1
a3 1
DISTNAME=	pydash-4.7.4
d13 1
@


1.5
log
@py-dash: updated to 4.7.3

v4.7.3:
Bug Fixes
Fix bug in spread where arguments were not being passed to wrapped function properly.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2018/08/05 12:46:42 adam Exp $
d3 1
a3 1
DISTNAME=	pydash-4.7.3
@


1.4
log
@py-dash: updated to 4.7.1

v4.7.1:
New Features
- Modify to_dict to first try to convert using dict() before falling back to using pydash.helpers.iterator().

v4.7.0:
Misc
- Internal code optimizations.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2018/07/20 09:42:54 adam Exp $
d3 1
a3 1
DISTNAME=	pydash-4.7.1
@


1.3
log
@py-dash: updated to 4.6.1

v4.6.1:
Misc
- Support Python 3.7.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2018/07/14 19:05:58 adam Exp $
d3 1
a3 1
DISTNAME=	pydash-4.6.1
d13 2
a14 1
TEST_DEPENDS+=	${PYPKGPREFIX}-test>=3.4.2:../../devel/py-test
@


1.2
log
@py-dash: updated to 4.6.0

v4.6.0:
Improve performance of the following functions for large datasets:
duplicates
sorted_uniq
sorted_uniq_by
union
union_by
union_with
uniq
uniq_by
uniq_with
xor
xor_by
xor_with
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2018/05/23 09:28:30 adam Exp $
d3 1
a3 1
DISTNAME=	pydash-4.6.0
@


1.1
log
@py-dash: added version 4.5.0

The kitchen sink of Python utility libraries for doing "stuff" in a functional
way. Based on the Lo-Dash Javascript library.
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
DISTNAME=	pydash-4.5.0
d13 2
d17 3
@

