From 730a0805cb2b1dc04bed6a49190dcb5907d34f37 Mon Sep 17 00:00:00 2001 From: adam Date: Sun, 28 Jan 2024 21:00:06 +0000 Subject: [PATCH] py-deepdiff: updated to 6.7.1 v6-7-1 - Support for subtracting delta objects when iterable_compare_func is used. - Better handling of force adding a delta to an object. - Fix for ```Can't compare dicts with both single and double quotes in keys`` `__ - Updated docs for Inconsistent Behavior with math_epsilon and ignore_order = True v6-7-0 - Delta can be subtracted from other objects now. - verify_symmetry is deprecated. Use bidirectional instead. - always_include_values flag in Delta can be enabled to include values in the delta for every change. - Fix for Delta.\__add\_\_ breaks with esoteric dict keys. v6-6-1 - Fix for `DeepDiff raises decimal exception when using significant digits `__ - Introducing group_by_sort_key - Adding group_by 2D. For example ``group_by=['last_name', 'zip_code']`` v6-6-0 - Numpy 2.0 support - Adding `Delta.to_flat_dicts `__ v6-5-0 - Adding ```parse_path`` `__ v6-4-1 - Bugfix: Keep Numpy Optional --- textproc/py-deepdiff/Makefile | 16 ++++++---------- textproc/py-deepdiff/PLIST | 17 +++++++++-------- textproc/py-deepdiff/distinfo | 8 ++++---- 3 files changed, 19 insertions(+), 22 deletions(-) diff --git a/textproc/py-deepdiff/Makefile b/textproc/py-deepdiff/Makefile index 591ce192a8ce..97aad09b7abf 100644 --- a/textproc/py-deepdiff/Makefile +++ b/textproc/py-deepdiff/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.14 2023/07/17 11:54:43 adam Exp $ +# $NetBSD: Makefile,v 1.15 2024/01/28 21:00:06 adam Exp $ -DISTNAME= deepdiff-6.3.1 +DISTNAME= deepdiff-6.7.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= textproc python MASTER_SITES= ${MASTER_SITE_PYPI:=d/deepdiff/} @@ -10,25 +10,21 @@ HOMEPAGE= https://github.com/seperman/deepdiff COMMENT= Deep Difference and Search of any Python object/data LICENSE= mit +TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools +TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel DEPENDS+= ${PYPKGPREFIX}-ordered-set>=4.0.2:../../devel/py-ordered-set # cli DEPENDS+= ${PYPKGPREFIX}-click>=8.1.3:../../devel/py-click -DEPENDS+= ${PYPKGPREFIX}-yaml>=6.0:../../textproc/py-yaml +DEPENDS+= ${PYPKGPREFIX}-yaml>=6.0.1:../../textproc/py-yaml TEST_DEPENDS+= ${PYPKGPREFIX}-numpy>=1.23.5:../../math/py-numpy -TEST_DEPENDS+= ${PYPKGPREFIX}-test>=7.2.0:../../devel/py-test USE_LANGUAGES= # none -USE_PKG_RESOURCES= yes - PYTHON_VERSIONS_INCOMPATIBLE= 27 38 post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} deep deep-${PYVERSSUFFIX} || ${TRUE} -do-test: - cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests - -.include "../../lang/python/egg.mk" +.include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/py-deepdiff/PLIST b/textproc/py-deepdiff/PLIST index 9049eb963bf8..4cfdea309cb4 100644 --- a/textproc/py-deepdiff/PLIST +++ b/textproc/py-deepdiff/PLIST @@ -1,12 +1,13 @@ -@comment $NetBSD: PLIST,v 1.6 2023/04/17 20:28:15 adam Exp $ +@comment $NetBSD: PLIST,v 1.7 2024/01/28 21:00:06 adam Exp $ bin/deep-${PYVERSSUFFIX} -${PYSITELIB}/${EGG_INFODIR}/PKG-INFO -${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt -${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt -${PYSITELIB}/${EGG_INFODIR}/entry_points.txt -${PYSITELIB}/${EGG_INFODIR}/requires.txt -${PYSITELIB}/${EGG_INFODIR}/top_level.txt -${PYSITELIB}/${EGG_INFODIR}/zip-safe +${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS.md +${PYSITELIB}/${WHEEL_INFODIR}/LICENSE +${PYSITELIB}/${WHEEL_INFODIR}/METADATA +${PYSITELIB}/${WHEEL_INFODIR}/RECORD +${PYSITELIB}/${WHEEL_INFODIR}/WHEEL +${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt +${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt +${PYSITELIB}/${WHEEL_INFODIR}/zip-safe ${PYSITELIB}/deepdiff/__init__.py ${PYSITELIB}/deepdiff/__init__.pyc ${PYSITELIB}/deepdiff/__init__.pyo diff --git a/textproc/py-deepdiff/distinfo b/textproc/py-deepdiff/distinfo index 4c817e07949e..bdbc5c32cf6d 100644 --- a/textproc/py-deepdiff/distinfo +++ b/textproc/py-deepdiff/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.13 2023/07/17 11:54:43 adam Exp $ +$NetBSD: distinfo,v 1.14 2024/01/28 21:00:06 adam Exp $ -BLAKE2s (deepdiff-6.3.1.tar.gz) = ae84ec15935a8c23d68d79f766c2b9b0fc1b2382674c324cd8ebfb0df44708bf -SHA512 (deepdiff-6.3.1.tar.gz) = 13d9edf42eb50b6e63e038a2c17d7d54e82e5e6b5ddc3420cc457d91e220da92391b17c238ed3a49d0f69168cad887c2278182734be23265d5c53928b28c4c42 -Size (deepdiff-6.3.1.tar.gz) = 392651 bytes +BLAKE2s (deepdiff-6.7.1.tar.gz) = ddb1a49bddc3d1deb6aee93f12ed59d36eb16e0f2a2e55be734175f515471314 +SHA512 (deepdiff-6.7.1.tar.gz) = 89cf198aeaa392e9609641a9bbc1331c8badf3d4b7cafb1afef00f6f6237524dec72467abf9a9afeba5dc08b8f7e8321827faec5b9a8c27ffff97bfc3fdb0db0 +Size (deepdiff-6.7.1.tar.gz) = 409107 bytes