Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-diff-match-patch py-diff-match-patch: upda...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d6cb75ebc6d1
branches:  trunk
changeset: 435553:d6cb75ebc6d1
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Jul 09 08:44:15 2020 +0000

description:
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

diffstat:

 textproc/py-diff-match-patch/Makefile |  16 +++++++++++++---
 textproc/py-diff-match-patch/PLIST    |  20 ++++++++++++++++----
 textproc/py-diff-match-patch/distinfo |  10 +++++-----
 3 files changed, 34 insertions(+), 12 deletions(-)

diffs (79 lines):

diff -r fa7ade933b8e -r d6cb75ebc6d1 textproc/py-diff-match-patch/Makefile
--- a/textproc/py-diff-match-patch/Makefile     Thu Jul 09 08:36:33 2020 +0000
+++ b/textproc/py-diff-match-patch/Makefile     Thu Jul 09 08:44:15 2020 +0000
@@ -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"
diff -r fa7ade933b8e -r d6cb75ebc6d1 textproc/py-diff-match-patch/PLIST
--- a/textproc/py-diff-match-patch/PLIST        Thu Jul 09 08:36:33 2020 +0000
+++ b/textproc/py-diff-match-patch/PLIST        Thu Jul 09 08:44:15 2020 +0000
@@ -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/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
diff -r fa7ade933b8e -r d6cb75ebc6d1 textproc/py-diff-match-patch/distinfo
--- a/textproc/py-diff-match-patch/distinfo     Thu Jul 09 08:36:33 2020 +0000
+++ b/textproc/py-diff-match-patch/distinfo     Thu Jul 09 08:44:15 2020 +0000
@@ -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