pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/py-diffoscope



Module Name:    pkgsrc
Committed By:   joerg
Date:           Thu Dec 27 15:03:53 UTC 2018

Modified Files:
        pkgsrc/sysutils/py-diffoscope: distinfo
Added Files:
        pkgsrc/sysutils/py-diffoscope/patches:
            patch-diffoscope_comparators_json.py
            patch-diffoscope_presenters_formats.py

Log Message:
Remove trailing comma from generator expressions for Python 3.7 compat.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/sysutils/py-diffoscope/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/sysutils/py-diffoscope/patches/patch-diffoscope_comparators_json.py \
    pkgsrc/sysutils/py-diffoscope/patches/patch-diffoscope_presenters_formats.py

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

Modified files:

Index: pkgsrc/sysutils/py-diffoscope/distinfo
diff -u pkgsrc/sysutils/py-diffoscope/distinfo:1.5 pkgsrc/sysutils/py-diffoscope/distinfo:1.6
--- pkgsrc/sysutils/py-diffoscope/distinfo:1.5  Wed May 16 06:54:52 2018
+++ pkgsrc/sysutils/py-diffoscope/distinfo      Thu Dec 27 15:03:53 2018
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.5 2018/05/16 06:54:52 adam Exp $
+$NetBSD: distinfo,v 1.6 2018/12/27 15:03:53 joerg Exp $
 
 SHA1 (diffoscope-94.tar.gz) = 2dca48b577383377d4bb43d9472ecd9ae5112739
 RMD160 (diffoscope-94.tar.gz) = 78261a206f3c232c2b5e386eb3b5b6d825a79d56
 SHA512 (diffoscope-94.tar.gz) = a68fda09a8340b1b36683b0bda4c854cb04afb189b0464185b6de655c7fe2e122215612a0154738a1174ca1594bab3598359b10425a2375f692eb0bd089d89f1
 Size (diffoscope-94.tar.gz) = 9405785 bytes
+SHA1 (patch-diffoscope_comparators_json.py) = 6f148f9847f8d0b24007feaeed76265dfb47b8e9
+SHA1 (patch-diffoscope_presenters_formats.py) = f42ba00bcdf7347ed82c7b6aaff3af17b662b246

Added files:

Index: pkgsrc/sysutils/py-diffoscope/patches/patch-diffoscope_comparators_json.py
diff -u /dev/null pkgsrc/sysutils/py-diffoscope/patches/patch-diffoscope_comparators_json.py:1.1
--- /dev/null   Thu Dec 27 15:03:53 2018
+++ pkgsrc/sysutils/py-diffoscope/patches/patch-diffoscope_comparators_json.py  Thu Dec 27 15:03:53 2018
@@ -0,0 +1,13 @@
+$NetBSD: patch-diffoscope_comparators_json.py,v 1.1 2018/12/27 15:03:53 joerg Exp $
+
+--- diffoscope/comparators/json.py.orig        2018-12-25 21:53:50.738372750 +0000
++++ diffoscope/comparators/json.py
+@@ -39,7 +39,7 @@ class JSONFile(File):
+             # Try fuzzy matching for JSON files
+             is_text = any(
+                 file.magic_file_type.startswith(x)
+-                for x in ('ASCII text', 'UTF-8 Unicode text'),
++                for x in ('ASCII text', 'UTF-8 Unicode text')
+             )
+             if is_text and not file.name.endswith('.json'):
+                 buf = f.read(10)
Index: pkgsrc/sysutils/py-diffoscope/patches/patch-diffoscope_presenters_formats.py
diff -u /dev/null pkgsrc/sysutils/py-diffoscope/patches/patch-diffoscope_presenters_formats.py:1.1
--- /dev/null   Thu Dec 27 15:03:53 2018
+++ pkgsrc/sysutils/py-diffoscope/patches/patch-diffoscope_presenters_formats.py        Thu Dec 27 15:03:53 2018
@@ -0,0 +1,11 @@
+$NetBSD: patch-diffoscope_presenters_formats.py,v 1.1 2018/12/27 15:03:53 joerg Exp $
+
+--- diffoscope/presenters/formats.py.orig      2018-12-25 21:54:25.209444143 +0000
++++ diffoscope/presenters/formats.py
+@@ -109,5 +109,5 @@ class PresenterManager(object):
+         """
+ 
+         return any(
+-            x['klass'].supports_visual_diffs for x in self.config.values(),
++            x['klass'].supports_visual_diffs for x in self.config.values()
+         )



Home | Main Index | Thread Index | Old Index