diff --git a/debian/patches/series b/debian/patches/series index 998d10f..fd1ff6f 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ 2to3.patch +typo-redwood.patch diff --git a/debian/patches/typo-redwood.patch b/debian/patches/typo-redwood.patch new file mode 100644 index 0000000..bd38dd8 --- /dev/null +++ b/debian/patches/typo-redwood.patch @@ -0,0 +1,24 @@ +Description: p/redwood.py: fixed what looks like a typo + this typo issued the following message during byte-compilation: + . + byte-compiling /mnt/data/emollier/debian/python-pauvre/debian/python3-pauvre/usr/lib/python3.8/dist-packages/pauvre/redwood.py to redwood.cpython-38.pyc + File "/usr/lib/python3.8/dist-packages/pauvre/redwood.py", line 706 + ifargs.BASENAME is None: + ^ + SyntaxError: invalid syntax +Author: Etienne Mollier +Bug: https://github.com/conchoecia/pauvre/pull/39 +Last-Update: 2020-04-25 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- python-pauvre.orig/pauvre/redwood.py ++++ python-pauvre/pauvre/redwood.py +@@ -703,7 +703,7 @@ + end = time.time() + print(end - start) + # Print image(s) +- ifargs.BASENAME is None: ++ if args.BASENAME is None: + file_base = "redwood" + else: + file_base = args.BASENAME