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:           Thu Jul  9 08:44:15 UTC 2020

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

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

Version v20181111:
- Rename module to diff-match-patch to supercede existing PyPI module
- Match existing module version scheme
- Update readme, tests, etc for import names


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/py-diff-match-patch/Makefile \
    pkgsrc/textproc/py-diff-match-patch/PLIST \
    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.1 pkgsrc/textproc/py-diff-match-patch/Makefile:1.2
--- pkgsrc/textproc/py-diff-match-patch/Makefile:1.1    Tue Oct 17 11:34:36 2017
+++ pkgsrc/textproc/py-diff-match-patch/Makefile        Thu Jul  9 08:44:15 2020
@@ -1,16 +1,26 @@
-# $NetBSD: Makefile,v 1.1 2017/10/17 11:34:36 adam Exp $
+# $NetBSD: Makefile,v 1.2 2020/07/09 08:44:15 adam Exp $
 
-DISTNAME=      diff-match-patch-20121119
+DISTNAME=      diff-match-patch-20181111
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/diff-match-patch/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://code.google.com/p/google-diff-match-patch/
+HOMEPAGE=      https://github.com/diff-match-patch-python/diff-match-patch
 COMMENT=       Robust algorithms for synchronizing plain text
 LICENSE=       apache-2.0
 
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools>=38.6.0:../../devel/py-setuptools
+
 USE_LANGUAGES= # none
 
+.include "../../lang/python/pyversion.mk"
+do-test:
+.if ${_PYTHON_VERSION} == 27
+       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
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/py-diff-match-patch/PLIST
diff -u pkgsrc/textproc/py-diff-match-patch/PLIST:1.1 pkgsrc/textproc/py-diff-match-patch/PLIST:1.2
--- pkgsrc/textproc/py-diff-match-patch/PLIST:1.1       Tue Oct 17 11:34:36 2017
+++ pkgsrc/textproc/py-diff-match-patch/PLIST   Thu Jul  9 08:44:15 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2017/10/17 11:34:36 adam Exp $
+@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
@@ -9,6 +9,18 @@ ${PYSITELIB}/diff_match_patch/__init__.p
 ${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_test.py
-${PYSITELIB}/diff_match_patch/diff_match_patch_test.pyc
-${PYSITELIB}/diff_match_patch/diff_match_patch_test.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
Index: pkgsrc/textproc/py-diff-match-patch/distinfo
diff -u pkgsrc/textproc/py-diff-match-patch/distinfo:1.1 pkgsrc/textproc/py-diff-match-patch/distinfo:1.2
--- pkgsrc/textproc/py-diff-match-patch/distinfo:1.1    Tue Oct 17 11:34:36 2017
+++ pkgsrc/textproc/py-diff-match-patch/distinfo        Thu Jul  9 08:44:15 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2017/10/17 11:34:36 adam Exp $
+$NetBSD: distinfo,v 1.2 2020/07/09 08:44:15 adam Exp $
 
-SHA1 (diff-match-patch-20121119.tar.gz) = 79a93dc622fd47fe30349b0be4a4c6e5ffc9bf67
-RMD160 (diff-match-patch-20121119.tar.gz) = 0279fd90a2ec4db1cd797db47862084e216083ed
-SHA512 (diff-match-patch-20121119.tar.gz) = 3daff80a6043a0413c515125a21839d9fa1d71f7e2441f4870ebefed35f1accea711814ad231c65de0e3468bbd01402c977fc063ab120b7d9f0e04ef555a8207
-Size (diff-match-patch-20121119.tar.gz) = 54113 bytes
+SHA1 (diff-match-patch-20181111.tar.gz) = 3a74a95e65b431dd9e7e967b579e8e21dd6daef3
+RMD160 (diff-match-patch-20181111.tar.gz) = e01dabf595cee36ea587bac9653bf21d4281346c
+SHA512 (diff-match-patch-20181111.tar.gz) = 9b21726b9c0e350553533c14dd86cca823c6f98ab642e7166cf9348952a57b62bcb0576e3d6a3b76655ea1bcc8cef3fe7f33ffb068b5a4bfb4b4b521042484e6
+Size (diff-match-patch-20181111.tar.gz) = 58554 bytes



Home | Main Index | Thread Index | Old Index