Your message dated Tue, 5 Jun 2018 14:06:06 +0000
with message-id <20180605140606.GU3113@debian>
and subject line Re: [Python-modules-team] Bug#892565: codespell: please make
the build reproducible
has caused the Debian Bug report #892565,
regarding codespell: please make the build reproducible
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
892565: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892565
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: codespell
Version: 1.11.0-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: buildpath
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed
that codespell could not be built reproducibly as it includes the
absolute build path in the "default dictionary" part of the
generated manpage:
│ │ │ │ │ .TP
│ │ │ │ │ \fB\-D\fR FILE, \fB\-\-dictionary\fR=\fI\,FILE\/\fR
│ │ │ │ │ Custom dictionary file that contains spelling
│ │ │ │ │ corrections. If this flag is not specified or equals
│ │ │ │ │ -"\-" then default dictionary "/build/1st/codespell\-1.12
│ │ │ │ │ -\&.0/codespell_lib/data/dictionary.txt" is used. This
│ │ │ │ │ +"\-" then default dictionary "/build/codespell\-1.12.0/2
│ │ │ │ │ +nd/codespell_lib/data/dictionary.txt" is used. This
│ │ │ │ │ option can be specified multiple times.
│ │ │ │ │ .TP
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/patches/reproducible-build.patch 1969-12-31 16:00:00.000000000
-0800
--- b/debian/patches/reproducible-build.patch 2018-03-10 09:43:10.436994091
-0800
@@ -0,0 +1,18 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2018-03-10
+
+--- codespell-1.11.0.orig/codespell_lib/_codespell.py
++++ codespell-1.11.0/codespell_lib/_codespell.py
+@@ -220,9 +220,8 @@ def parse_options(args):
+ action='append', metavar='FILE',
+ help='Custom dictionary file that contains spelling '
+ 'corrections. If this flag is not specified or '
+- 'equals "-" then default dictionary "%s" is used. '
+- 'This option can be specified multiple times.' %
+- default_dictionary)
++ 'equals "-" then the default dictionary is used. '
++ 'This option can be specified multiple times.')
+ parser.add_option('-I', '--ignore-words',
+ action='append', metavar='FILE',
+ help='File that contains words which will be ignored '
--- a/debian/patches/series 2018-03-10 09:37:33.683246368 -0800
--- b/debian/patches/series 2018-03-10 09:43:08.340983180 -0800
@@ -0,0 +1 @@
+reproducible-build.patch
--- End Message ---
--- Begin Message ---
Control: fixed -1 1.13.0-1
Hi lamby, all,
On 18-03-29 12:27:34, Georg Faerber wrote:
> On 18-03-10 17:45:11, Chris Lamb wrote:
> > Whilst working on the Reproducible Builds effort [0], we noticed
> > that codespell could not be built reproducibly as it includes the
> > absolute build path in the "default dictionary" part of the
> > generated manpage:
>
> Confirmed. Rather than applying your patch, I'm more in favor to get
> this fixed upstream; created an issue over there, accordingly.
The patch was applied upstream, the new version including the fix was
uploaded recently. Thanks again!
Cheers,
Georg
signature.asc
Description: Digital signature
--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team