diff options
author | Johannes Schauer Marin Rodrigues <josch@debian.org> | 2023-02-17 11:43:49 +0100 |
---|---|---|
committer | Johannes Schauer Marin Rodrigues <josch@debian.org> | 2023-02-17 11:43:49 +0100 |
commit | 143152db193bda8babbb18234abfeca32ed91e8f (patch) | |
tree | 4b94e5834b8461f42a2fc13ba51e78d73ac937a9 | |
parent | 525e8cea05bcc9f530b1ea08f0d178fb75d97471 (diff) |
add patch to make tests work with black 23.1.0
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rw-r--r-- | debian/patches/wip.patch | 26 |
3 files changed, 33 insertions, 0 deletions
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 <josch@debian.org> 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: |