1 Return-Path: <wking@tremily.us>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 13CA1431FC4
\r
6 for <notmuch@notmuchmail.org>; Sat, 5 Apr 2014 10:31:32 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001]
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id D39vX+Op5G58 for <notmuch@notmuchmail.org>;
\r
17 Sat, 5 Apr 2014 10:31:25 -0700 (PDT)
\r
18 Received: from qmta12.westchester.pa.mail.comcast.net
\r
19 (qmta12.westchester.pa.mail.comcast.net [76.96.59.227])
\r
20 by olra.theworths.org (Postfix) with ESMTP id 692BC431FAE
\r
21 for <notmuch@notmuchmail.org>; Sat, 5 Apr 2014 10:31:25 -0700 (PDT)
\r
22 Received: from omta14.westchester.pa.mail.comcast.net ([76.96.62.60])
\r
23 by qmta12.westchester.pa.mail.comcast.net with comcast
\r
24 id mHH11n0031HzFnQ5CHXRzp; Sat, 05 Apr 2014 17:31:25 +0000
\r
25 Received: from odin.tremily.us ([24.18.63.50])
\r
26 by omta14.westchester.pa.mail.comcast.net with comcast
\r
27 id mHXQ1n001152l3L3aHXQb9; Sat, 05 Apr 2014 17:31:25 +0000
\r
28 Received: from mjolnir.tremily.us (unknown [192.168.0.140])
\r
29 by odin.tremily.us (Postfix) with ESMTPS id ABFB31103C10;
\r
30 Sat, 5 Apr 2014 10:31:23 -0700 (PDT)
\r
31 Received: (nullmailer pid 16909 invoked by uid 1000);
\r
32 Sat, 05 Apr 2014 17:31:15 -0000
\r
33 From: "W. Trevor King" <wking@tremily.us>
\r
34 To: notmuch@notmuchmail.org
\r
35 Subject: [PATCH 0/7] doc: Python 3 compat, rst2man.py support, etc.
\r
36 Date: Sat, 5 Apr 2014 10:31:04 -0700
\r
37 Message-Id: <cover.1396718720.git.wking@tremily.us>
\r
38 X-Mailer: git-send-email 1.9.1.353.gc66d89d
\r
40 Content-Type: text/plain; charset=UTF-8
\r
41 Content-Transfer-Encoding: 8bit
\r
42 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;
\r
43 s=q20140121; t=1396719085;
\r
44 bh=fzWzuqEvt5COw5zp1mzzDMon8JXjv74H24EF52YfaqM=;
\r
45 h=Received:Received:Received:Received:From:To:Subject:Date:
\r
46 Message-Id:MIME-Version:Content-Type;
\r
47 b=efwrl0dBZeX65Px0weYUwcHSHIdOarm/1u2ulVj5JPepLcWcgYAlqSXupk73qe1sR
\r
48 yZwyrpi8J7rFNsUw/4an8Ql19mDw+6kkBbA9WLeyzFX70f44Zp2xwj8Qxn5sT6Ti5h
\r
49 PbuFPhxDDHKWYV919wAPSbAQ+jnexNybdw856BU+kyD8YbIXSlAMuMW5x1Ys4KocE9
\r
50 R1zjMO28bXstn2mGx6qYO/14R3IHEwIPcuyJlIDRzFparN9L/LUmgHdNGORbJuzJ5U
\r
51 EoyOu447DARvk5XtPyE+z9NRKDSVhNQU2y46r5zyVzzeLX2NTXfbDf3G8Dh18R4Ytp
\r
53 X-BeenThere: notmuch@notmuchmail.org
\r
54 X-Mailman-Version: 2.1.13
\r
56 List-Id: "Use and development of the notmuch mail system."
\r
57 <notmuch.notmuchmail.org>
\r
58 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
60 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
61 List-Post: <mailto:notmuch@notmuchmail.org>
\r
62 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
63 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
64 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
65 X-List-Received-Date: Sat, 05 Apr 2014 17:31:32 -0000
\r
67 I just bumped into this today while testing v2 of my
\r
68 content-description series:
\r
74 python ./doc/mkdocdeps.py ./doc doc/_build doc/docdeps.mk
\r
75 Traceback (most recent call last):
\r
76 File "./doc/mkdocdeps.py", line 6, in <module>
\r
77 execfile(srcdir + '/conf.py')
\r
78 NameError: name 'execfile' is not defined
\r
81 The first patch in this series fixes that issue, and the rest of the
\r
82 series fixes some other issues I bumped into while working on that.
\r
83 Sorry I missed these in the initial series.
\r
85 Note that while mkdocdeps.py and prerst2man.py are now Python 3
\r
86 compatible (with this series), the build will fail for Python's 3.0
\r
87 through 3.2 because of the explicit unicode literals in conf.py [1].
\r
88 It's likely that conf.py could use [2]
\r
90 from __future__ import unicode_literals
\r
92 drop the u'' prefixes, and be compatible with all Python's ≥2.6
\r
93 (including all 3s). I haven't checked the logic though, and I'm not
\r
94 running 3.2 locally anymore, so it's not a big priority for me.
\r
99 [1]: https://docs.python.org/3/whatsnew/3.3.html#pep-414-explicit-unicode-literals
\r
100 [2]: from __future__ import unicode_literals
\r
102 W. Trevor King (7):
\r
103 doc/mkdocdeps.py: Convert execfile to import
\r
104 doc/mkdocdeps.py: Use "with" statement for the output file
\r
105 doc/prerst2man.py: Use Python-3-compatible octal notation
\r
106 doc/prerst2man.py: Fix 'os.system' -> 'system' typo
\r
107 doc: Allow rst2man.py as an alternative to rst2man
\r
108 doc/prerst2man.py: Convert execfile to import
\r
109 doc/INSTALL: Remove rst2man reference and other updates
\r
111 configure | 12 +++++++-----
\r
112 doc/INSTALL | 34 ++++++++++++++++++++--------------
\r
113 doc/Makefile.local | 6 +++---
\r
114 doc/mkdocdeps.py | 19 ++++++++++---------
\r
115 doc/prerst2man.py | 25 ++++++++++++++-----------
\r
116 5 files changed, 54 insertions(+), 42 deletions(-)
\r