pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-diff-match-patch



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Dec 18 09:38:55 UTC 2023

Modified Files:
        pkgsrc/textproc/py-diff-match-patch: Makefile PLIST distinfo

Log Message:
py-diff-match-patch: updated to 20230430

v20230430

Maintenance release

- Replaced deprecated `imp` usage with `importlib`
- Migrated to PEP 621 metadata, flit
- Reformated with updated black/µsort/µfmt
- Tested on Python 3.7 - 3.11
- Dropped support for Python 2.7, 3.5, and 3.6


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/textproc/py-diff-match-patch/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/py-diff-match-patch/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/py-diff-match-patch/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-diff-match-patch/Makefile
diff -u pkgsrc/textproc/py-diff-match-patch/Makefile:1.6 pkgsrc/textproc/py-diff-match-patch/Makefile:1.7
--- pkgsrc/textproc/py-diff-match-patch/Makefile:1.6    Wed Mar 29 09:34:13 2023
+++ pkgsrc/textproc/py-diff-match-patch/Makefile        Mon Dec 18 09:38:55 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2023/03/29 09:34:13 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2023/12/18 09:38:55 adam Exp $
 
-DISTNAME=      diff-match-patch-20200713
+DISTNAME=      diff-match-patch-20230430
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/diff-match-patch/}
 
@@ -11,18 +10,11 @@ HOMEPAGE=   https://github.com/diff-match-
 COMMENT=       Robust algorithms for synchronizing plain text
 LICENSE=       apache-2.0
 
-PYTHON_VERSIONED_DEPENDENCIES+=        setuptools:build
+TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.8:../../devel/py-flit_core
 
 USE_LANGUAGES= # none
 
-.include "../../lang/python/pyversion.mk"
-do-test:
-.if ${PYTHON_VERSION} == 207
-       cd ${WRKSRC} && ${PYTHONBIN} diff_match_patch/tests/diff_match_patch_test_py2.py
-.else
-       cd ${WRKSRC} && ${PYTHONBIN} diff_match_patch/tests/diff_match_patch_test.py
-.endif
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/py-diff-match-patch/PLIST
diff -u pkgsrc/textproc/py-diff-match-patch/PLIST:1.2 pkgsrc/textproc/py-diff-match-patch/PLIST:1.3
--- pkgsrc/textproc/py-diff-match-patch/PLIST:1.2       Thu Jul  9 08:44:15 2020
+++ pkgsrc/textproc/py-diff-match-patch/PLIST   Mon Dec 18 09:38:55 2023
@@ -1,26 +1,25 @@
-@comment $NetBSD: PLIST,v 1.2 2020/07/09 08:44:15 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.3 2023/12/18 09:38:55 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
 ${PYSITELIB}/diff_match_patch/__init__.py
 ${PYSITELIB}/diff_match_patch/__init__.pyc
 ${PYSITELIB}/diff_match_patch/__init__.pyo
+${PYSITELIB}/diff_match_patch/__version__.py
+${PYSITELIB}/diff_match_patch/__version__.pyc
+${PYSITELIB}/diff_match_patch/__version__.pyo
 ${PYSITELIB}/diff_match_patch/diff_match_patch.py
 ${PYSITELIB}/diff_match_patch/diff_match_patch.pyc
 ${PYSITELIB}/diff_match_patch/diff_match_patch.pyo
-${PYSITELIB}/diff_match_patch/diff_match_patch_py2.py
-${PYSITELIB}/diff_match_patch/diff_match_patch_py2.pyc
-${PYSITELIB}/diff_match_patch/diff_match_patch_py2.pyo
 ${PYSITELIB}/diff_match_patch/tests/__init__.py
 ${PYSITELIB}/diff_match_patch/tests/__init__.pyc
 ${PYSITELIB}/diff_match_patch/tests/__init__.pyo
 ${PYSITELIB}/diff_match_patch/tests/diff_match_patch_test.py
 ${PYSITELIB}/diff_match_patch/tests/diff_match_patch_test.pyc
 ${PYSITELIB}/diff_match_patch/tests/diff_match_patch_test.pyo
-${PYSITELIB}/diff_match_patch/tests/diff_match_patch_test_py2.py
-${PYSITELIB}/diff_match_patch/tests/diff_match_patch_test_py2.pyc
-${PYSITELIB}/diff_match_patch/tests/diff_match_patch_test_py2.pyo
 ${PYSITELIB}/diff_match_patch/tests/speedtest.py
 ${PYSITELIB}/diff_match_patch/tests/speedtest.pyc
 ${PYSITELIB}/diff_match_patch/tests/speedtest.pyo
+${PYSITELIB}/diff_match_patch/tests/speedtest1.txt
+${PYSITELIB}/diff_match_patch/tests/speedtest2.txt

Index: pkgsrc/textproc/py-diff-match-patch/distinfo
diff -u pkgsrc/textproc/py-diff-match-patch/distinfo:1.5 pkgsrc/textproc/py-diff-match-patch/distinfo:1.6
--- pkgsrc/textproc/py-diff-match-patch/distinfo:1.5    Tue Oct 26 11:23:02 2021
+++ pkgsrc/textproc/py-diff-match-patch/distinfo        Mon Dec 18 09:38:55 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 11:23:02 nia Exp $
+$NetBSD: distinfo,v 1.6 2023/12/18 09:38:55 adam Exp $
 
-BLAKE2s (diff-match-patch-20200713.tar.gz) = 035c30cd95e64f853a87065a3a030d6764b5ca9cbe3472e166110f1a8ea68201
-SHA512 (diff-match-patch-20200713.tar.gz) = f161efed3d87dd0693c98ee81aedb3868787f040f8f9f31015f9f1de04d50046be75b2351a65a4c26ae1d194b983dbc1420799cf70e7c25737ee4eb3cc78a183
-Size (diff-match-patch-20200713.tar.gz) = 60711 bytes
+BLAKE2s (diff-match-patch-20230430.tar.gz) = 3e6630fe0008514039dfd267541546f4ce4fc8b1baed4a1b880aed9e7bdffcfa
+SHA512 (diff-match-patch-20230430.tar.gz) = a62d15327de659999e3381215249fb088a9e40368008b91201de3db3d02f22892bbf6d2ac40dc4ea4986d24470dd396eaf69583fabbe9078a5cb1f97bae94000
+Size (diff-match-patch-20230430.tar.gz) = 43324 bytes



Home | Main Index | Thread Index | Old Index