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.
This commit is contained in:
parent
89c5aa0f29
commit
802bd4f9c2
|
@ -1,8 +1,7 @@
|
|||
# $NetBSD: Makefile,v 1.12 2023/05/02 17:15:11 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2024/01/28 21:18:46 adam Exp $
|
||||
|
||||
DISTNAME= pydash-4.7.6
|
||||
DISTNAME= pydash-7.0.7
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
|
||||
PKGREVISION= 1
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pydash/}
|
||||
|
||||
|
@ -11,16 +10,15 @@ HOMEPAGE= https://github.com/dgilland/pydash
|
|||
COMMENT= Python utility libraries for doing stuff in a functional way
|
||||
LICENSE= mit
|
||||
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
||||
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=46.:../../devel/py-setuptools
|
||||
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
|
||||
DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.10:../../devel/py-typing-extensions
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-invoke-[0-9]*:../../sysutils/py-invoke
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
do-test:
|
||||
cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
|
||||
|
||||
.include "../../lang/python/egg.mk"
|
||||
.include "../../lang/python/wheel.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,24 +1,26 @@
|
|||
@comment $NetBSD: PLIST,v 1.2 2018/07/20 09:42:54 adam Exp $
|
||||
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
|
||||
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
|
||||
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
|
||||
${PYSITELIB}/${EGG_INFODIR}/requires.txt
|
||||
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
|
||||
@comment $NetBSD: PLIST,v 1.3 2024/01/28 21:18:46 adam Exp $
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS.rst
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.rst
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
|
||||
${PYSITELIB}/pydash/__init__.py
|
||||
${PYSITELIB}/pydash/__init__.pyc
|
||||
${PYSITELIB}/pydash/__init__.pyo
|
||||
${PYSITELIB}/pydash/__version__.py
|
||||
${PYSITELIB}/pydash/__version__.pyc
|
||||
${PYSITELIB}/pydash/__version__.pyo
|
||||
${PYSITELIB}/pydash/_compat.py
|
||||
${PYSITELIB}/pydash/_compat.pyc
|
||||
${PYSITELIB}/pydash/_compat.pyo
|
||||
${PYSITELIB}/pydash/arrays.py
|
||||
${PYSITELIB}/pydash/arrays.pyc
|
||||
${PYSITELIB}/pydash/arrays.pyo
|
||||
${PYSITELIB}/pydash/chaining.py
|
||||
${PYSITELIB}/pydash/chaining.pyc
|
||||
${PYSITELIB}/pydash/chaining.pyo
|
||||
${PYSITELIB}/pydash/chaining/__init__.py
|
||||
${PYSITELIB}/pydash/chaining/__init__.pyc
|
||||
${PYSITELIB}/pydash/chaining/__init__.pyo
|
||||
${PYSITELIB}/pydash/chaining/all_funcs.py
|
||||
${PYSITELIB}/pydash/chaining/all_funcs.pyc
|
||||
${PYSITELIB}/pydash/chaining/all_funcs.pyi
|
||||
${PYSITELIB}/pydash/chaining/all_funcs.pyo
|
||||
${PYSITELIB}/pydash/chaining/chaining.py
|
||||
${PYSITELIB}/pydash/chaining/chaining.pyc
|
||||
${PYSITELIB}/pydash/chaining/chaining.pyo
|
||||
${PYSITELIB}/pydash/collections.py
|
||||
${PYSITELIB}/pydash/collections.pyc
|
||||
${PYSITELIB}/pydash/collections.pyo
|
||||
|
@ -40,9 +42,13 @@ ${PYSITELIB}/pydash/objects.pyo
|
|||
${PYSITELIB}/pydash/predicates.py
|
||||
${PYSITELIB}/pydash/predicates.pyc
|
||||
${PYSITELIB}/pydash/predicates.pyo
|
||||
${PYSITELIB}/pydash/py.typed
|
||||
${PYSITELIB}/pydash/strings.py
|
||||
${PYSITELIB}/pydash/strings.pyc
|
||||
${PYSITELIB}/pydash/strings.pyo
|
||||
${PYSITELIB}/pydash/types.py
|
||||
${PYSITELIB}/pydash/types.pyc
|
||||
${PYSITELIB}/pydash/types.pyo
|
||||
${PYSITELIB}/pydash/utilities.py
|
||||
${PYSITELIB}/pydash/utilities.pyc
|
||||
${PYSITELIB}/pydash/utilities.pyo
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.10 2021/10/26 10:18:22 nia Exp $
|
||||
$NetBSD: distinfo,v 1.11 2024/01/28 21:18:46 adam Exp $
|
||||
|
||||
BLAKE2s (pydash-4.7.6.tar.gz) = e046e5def8c972ad9a9f8f019695c59afa575465df32c60d504ff0c83bd0de2e
|
||||
SHA512 (pydash-4.7.6.tar.gz) = bf8c6c633cf13cd9a91049cb16b4a00af88e78c39c13f53d838f3f92c45b3052c2266e5b27e5f55e61bf2ad18ce9b8585c732549a5ebdbf8503c721fefeb149e
|
||||
Size (pydash-4.7.6.tar.gz) = 134403 bytes
|
||||
BLAKE2s (pydash-7.0.7.tar.gz) = 011c66c414acf8dde3aa6bb0ac1db7dfd2ca14e0ad9d46850d847ba526105bf4
|
||||
SHA512 (pydash-7.0.7.tar.gz) = de4003d7925de589ea68386c755eef897a0cc94a5ffad0ed17ff39c1d9d68cdebc382a16d1100fd6d41e475217a51664b46b572d4e83fe8ca7402898da0360ee
|
||||
Size (pydash-7.0.7.tar.gz) = 184993 bytes
|
||||
|
|
Loading…
Reference in New Issue