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.diff -r1.12 -r1.13 pkgsrc/devel/py-dash/Makefile
(adam)
@@ -1,26 +1,24 @@ | @@ -1,26 +1,24 @@ | |||
1 | # $NetBSD: Makefile,v 1.12 2023/05/02 17:15:11 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.13 2024/01/28 21:18:46 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= pydash-4.7.6 | 3 | DISTNAME= pydash-7.0.7 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//} | |
5 | PKGREVISION= 1 | |||
6 | CATEGORIES= devel python | 5 | CATEGORIES= devel python | |
7 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pydash/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pydash/} | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://github.com/dgilland/pydash | 9 | HOMEPAGE= https://github.com/dgilland/pydash | |
11 | COMMENT= Python utility libraries for doing stuff in a functional way | 10 | COMMENT= Python utility libraries for doing stuff in a functional way | |
12 | LICENSE= mit | 11 | LICENSE= mit | |
13 | 12 | |||
14 | TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock | 13 | TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=46.:../../devel/py-setuptools | |
15 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test | 14 | TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel | |
15 | DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.10:../../devel/py-typing-extensions | |||
16 | TEST_DEPENDS+= ${PYPKGPREFIX}-invoke-[0-9]*:../../sysutils/py-invoke | |||
16 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov | 17 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov | |
17 | 18 | |||
18 | USE_LANGUAGES= # none | 19 | USE_LANGUAGES= # none | |
19 | 20 | |||
20 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | 21 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |
21 | 22 | |||
22 | do-test: | 23 | .include "../../lang/python/wheel.mk" | |
23 | cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests | |||
24 | ||||
25 | .include "../../lang/python/egg.mk" | |||
26 | .include "../../mk/bsd.pkg.mk" | 24 | .include "../../mk/bsd.pkg.mk" |
@@ -1,48 +1,54 @@ | @@ -1,48 +1,54 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.2 2018/07/20 09:42:54 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.3 2024/01/28 21:18:46 adam Exp $ | |
2 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 2 | ${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS.rst | |
3 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 3 | ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.rst | |
4 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 4 | ${PYSITELIB}/${WHEEL_INFODIR}/METADATA | |
5 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | 5 | ${PYSITELIB}/${WHEEL_INFODIR}/RECORD | |
6 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | 6 | ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL | |
7 | ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt | |||
7 | ${PYSITELIB}/pydash/__init__.py | 8 | ${PYSITELIB}/pydash/__init__.py | |
8 | ${PYSITELIB}/pydash/__init__.pyc | 9 | ${PYSITELIB}/pydash/__init__.pyc | |
9 | ${PYSITELIB}/pydash/__init__.pyo | 10 | ${PYSITELIB}/pydash/__init__.pyo | |
10 | ${PYSITELIB}/pydash/__version__.py | |||
11 | ${PYSITELIB}/pydash/__version__.pyc | |||
12 | ${PYSITELIB}/pydash/__version__.pyo | |||
13 | ${PYSITELIB}/pydash/_compat.py | |||
14 | ${PYSITELIB}/pydash/_compat.pyc | |||
15 | ${PYSITELIB}/pydash/_compat.pyo | |||
16 | ${PYSITELIB}/pydash/arrays.py | 11 | ${PYSITELIB}/pydash/arrays.py | |
17 | ${PYSITELIB}/pydash/arrays.pyc | 12 | ${PYSITELIB}/pydash/arrays.pyc | |
18 | ${PYSITELIB}/pydash/arrays.pyo | 13 | ${PYSITELIB}/pydash/arrays.pyo | |
19 | ${PYSITELIB}/pydash/chaining.py | 14 | ${PYSITELIB}/pydash/chaining/__init__.py | |
20 | ${PYSITELIB}/pydash/chaining.pyc | 15 | ${PYSITELIB}/pydash/chaining/__init__.pyc | |
21 | ${PYSITELIB}/pydash/chaining.pyo | 16 | ${PYSITELIB}/pydash/chaining/__init__.pyo | |
17 | ${PYSITELIB}/pydash/chaining/all_funcs.py | |||
18 | ${PYSITELIB}/pydash/chaining/all_funcs.pyc | |||
19 | ${PYSITELIB}/pydash/chaining/all_funcs.pyi | |||
20 | ${PYSITELIB}/pydash/chaining/all_funcs.pyo | |||
21 | ${PYSITELIB}/pydash/chaining/chaining.py | |||
22 | ${PYSITELIB}/pydash/chaining/chaining.pyc | |||
23 | ${PYSITELIB}/pydash/chaining/chaining.pyo | |||
22 | ${PYSITELIB}/pydash/collections.py | 24 | ${PYSITELIB}/pydash/collections.py | |
23 | ${PYSITELIB}/pydash/collections.pyc | 25 | ${PYSITELIB}/pydash/collections.pyc | |
24 | ${PYSITELIB}/pydash/collections.pyo | 26 | ${PYSITELIB}/pydash/collections.pyo | |
25 | ${PYSITELIB}/pydash/exceptions.py | 27 | ${PYSITELIB}/pydash/exceptions.py | |
26 | ${PYSITELIB}/pydash/exceptions.pyc | 28 | ${PYSITELIB}/pydash/exceptions.pyc | |
27 | ${PYSITELIB}/pydash/exceptions.pyo | 29 | ${PYSITELIB}/pydash/exceptions.pyo | |
28 | ${PYSITELIB}/pydash/functions.py | 30 | ${PYSITELIB}/pydash/functions.py | |
29 | ${PYSITELIB}/pydash/functions.pyc | 31 | ${PYSITELIB}/pydash/functions.pyc | |
30 | ${PYSITELIB}/pydash/functions.pyo | 32 | ${PYSITELIB}/pydash/functions.pyo | |
31 | ${PYSITELIB}/pydash/helpers.py | 33 | ${PYSITELIB}/pydash/helpers.py | |
32 | ${PYSITELIB}/pydash/helpers.pyc | 34 | ${PYSITELIB}/pydash/helpers.pyc | |
33 | ${PYSITELIB}/pydash/helpers.pyo | 35 | ${PYSITELIB}/pydash/helpers.pyo | |
34 | ${PYSITELIB}/pydash/numerical.py | 36 | ${PYSITELIB}/pydash/numerical.py | |
35 | ${PYSITELIB}/pydash/numerical.pyc | 37 | ${PYSITELIB}/pydash/numerical.pyc | |
36 | ${PYSITELIB}/pydash/numerical.pyo | 38 | ${PYSITELIB}/pydash/numerical.pyo | |
37 | ${PYSITELIB}/pydash/objects.py | 39 | ${PYSITELIB}/pydash/objects.py | |
38 | ${PYSITELIB}/pydash/objects.pyc | 40 | ${PYSITELIB}/pydash/objects.pyc | |
39 | ${PYSITELIB}/pydash/objects.pyo | 41 | ${PYSITELIB}/pydash/objects.pyo | |
40 | ${PYSITELIB}/pydash/predicates.py | 42 | ${PYSITELIB}/pydash/predicates.py | |
41 | ${PYSITELIB}/pydash/predicates.pyc | 43 | ${PYSITELIB}/pydash/predicates.pyc | |
42 | ${PYSITELIB}/pydash/predicates.pyo | 44 | ${PYSITELIB}/pydash/predicates.pyo | |
45 | ${PYSITELIB}/pydash/py.typed | |||
43 | ${PYSITELIB}/pydash/strings.py | 46 | ${PYSITELIB}/pydash/strings.py | |
44 | ${PYSITELIB}/pydash/strings.pyc | 47 | ${PYSITELIB}/pydash/strings.pyc | |
45 | ${PYSITELIB}/pydash/strings.pyo | 48 | ${PYSITELIB}/pydash/strings.pyo | |
49 | ${PYSITELIB}/pydash/types.py | |||
50 | ${PYSITELIB}/pydash/types.pyc | |||
51 | ${PYSITELIB}/pydash/types.pyo | |||
46 | ${PYSITELIB}/pydash/utilities.py | 52 | ${PYSITELIB}/pydash/utilities.py | |
47 | ${PYSITELIB}/pydash/utilities.pyc | 53 | ${PYSITELIB}/pydash/utilities.pyc | |
48 | ${PYSITELIB}/pydash/utilities.pyo | 54 | ${PYSITELIB}/pydash/utilities.pyo |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.10 2021/10/26 10:18:22 nia Exp $ | 1 | $NetBSD: distinfo,v 1.11 2024/01/28 21:18:46 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (pydash-4.7.6.tar.gz) = e046e5def8c972ad9a9f8f019695c59afa575465df32c60d504ff0c83bd0de2e | 3 | BLAKE2s (pydash-7.0.7.tar.gz) = 011c66c414acf8dde3aa6bb0ac1db7dfd2ca14e0ad9d46850d847ba526105bf4 | |
4 | SHA512 (pydash-4.7.6.tar.gz) = bf8c6c633cf13cd9a91049cb16b4a00af88e78c39c13f53d838f3f92c45b3052c2266e5b27e5f55e61bf2ad18ce9b8585c732549a5ebdbf8503c721fefeb149e | 4 | SHA512 (pydash-7.0.7.tar.gz) = de4003d7925de589ea68386c755eef897a0cc94a5ffad0ed17ff39c1d9d68cdebc382a16d1100fd6d41e475217a51664b46b572d4e83fe8ca7402898da0360ee | |
5 | Size (pydash-4.7.6.tar.gz) = 134403 bytes | 5 | Size (pydash-7.0.7.tar.gz) = 184993 bytes |