From 143152db193bda8babbb18234abfeca32ed91e8f Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Fri, 17 Feb 2023 11:43:49 +0100 Subject: add patch to make tests work with black 23.1.0 --- debian/changelog | 6 ++++++ debian/patches/series | 1 + debian/patches/wip.patch | 26 ++++++++++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 debian/patches/wip.patch diff --git a/debian/changelog b/debian/changelog index e4c0d11..123a866 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +botch (0.24-2) UNRELEASED; urgency=medium + + * add patch to make tests work with black 23.1.0 + + -- Johannes Schauer Marin Rodrigues Fri, 17 Feb 2023 11:41:51 +0100 + botch (0.24-1) unstable; urgency=medium * New upstream release diff --git a/debian/patches/series b/debian/patches/series index 697724b..9077b79 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ parany bi_outbuf tests +wip.patch diff --git a/debian/patches/wip.patch b/debian/patches/wip.patch new file mode 100644 index 0000000..95a7722 --- /dev/null +++ b/debian/patches/wip.patch @@ -0,0 +1,26 @@ +--- a/tools/packages-diff.py ++++ b/tools/packages-diff.py +@@ -25,7 +25,7 @@ def packages_diff(inPackages1, inPackage + + difference = False + +- for (pkg1, arch1, ver1) in pkgs1: ++ for pkg1, arch1, ver1 in pkgs1: + if (pkg1, arch1, ver1) not in pkgs2: + only_in_pkgs1.add((pkg1, arch1, ver1)) + else: +@@ -61,12 +61,12 @@ def packages_diff(inPackages1, inPackage + + if only_in_pkgs1: + print("Only in packages1:") +- for (pkg1, arch1, ver1) in only_in_pkgs1: ++ for pkg1, arch1, ver1 in only_in_pkgs1: + print(" %s:%s (= %s)" % (pkg1, arch1, ver1)) + + if only_in_pkgs2: + print("Only in packages2:") +- for (pkg2, arch2, ver2) in only_in_pkgs2: ++ for pkg2, arch2, ver2 in only_in_pkgs2: + print(" %s:%s (= %s)" % (pkg2, arch2, ver2)) + + if only_in_pkgs1 or only_in_pkgs2: -- cgit v1.2.3