pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-deepdiff py-deepdiff: updated to 5.5.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5b94eafe2e84
branches:  trunk
changeset: 455723:5b94eafe2e84
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Jul 09 19:07:45 2021 +0000

description:
py-deepdiff: updated to 5.5.0

v5-5-0: adding iterable_compare_func for DeepDiff, adding output_format of list for path() in tree view.
v5-4-0: adding strict_checking for numbers in DeepSearch.
v5-3-0: add support for regular expressions in DeepSearch.
v5-2-3: Retaining the order of multiple dictionary items added via Delta. Fixed the typo with yml files in deep cli. Fixing Grep RecursionError where using non UTF-8 character. Allowing kwargs to be 
passed to to_json method.
v5-2-2: Fixed Delta serialization when None type is present.
v5-2-0: Removed Murmur3 as the preferred hashing method. Using SHA256 by default now. Added commandline for deepdiff. Added group_by. Added math_epsilon. Improved ignoring of NoneType.

diffstat:

 textproc/py-deepdiff/ALTERNATIVES           |   1 +
 textproc/py-deepdiff/Makefile               |  11 +++++++----
 textproc/py-deepdiff/PLIST                  |   7 ++++++-
 textproc/py-deepdiff/distinfo               |  11 +++++------
 textproc/py-deepdiff/patches/patch-setup.py |  13 -------------
 5 files changed, 19 insertions(+), 24 deletions(-)

diffs (94 lines):

diff -r 7af90fc043d8 -r 5b94eafe2e84 textproc/py-deepdiff/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-deepdiff/ALTERNATIVES Fri Jul 09 19:07:45 2021 +0000
@@ -0,0 +1,1 @@
+bin/deep @PREFIX@/bin/deep-@PYVERSSUFFIX@
diff -r 7af90fc043d8 -r 5b94eafe2e84 textproc/py-deepdiff/Makefile
--- a/textproc/py-deepdiff/Makefile     Fri Jul 09 18:59:05 2021 +0000
+++ b/textproc/py-deepdiff/Makefile     Fri Jul 09 19:07:45 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2020/07/27 16:51:52 adam Exp $
+# $NetBSD: Makefile,v 1.9 2021/07/09 19:07:45 adam Exp $
 
-DISTNAME=      deepdiff-5.0.2
+DISTNAME=      deepdiff-5.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/deepdiff/}
@@ -11,14 +11,17 @@
 LICENSE=       mit
 
 DEPENDS+=      ${PYPKGPREFIX}-jsonpickle>=1.0:../../textproc/py-jsonpickle
-DEPENDS+=      ${PYPKGPREFIX}-mmh3-[0-9]*:../../devel/py-mmh3
-DEPENDS+=      ${PYPKGPREFIX}-ordered-set>=3.1:../../devel/py-ordered-set
+DEPENDS+=      ${PYPKGPREFIX}-ordered-set>=4.0.2:../../devel/py-ordered-set
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} deep deep-${PYVERSSUFFIX} || ${TRUE}
+
 do-test:
        cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
 
diff -r 7af90fc043d8 -r 5b94eafe2e84 textproc/py-deepdiff/PLIST
--- a/textproc/py-deepdiff/PLIST        Fri Jul 09 18:59:05 2021 +0000
+++ b/textproc/py-deepdiff/PLIST        Fri Jul 09 19:07:45 2021 +0000
@@ -1,7 +1,9 @@
-@comment $NetBSD: PLIST,v 1.4 2020/07/21 10:59:04 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2021/07/09 19:07:45 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
@@ -14,6 +16,9 @@
 ${PYSITELIB}/deepdiff/base.py
 ${PYSITELIB}/deepdiff/base.pyc
 ${PYSITELIB}/deepdiff/base.pyo
+${PYSITELIB}/deepdiff/commands.py
+${PYSITELIB}/deepdiff/commands.pyc
+${PYSITELIB}/deepdiff/commands.pyo
 ${PYSITELIB}/deepdiff/deephash.py
 ${PYSITELIB}/deepdiff/deephash.pyc
 ${PYSITELIB}/deepdiff/deephash.pyo
diff -r 7af90fc043d8 -r 5b94eafe2e84 textproc/py-deepdiff/distinfo
--- a/textproc/py-deepdiff/distinfo     Fri Jul 09 18:59:05 2021 +0000
+++ b/textproc/py-deepdiff/distinfo     Fri Jul 09 19:07:45 2021 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.8 2020/08/27 12:28:47 joerg Exp $
+$NetBSD: distinfo,v 1.9 2021/07/09 19:07:45 adam Exp $
 
-SHA1 (deepdiff-5.0.2.tar.gz) = 1d1484d74f22a43b32db7f6806509d7dd96bb8c7
-RMD160 (deepdiff-5.0.2.tar.gz) = 1cfd4d27219fe8b01db5dbca91e7ece0cba1fa70
-SHA512 (deepdiff-5.0.2.tar.gz) = 2211903eefc49cdd4d926c2e3a83fe1e6d7891404a35e10e73be9dc7801d2b6d83f30630e501658c67450ed014227c5d13c3b19489fbb34b3afa836369d5f8f5
-Size (deepdiff-5.0.2.tar.gz) = 357103 bytes
-SHA1 (patch-setup.py) = ccf3596de4113679f4ed6bbc8f1bc3ebf6232aa5
+SHA1 (deepdiff-5.5.0.tar.gz) = 8d35151095ab2fe31da146eaaeb8ded3bd8d3e06
+RMD160 (deepdiff-5.5.0.tar.gz) = 1cf3f7bf459c7f94b7de055d454c8ce0d30b2091
+SHA512 (deepdiff-5.5.0.tar.gz) = ce1e254c60b91506b2ec626a0021bc09796c75b9942b6cb0eaad3e67f3983f9d5da9f16cfbee313e7d2431521838b861147fe6a550071376daa1a1f2a911542e
+Size (deepdiff-5.5.0.tar.gz) = 372780 bytes
diff -r 7af90fc043d8 -r 5b94eafe2e84 textproc/py-deepdiff/patches/patch-setup.py
--- a/textproc/py-deepdiff/patches/patch-setup.py       Fri Jul 09 18:59:05 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-setup.py,v 1.1 2020/08/27 12:28:47 joerg Exp $
-
---- setup.py.orig      2020-08-26 11:48:18.731049062 +0000
-+++ setup.py
-@@ -22,7 +22,7 @@ def get_reqs(filename):
- 
- reqs = get_reqs("requirements.txt")
- 
--with open('README.md') as file:
-+with open('README.md', **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})) as file:
-     long_description = file.read()
- 
- 



Home | Main Index | Thread Index | Old Index