Hello community,

here is the log from the commit of package mwic for openSUSE:Factory checked in 
at 2018-10-22 11:25:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mwic (Old)
 and      /work/SRC/openSUSE:Factory/.mwic.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mwic"

Mon Oct 22 11:25:31 2018 rev:4 rq:643328 version:0.7.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/mwic/mwic.changes        2018-08-24 
17:01:16.609870259 +0200
+++ /work/SRC/openSUSE:Factory/.mwic.new/mwic.changes   2018-10-22 
11:25:39.571017703 +0200
@@ -1,0 +2,7 @@
+Sat Oct 13 07:55:26 UTC 2018 - Sebastian Wagner <[email protected]>
+
+- add reproducible-manpage.patch
+- update to version 0.7.6:
+ * no upstream changelog available
+
+-------------------------------------------------------------------

Old:
----
  mwic-0.7.5.tar.gz
  mwic-0.7.5.tar.gz.asc

New:
----
  mwic-0.7.6.tar.gz
  mwic-0.7.6.tar.gz.asc
  reproducible-manpage.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mwic.spec ++++++
--- /var/tmp/diff_new_pack.C0bW2u/_old  2018-10-22 11:25:41.023016275 +0200
+++ /var/tmp/diff_new_pack.C0bW2u/_new  2018-10-22 11:25:41.023016275 +0200
@@ -12,22 +12,25 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{!?license: %global license %doc}
 Name:           mwic
-Version:        0.7.5
+Version:        0.7.6
 Release:        0
 Summary:        A spellchecker with grouping support
 License:        MIT
 Group:          Productivity/Office/Other
 Url:            http://jwilk.net/software/mwic
 Source:         
https://github.com/jwilk/mwic/releases/download/%{version}/mwic-%{version}.tar.gz
+# PATH-FIX-UPSTREAM reproducible-manpage.patch --  make manpage reproducible 
https://github.com/jwilk/mwic/issues/8
+Patch0:         
https://github.com/jwilk/mwic/commit/b34ec23082995ef7d59fc43eb9b708c25560fb47.patch#/reproducible-manpage.patch
 Source1:        
https://github.com/jwilk/mwic/releases/download/%{version}/mwic-%{version}.tar.gz.asc
 Source2:        %{name}.keyring
 BuildRequires:  python3-devel >= 3.2
+BuildRequires:  python3-docutils
 Requires:       python3-pyenchant
 Requires:       python3-regex
 BuildArch:      noarch
@@ -40,6 +43,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 sed -i '1s%^#!.*%#!/usr/bin/python3%' mwic

++++++ mwic-0.7.5.tar.gz -> mwic-0.7.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mwic-0.7.5/.pylintrc new/mwic-0.7.6/.pylintrc
--- old/mwic-0.7.5/.pylintrc    2018-04-26 15:52:56.000000000 +0200
+++ new/mwic-0.7.6/.pylintrc    2018-09-06 21:23:55.000000000 +0200
@@ -1,3 +1,6 @@
+[MASTER]
+load-plugins = pylint.extensions.check_elif
+
 [MESSAGES CONTROL]
 disable =
     bad-builtin,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mwic-0.7.5/Makefile new/mwic-0.7.6/Makefile
--- old/mwic-0.7.5/Makefile     2018-04-26 15:52:56.000000000 +0200
+++ new/mwic-0.7.6/Makefile     2018-09-06 21:23:55.000000000 +0200
@@ -19,7 +19,7 @@
 # SOFTWARE.
 
 PYTHON = python3
-INSTALL = install
+INSTALL = $(if $(shell command -v ginstall;),ginstall,install)
 
 PREFIX = /usr/local
 DESTDIR =
@@ -59,4 +59,6 @@
        find . -type d -name '__pycache__' -delete
        rm -f .coverage
 
+.error = GNU make is required
+
 # vim:ts=4 sts=4 sw=4 noet
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mwic-0.7.5/doc/Makefile new/mwic-0.7.6/doc/Makefile
--- old/mwic-0.7.5/doc/Makefile 2018-04-26 15:52:56.000000000 +0200
+++ new/mwic-0.7.6/doc/Makefile 2018-09-06 21:23:55.000000000 +0200
@@ -1,4 +1,4 @@
-# Copyright © 2014-2017 Jakub Wilk <[email protected]>
+# Copyright © 2014-2018 Jakub Wilk <[email protected]>
 #
 # Permission is hereby granted, free of charge, to any person obtaining a copy
 # of this software and associated documentation files (the “Software”), to deal
@@ -20,7 +20,7 @@
 
 export LC_ALL=C
 
-rst2man = $(or $(shell which rst2man),rst2man.py)
+rst2man = $(notdir $(shell command -v rst2man || echo rst2man.py))
 exe = mwic
 
 .PHONY: all
@@ -37,4 +37,6 @@
 clean:
        rm -f $(exe).1 *.tmp
 
+.error = GNU make is required
+
 # vim:ts=4 sts=4 sw=4 noet
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mwic-0.7.5/doc/README new/mwic-0.7.6/doc/README
--- old/mwic-0.7.5/doc/README   2018-04-26 15:52:56.000000000 +0200
+++ new/mwic-0.7.6/doc/README   2018-09-06 21:24:08.000000000 +0200
@@ -2,9 +2,10 @@
 ========
 
 **mwic** is a spell-checker that groups possible misspellings and shows them in
-their contexts. This is useful for checking technical documents that often
+their contexts. This is useful for checking technical documents, which often
 contain words that are not included in standard dictionaries.
 
+
 Prerequisites
 =============
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mwic-0.7.5/doc/changelog new/mwic-0.7.6/doc/changelog
--- old/mwic-0.7.5/doc/changelog        2018-04-26 15:52:56.000000000 +0200
+++ new/mwic-0.7.6/doc/changelog        2018-09-06 21:23:55.000000000 +0200
@@ -1,3 +1,18 @@
+mwic (0.7.6) unstable; urgency=low
+
+  * Improve documentation:
+    + Fix grammar in the description.
+    + Update codespell URL.
+    + Add example screenshot.
+  * Improve the build system:
+    + Add checks against BSD make. (Only GNU make is supported.)
+    + Use ginstall(1), instead of install(1), if it exists.
+  * Fix test failure (multiword-is-t).
+    Thanks to Daniel M. Capella for the bug report.
+    https://github.com/jwilk/mwic/issues/7
+
+ -- Jakub Wilk <[email protected]>  Thu, 06 Sep 2018 21:23:51 +0200
+
 mwic (0.7.5) unstable; urgency=low
 
   * Drop support for Python 3.2.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mwic-0.7.5/doc/manpage.rst 
new/mwic-0.7.6/doc/manpage.rst
--- old/mwic-0.7.5/doc/manpage.rst      2018-04-26 15:52:56.000000000 +0200
+++ new/mwic-0.7.6/doc/manpage.rst      2018-09-06 21:23:55.000000000 +0200
@@ -7,7 +7,7 @@
 ---------------------------
 
 :manual section: 1
-:version: mwic 0.7.5
+:version: mwic 0.7.6
 :date: |date|
 
 Synopsis
@@ -17,7 +17,8 @@
 Description
 -----------
 **mwic** is a spell-checker that groups possible misspellings and shows them 
in their contexts.
-This is useful for checking technical documents that often contain words that 
are not included in standard dictionaries.
+This is useful for checking technical documents,
+which often contain words that are not included in standard dictionaries.
 
 
 Options
@@ -114,7 +115,7 @@
 
 * codespell:
 
-  | 
https://github.com/lucasdemarchi/codespell/raw/master/codespell_lib/data/dictionary.txt
+  | 
https://github.com/codespell-project/codespell/raw/master/codespell_lib/data/dictionary.txt
 
 * kde-dev-scripts:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mwic-0.7.5/doc/mwic.1 new/mwic-0.7.6/doc/mwic.1
--- old/mwic-0.7.5/doc/mwic.1   2018-04-26 15:53:27.000000000 +0200
+++ new/mwic-0.7.6/doc/mwic.1   2018-09-06 21:24:08.000000000 +0200
@@ -1,6 +1,6 @@
 .\" Man page generated from reStructuredText.
 .
-.TH MWIC 1 "2018-04-26" "mwic 0.7.5" ""
+.TH MWIC 1 "2018-09-06" "mwic 0.7.6" ""
 .SH NAME
 mwic \- Misspelled Words In Context
 .
@@ -36,7 +36,8 @@
 .SH DESCRIPTION
 .sp
 \fBmwic\fP is a spell\-checker that groups possible misspellings and shows 
them in their contexts.
-This is useful for checking technical documents that often contain words that 
are not included in standard dictionaries.
+This is useful for checking technical documents,
+which often contain words that are not included in standard dictionaries.
 .SH OPTIONS
 .INDENT 0.0
 .TP
@@ -135,7 +136,7 @@
 .IP \(bu 2
 codespell:
 .nf
-\fI\%https://github.com/lucasdemarchi/codespell/raw/master/codespell_lib/data/dictionary.txt\fP
+\fI\%https://github.com/codespell\-project/codespell/raw/master/codespell_lib/data/dictionary.txt\fP
 .fi
 .sp
 .IP \(bu 2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mwic-0.7.5/doc/screenshot.svg 
new/mwic-0.7.6/doc/screenshot.svg
--- old/mwic-0.7.5/doc/screenshot.svg   1970-01-01 01:00:00.000000000 +0100
+++ new/mwic-0.7.6/doc/screenshot.svg   2018-09-06 21:23:55.000000000 +0200
@@ -0,0 +1,30 @@
+<svg xmlns="http://www.w3.org/2000/svg"; baseProfile="full" height="76.2ex" 
version="1.1" viewBox="0 0 804 762" width="80.4ex">
+<g font-family="monospace" font-size="16">
+<rect height="764" width="804"></rect><rect height="20" width="10" x="2" 
y="2"></rect><g fill="#fff" font-weight="bold"><text x="2" y="17">$</text> 
</g><rect height="20" width="740" x="12" y="2"></rect><g fill="#e4e4e4"><text 
x="22" y="17">m</text><text x="32" y="17">w</text><text x="42" 
y="17">i</text><text x="52" y="17">c</text> <text x="72" y="17">-</text><text 
x="82" y="17">-</text><text x="92" y="17">b</text><text x="102" 
y="17">l</text><text x="112" y="17">a</text><text x="122" y="17">c</text><text 
x="132" y="17">k</text><text x="142" y="17">l</text><text x="152" 
y="17">i</text><text x="162" y="17">s</text><text x="172" y="17">t</text> <text 
x="192" y="17">/</text><text x="202" y="17">u</text><text x="212" 
y="17">s</text><text x="222" y="17">r</text><text x="232" y="17">/</text><text 
x="242" y="17">s</text><text x="252" y="17">h</text><text x="262" 
y="17">a</text><text x="272" y="17">r</text><text x="282" y="17">e</text><text 
x="292" y="17">/</text><text x="302" y="17">l</text><text x="312" 
y="17">i</text><text x="322" y="17">n</text><text x="332" y="17">t</text><text 
x="342" y="17">i</text><text x="352" y="17">a</text><text x="362" 
y="17">n</text><text x="372" y="17">/</text><text x="382" y="17">d</text><text 
x="392" y="17">a</text><text x="402" y="17">t</text><text x="412" 
y="17">a</text><text x="422" y="17">/</text><text x="432" y="17">s</text><text 
x="442" y="17">p</text><text x="452" y="17">e</text><text x="462" 
y="17">l</text><text x="472" y="17">l</text><text x="482" y="17">i</text><text 
x="492" y="17">n</text><text x="502" y="17">g</text><text x="512" 
y="17">/</text><text x="522" y="17">c</text><text x="532" y="17">o</text><text 
x="542" y="17">r</text><text x="552" y="17">r</text><text x="562" 
y="17">e</text><text x="572" y="17">c</text><text x="582" y="17">t</text><text 
x="592" y="17">i</text><text x="602" y="17">o</text><text x="612" 
y="17">n</text><text x="622" y="17">s</text> <text x="642" y="17">r</text><text 
x="652" y="17">f</text><text x="662" y="17">c</text><text x="672" 
y="17">1</text><text x="682" y="17">9</text><text x="692" y="17">2</text><text 
x="702" y="17">7</text><text x="712" y="17">.</text><text x="722" 
y="17">t</text><text x="732" y="17">x</text><text x="742" y="17">t</text></g>
+<rect height="20" width="50" x="752" y="2"></rect><rect height="20" 
width="130" x="2" y="22"></rect><g fill="#e4e4e4"><text x="2" 
y="37">h</text><text x="12" y="37">e</text><text x="22" y="37">i</text><text 
x="32" y="37">r</text><text x="42" y="37">a</text><text x="52" 
y="37">r</text><text x="62" y="37">c</text><text x="72" y="37">h</text><text 
x="82" y="37">i</text><text x="92" y="37">c</text><text x="102" 
y="37">a</text><text x="112" y="37">l</text><text x="122" y="37">:</text></g>
+<rect height="20" width="670" x="132" y="22"></rect><rect height="20" 
width="10" x="2" y="42"></rect><g fill="#4d4d4d" font-weight="bold"><text x="2" 
y="57">|</text> </g><rect height="20" width="310" x="12" y="42"></rect><g 
fill="#e4e4e4"><text x="22" y="57">…</text><text x="32" y="57">g</text> <text 
x="52" y="57">p</text><text x="62" y="57">a</text><text x="72" 
y="57">p</text><text x="82" y="57">e</text><text x="92" y="57">r</text> <text 
x="112" y="57">c</text><text x="122" y="57">l</text><text x="132" 
y="57">i</text><text x="142" y="57">p</text><text x="152" y="57">s</text> <text 
x="172" y="57">v</text><text x="182" y="57">s</text> <text x="202" 
y="57">s</text><text x="212" y="57">m</text><text x="222" y="57">a</text><text 
x="232" y="57">l</text><text x="242" y="57">l</text> <text x="262" 
y="57">o</text><text x="272" y="57">n</text><text x="282" y="57">e</text><text 
x="292" y="57">s</text><text x="302" y="57">;</text> </g><rect fill="#c00" 
height="20" width="120" x="322" y="42"></rect><g><text x="322" 
y="57">h</text><text x="332" y="57">e</text><text x="342" y="57">i</text><text 
x="352" y="57">r</text><text x="362" y="57">a</text><text x="372" 
y="57">r</text><text x="382" y="57">c</text><text x="392" y="57">h</text><text 
x="402" y="57">i</text><text x="412" y="57">c</text><text x="422" 
y="57">a</text><text x="432" y="57">l</text> </g><rect height="20" width="90" 
x="442" y="42"></rect><g fill="#e4e4e4"><text x="452" y="57">a</text><text 
x="462" y="57">s</text><text x="472" y="57">s</text><text x="482" 
y="57">e</text><text x="492" y="57">m</text><text x="502" y="57">b</text><text 
x="512" y="57">l</text><text x="522" y="57">y</text></g>
+<rect height="20" width="270" x="532" y="42"></rect><rect height="20" 
width="800" x="2" y="62"></rect><rect height="20" width="80" x="2" 
y="82"></rect><g fill="#e4e4e4"><text x="2" y="97">r</text><text x="12" 
y="97">e</text><text x="22" y="97">y</text><text x="32" y="97">c</text><text 
x="42" y="97">l</text><text x="52" y="97">e</text><text x="62" 
y="97">d</text><text x="72" y="97">:</text></g>
+<rect height="20" width="720" x="82" y="82"></rect><rect height="20" 
width="10" x="2" y="102"></rect><g fill="#4d4d4d" font-weight="bold"><text 
x="2" y="117">|</text> </g><rect height="20" width="210" x="12" 
y="102"></rect><g fill="#e4e4e4"><text x="22" y="117">1</text><text x="32" 
y="117">)</text> <text x="52" y="117">s</text><text x="62" 
y="117">t</text><text x="72" y="117">a</text><text x="82" y="117">p</text><text 
x="92" y="117">l</text><text x="102" y="117">e</text><text x="112" 
y="117">s</text> <text x="132" y="117">c</text><text x="142" 
y="117">o</text><text x="152" y="117">u</text><text x="162" 
y="117">l</text><text x="172" y="117">d</text> <text x="192" 
y="117">b</text><text x="202" y="117">e</text> </g><rect fill="#cc8500" 
height="20" width="70" x="222" y="102"></rect><g><text x="222" 
y="117">r</text><text x="232" y="117">e</text><text x="242" 
y="117">y</text><text x="252" y="117">c</text><text x="262" 
y="117">l</text><text x="272" y="117">e</text><text x="282" y="117">d</text> 
</g><rect height="20" width="190" x="292" y="102"></rect><g 
fill="#e4e4e4"><text x="302" y="117">f</text><text x="312" 
y="117">o</text><text x="322" y="117">r</text> <text x="342" y="117">a</text> 
<text x="362" y="117">s</text><text x="372" y="117">m</text><text x="382" 
y="117">a</text><text x="392" y="117">l</text><text x="402" y="117">l</text> 
<text x="422" y="117">c</text><text x="432" y="117">r</text><text x="442" 
y="117">e</text><text x="452" y="117">d</text><text x="462" 
y="117">i</text><text x="472" y="117">t</text></g>
+<rect height="20" width="320" x="482" y="102"></rect><rect height="20" 
width="800" x="2" y="122"></rect><rect height="20" width="70" x="2" 
y="142"></rect><g fill="#e4e4e4"><text x="2" y="157">f</text><text x="12" 
y="157">l</text><text x="22" y="157">i</text><text x="32" y="157">n</text><text 
x="42" y="157">e</text><text x="52" y="157">s</text><text x="62" 
y="157">:</text></g>
+<rect height="20" width="730" x="72" y="142"></rect><rect height="20" 
width="10" x="2" y="162"></rect><g fill="#4d4d4d" font-weight="bold"><text 
x="2" y="177">|</text> </g><rect height="20" width="310" x="12" 
y="162"></rect><g fill="#e4e4e4"><text x="22" y="177">…</text><text x="32" 
y="177">y</text> <text x="52" y="177">s</text><text x="62" 
y="177">h</text><text x="72" y="177">o</text><text x="82" y="177">u</text><text 
x="92" y="177">l</text><text x="102" y="177">d</text> <text x="122" 
y="177">n</text><text x="132" y="177">o</text><text x="142" y="177">t</text> 
<text x="162" y="177">b</text><text x="172" y="177">e</text> <text x="192" 
y="177">u</text><text x="202" y="177">s</text><text x="212" 
y="177">e</text><text x="222" y="177">d</text> <text x="242" 
y="177">o</text><text x="252" y="177">n</text> <text x="272" 
y="177">d</text><text x="282" y="177">a</text><text x="292" 
y="177">t</text><text x="302" y="177">a</text> </g><rect fill="#cc8500" 
height="20" width="60" x="322" y="162"></rect><g><text x="322" 
y="177">f</text><text x="332" y="177">l</text><text x="342" 
y="177">i</text><text x="352" y="177">n</text><text x="362" 
y="177">e</text><text x="372" y="177">s</text> </g><rect height="20" 
width="220" x="382" y="162"></rect><g fill="#e4e4e4"><text x="392" 
y="177">w</text><text x="402" y="177">h</text><text x="412" 
y="177">i</text><text x="422" y="177">c</text><text x="432" y="177">h</text> 
<text x="452" y="177">m</text><text x="462" y="177">i</text><text x="472" 
y="177">g</text><text x="482" y="177">h</text><text x="492" y="177">t</text> 
<text x="512" y="177">e</text><text x="522" y="177">n</text><text x="532" 
y="177">d</text> <text x="552" y="177">u</text><text x="562" y="177">p</text> 
<text x="582" y="177">i</text><text x="592" y="177">n</text></g>
+<rect height="20" width="200" x="602" y="162"></rect><rect height="20" 
width="800" x="2" y="182"></rect><rect height="20" width="90" x="2" 
y="202"></rect><g fill="#e4e4e4"><text x="2" y="217">r</text><text x="12" 
y="217">e</text><text x="22" y="217">c</text><text x="32" y="217">y</text><text 
x="42" y="217">c</text><text x="52" y="217">l</text><text x="62" 
y="217">e</text><text x="72" y="217">r</text><text x="82" y="217">:</text></g>
+<rect height="20" width="710" x="92" y="202"></rect><rect height="20" 
width="10" x="2" y="222"></rect><g fill="#4d4d4d" font-weight="bold"><text 
x="2" y="237">|</text> </g><rect height="20" width="310" x="12" 
y="222"></rect><g fill="#e4e4e4"><text x="22" y="237">…</text><text x="32" 
y="237">i</text><text x="42" y="237">l</text><text x="52" y="237">e</text> 
<text x="72" y="237">o</text><text x="82" y="237">r</text> <text x="102" 
y="237">f</text><text x="112" y="237">o</text><text x="122" 
y="237">l</text><text x="132" y="237">d</text><text x="142" 
y="237">e</text><text x="152" y="237">r</text> <text x="172" 
y="237">i</text><text x="182" y="237">s</text> <text x="202" 
y="237">d</text><text x="212" y="237">e</text><text x="222" 
y="237">l</text><text x="232" y="237">e</text><text x="242" 
y="237">t</text><text x="252" y="237">e</text><text x="262" 
y="237">d</text><text x="272" y="237">,</text> <text x="292" y="237">a</text> 
<text x="312" y="237">"</text></g><rect fill="#cc8500" height="20" width="80" 
x="322" y="222"></rect><g><text x="322" y="237">r</text><text x="332" 
y="237">e</text><text x="342" y="237">c</text><text x="352" 
y="237">y</text><text x="362" y="237">c</text><text x="372" 
y="237">l</text><text x="382" y="237">e</text><text x="392" 
y="237">r</text></g><rect height="20" width="150" x="402" y="222"></rect><g 
fill="#e4e4e4"><text x="402" y="237">"</text> <text x="422" 
y="237">p</text><text x="432" y="237">r</text><text x="442" 
y="237">o</text><text x="452" y="237">g</text><text x="462" 
y="237">r</text><text x="472" y="237">a</text><text x="482" y="237">m</text> 
<text x="502" y="237">c</text><text x="512" y="237">o</text><text x="522" 
y="237">u</text><text x="532" y="237">l</text><text x="542" y="237">d</text></g>
+<rect height="20" width="250" x="552" y="222"></rect><rect height="20" 
width="800" x="2" y="242"></rect><rect height="20" width="40" x="2" 
y="262"></rect><g fill="#e4e4e4"><text x="2" y="277">s</text><text x="12" 
y="277">r</text><text x="22" y="277">c</text><text x="32" y="277">:</text></g>
+<rect height="20" width="760" x="42" y="262"></rect><rect height="20" 
width="10" x="2" y="282"></rect><g fill="#4d4d4d" font-weight="bold"><text 
x="2" y="297">|</text> </g><rect height="20" width="50" x="12" 
y="282"></rect><g fill="#e4e4e4"><text x="22" y="297">3</text><text x="32" 
y="297">)</text> <text x="52" y="297">"</text></g><rect fill="#cc8500" 
height="20" width="30" x="62" y="282"></rect><g><text x="62" 
y="297">s</text><text x="72" y="297">r</text><text x="82" 
y="297">c</text></g><rect height="20" width="300" x="92" y="282"></rect><g 
fill="#e4e4e4"><text x="92" y="297">=</text><text x="102" y="297">"</text> 
<text x="122" y="297">w</text><text x="132" y="297">o</text><text x="142" 
y="297">u</text><text x="152" y="297">l</text><text x="162" y="297">d</text> 
<text x="182" y="297">a</text><text x="192" y="297">l</text><text x="202" 
y="297">l</text><text x="212" y="297">o</text><text x="222" y="297">w</text> 
<text x="242" y="297">t</text><text x="252" y="297">h</text><text x="262" 
y="297">e</text> <text x="282" y="297">s</text><text x="292" 
y="297">p</text><text x="302" y="297">e</text><text x="312" 
y="297">c</text><text x="322" y="297">i</text><text x="332" 
y="297">f</text><text x="342" y="297">i</text><text x="352" 
y="297">c</text><text x="362" y="297">a</text><text x="372" 
y="297">t</text><text x="382" y="297">…</text></g>
+<rect height="20" width="410" x="392" y="282"></rect><rect height="20" 
width="800" x="2" y="302"></rect><rect height="20" width="40" x="2" 
y="322"></rect><g fill="#e4e4e4"><text x="2" y="337">I</text><text x="12" 
y="337">S</text><text x="22" y="337">I</text><text x="32" y="337">:</text></g>
+<rect height="20" width="760" x="42" y="322"></rect><rect height="20" 
width="10" x="2" y="342"></rect><g fill="#4d4d4d" font-weight="bold"><text 
x="2" y="357">|</text> </g><rect height="20" width="310" x="12" 
y="342"></rect><g fill="#e4e4e4"><text x="22" y="357">…</text> </g><rect 
fill="#cc8500" height="20" width="30" x="322" y="342"></rect><g><text x="322" 
y="357">I</text><text x="332" y="357">S</text><text x="342" y="357">I</text></g>
+<rect height="20" width="450" x="352" y="342"></rect><rect height="20" 
width="800" x="2" y="362"></rect><rect height="20" width="40" x="2" 
y="382"></rect><g fill="#e4e4e4"><text x="2" y="397">U</text><text x="12" 
y="397">S</text><text x="22" y="397">C</text><text x="32" y="397">:</text></g>
+<rect height="20" width="760" x="42" y="382"></rect><rect height="20" 
width="10" x="2" y="402"></rect><g fill="#4d4d4d" font-weight="bold"><text 
x="2" y="417">|</text> </g><rect height="20" width="10" x="12" 
y="402"></rect><rect fill="#cc8500" height="20" width="30" x="22" 
y="402"></rect><g><text x="22" y="417">U</text><text x="32" 
y="417">S</text><text x="42" y="417">C</text></g><rect height="20" width="300" 
x="52" y="402"></rect><g fill="#e4e4e4"><text x="52" y="417">/</text><text 
x="62" y="417">I</text><text x="72" y="417">n</text><text x="82" 
y="417">f</text><text x="92" y="417">o</text><text x="102" 
y="417">r</text><text x="112" y="417">m</text><text x="122" 
y="417">a</text><text x="132" y="417">t</text><text x="142" 
y="417">i</text><text x="152" y="417">o</text><text x="162" y="417">n</text> 
<text x="182" y="417">S</text><text x="192" y="417">c</text><text x="202" 
y="417">i</text><text x="212" y="417">e</text><text x="222" 
y="417">n</text><text x="232" y="417">c</text><text x="242" 
y="417">e</text><text x="252" y="417">s</text> <text x="272" 
y="417">I</text><text x="282" y="417">n</text><text x="292" 
y="417">s</text><text x="302" y="417">t</text><text x="312" 
y="417">i</text><text x="322" y="417">t</text><text x="332" 
y="417">u</text><text x="342" y="417">…</text></g>
+<rect height="20" width="450" x="352" y="402"></rect><rect height="20" 
width="800" x="2" y="422"></rect><rect height="20" width="60" x="2" 
y="442"></rect><g fill="#e4e4e4"><text x="2" y="457">b</text><text x="12" 
y="457">e</text><text x="22" y="457">n</text><text x="32" y="457">t</text><text 
x="42" y="457">o</text><text x="52" y="457">:</text></g>
+<rect height="20" width="740" x="62" y="442"></rect><rect height="20" 
width="10" x="2" y="462"></rect><g fill="#4d4d4d" font-weight="bold"><text 
x="2" y="477">|</text> </g><rect height="20" width="310" x="12" 
y="462"></rect><g fill="#e4e4e4"><text x="22" y="477">…</text><text x="32" 
y="477">f</text> <text x="52" y="477">5</text><text x="62" 
y="477">0</text><text x="72" y="477">0</text><text x="82" y="477">0</text><text 
x="92" y="477">.</text> <text x="122" y="477">R</text><text x="132" 
y="477">e</text><text x="142" y="477">f</text><text x="152" 
y="477">e</text><text x="162" y="477">r</text><text x="172" 
y="477">e</text><text x="182" y="477">n</text><text x="192" 
y="477">c</text><text x="202" y="477">e</text><text x="212" y="477">:</text> 
<text x="232" y="477">A</text><text x="242" y="477">p</text><text x="252" 
y="477">p</text><text x="262" y="477">l</text><text x="272" 
y="477">e</text><text x="282" y="477">'</text><text x="292" y="477">s</text> 
<text x="312" y="477">"</text></g><rect fill="#cc8500" height="20" width="50" 
x="322" y="462"></rect><g><text x="322" y="477">b</text><text x="332" 
y="477">e</text><text x="342" y="477">n</text><text x="352" 
y="477">t</text><text x="362" y="477">o</text></g><rect height="20" width="10" 
x="372" y="462"></rect><g fill="#e4e4e4"><text x="372" y="477">"</text></g>
+<rect height="20" width="420" x="382" y="462"></rect><rect height="20" 
width="800" x="2" y="482"></rect><rect height="20" width="100" x="2" 
y="502"></rect><g fill="#e4e4e4"><text x="2" y="517">m</text><text x="12" 
y="517">u</text><text x="22" y="517">l</text><text x="32" y="517">t</text><text 
x="42" y="517">i</text><text x="52" y="517">p</text><text x="62" 
y="517">a</text><text x="72" y="517">g</text><text x="82" y="517">e</text><text 
x="92" y="517">:</text></g>
+<rect height="20" width="700" x="102" y="502"></rect><rect height="20" 
width="10" x="2" y="522"></rect><g fill="#4d4d4d" font-weight="bold"><text 
x="2" y="537">|</text> </g><rect height="20" width="310" x="12" 
y="522"></rect><g fill="#e4e4e4"><text x="22" y="537">…</text><text x="32" 
y="537">r</text> <text x="52" y="537">c</text><text x="62" 
y="537">l</text><text x="72" y="537">i</text><text x="82" y="537">p</text> 
<text x="102" y="537">t</text><text x="112" y="537">o</text> <text x="132" 
y="537">a</text> <text x="152" y="537">s</text><text x="162" 
y="537">i</text><text x="172" y="537">n</text><text x="182" 
y="537">g</text><text x="192" y="537">l</text><text x="202" y="537">e</text> 
<text x="222" y="537">p</text><text x="232" y="537">a</text><text x="242" 
y="537">g</text><text x="252" y="537">e</text> <text x="272" 
y="537">o</text><text x="282" y="537">f</text> <text x="302" y="537">a</text> 
</g><rect fill="#cc8500" height="20" width="90" x="322" y="522"></rect><g><text 
x="322" y="537">m</text><text x="332" y="537">u</text><text x="342" 
y="537">l</text><text x="352" y="537">t</text><text x="362" 
y="537">i</text><text x="372" y="537">p</text><text x="382" 
y="537">a</text><text x="392" y="537">g</text><text x="402" y="537">e</text> 
</g><rect height="20" width="120" x="412" y="522"></rect><g 
fill="#e4e4e4"><text x="422" y="537">d</text><text x="432" 
y="537">o</text><text x="442" y="537">c</text><text x="452" 
y="537">u</text><text x="462" y="537">m</text><text x="472" 
y="537">e</text><text x="482" y="537">n</text><text x="492" y="537">t</text> 
<text x="512" y="537">o</text><text x="522" y="537">r</text></g>
+<rect height="20" width="270" x="532" y="522"></rect><rect height="20" 
width="800" x="2" y="542"></rect><rect height="20" width="90" x="2" 
y="562"></rect><g fill="#e4e4e4"><text x="2" y="577">R</text><text x="12" 
y="577">e</text><text x="22" y="577">y</text><text x="32" y="577">,</text> 
<text x="52" y="577">d</text><text x="62" y="577">e</text><text x="72" 
y="577">l</text><text x="82" y="577">:</text></g>
+<rect height="20" width="710" x="92" y="562"></rect><rect height="20" 
width="10" x="2" y="582"></rect><g fill="#4d4d4d" font-weight="bold"><text 
x="2" y="597">|</text> </g><rect height="20" width="80" x="12" 
y="582"></rect><g fill="#e4e4e4"><text x="22" y="597">M</text><text x="32" 
y="597">a</text><text x="42" y="597">r</text><text x="52" y="597">i</text><text 
x="62" y="597">n</text><text x="72" y="597">a</text> </g><rect fill="#cc8500" 
height="20" width="30" x="92" y="582"></rect><g><text x="92" 
y="597">d</text><text x="102" y="597">e</text><text x="112" y="597">l</text> 
</g><rect height="20" width="10" x="122" y="582"></rect><rect fill="#cc8500" 
height="20" width="30" x="132" y="582"></rect><g><text x="132" 
y="597">R</text><text x="142" y="597">e</text><text x="152" 
y="597">y</text></g><rect height="20" width="100" x="162" y="582"></rect><g 
fill="#e4e4e4"><text x="162" y="597">,</text> <text x="182" 
y="597">C</text><text x="192" y="597">A</text> <text x="212" 
y="597">9</text><text x="222" y="597">0</text><text x="232" 
y="597">2</text><text x="242" y="597">9</text><text x="252" y="597">2</text></g>
+<rect height="20" width="540" x="262" y="582"></rect><rect height="20" 
width="800" x="2" y="602"></rect><rect height="20" width="160" x="2" 
y="622"></rect><g fill="#e4e4e4"><text x="2" y="637">E</text><text x="12" 
y="637">M</text><text x="22" y="637">a</text><text x="32" y="637">i</text><text 
x="42" y="637">l</text><text x="52" y="637">,</text> <text x="72" 
y="637">e</text><text x="82" y="637">d</text><text x="92" y="637">u</text><text 
x="102" y="637">,</text> <text x="122" y="637">i</text><text x="132" 
y="637">s</text><text x="142" y="637">i</text><text x="152" y="637">:</text></g>
+<rect height="20" width="640" x="162" y="622"></rect><rect height="20" 
width="10" x="2" y="642"></rect><g fill="#4d4d4d" font-weight="bold"><text 
x="2" y="657">|</text> </g><rect height="20" width="10" x="12" 
y="642"></rect><rect fill="#cc8500" height="20" width="50" x="22" 
y="642"></rect><g><text x="22" y="657">E</text><text x="32" 
y="657">M</text><text x="42" y="657">a</text><text x="52" y="657">i</text><text 
x="62" y="657">l</text></g><rect height="20" width="90" x="72" 
y="642"></rect><g fill="#e4e4e4"><text x="72" y="657">:</text> <text x="92" 
y="657">r</text><text x="102" y="657">o</text><text x="112" 
y="657">g</text><text x="122" y="657">e</text><text x="132" 
y="657">r</text><text x="142" y="657">s</text><text x="152" 
y="657">@</text></g><rect fill="#cc8500" height="20" width="30" x="162" 
y="642"></rect><g><text x="162" y="657">i</text><text x="172" 
y="657">s</text><text x="182" y="657">i</text></g><rect height="20" width="10" 
x="192" y="642"></rect><g fill="#e4e4e4"><text x="192" 
y="657">.</text></g><rect fill="#cc8500" height="20" width="30" x="202" 
y="642"></rect><g><text x="202" y="657">e</text><text x="212" 
y="657">d</text><text x="222" y="657">u</text></g>
+<rect height="20" width="570" x="232" y="642"></rect><rect height="20" 
width="800" x="2" y="662"></rect><rect height="20" width="100" x="2" 
y="682"></rect><g fill="#e4e4e4"><text x="2" y="697">e</text><text x="12" 
y="697">l</text><text x="22" y="697">e</text><text x="32" y="697">c</text><text 
x="42" y="697">t</text><text x="52" y="697">o</text><text x="62" 
y="697">n</text><text x="72" y="697">i</text><text x="82" y="697">c</text><text 
x="92" y="697">:</text></g>
+<rect height="20" width="700" x="102" y="682"></rect><rect height="20" 
width="10" x="2" y="702"></rect><g fill="#4d4d4d" font-weight="bold"><text 
x="2" y="717">|</text> </g><rect height="20" width="150" x="12" 
y="702"></rect><g fill="#e4e4e4"><text x="22" y="717">d</text><text x="32" 
y="717">r</text><text x="42" y="717">a</text><text x="52" y="717">w</text><text 
x="62" y="717">e</text><text x="72" y="717">r</text> <text x="92" 
y="717">o</text><text x="102" y="717">f</text> <text x="122" 
y="717">t</text><text x="132" y="717">h</text><text x="142" y="717">e</text> 
</g><rect fill="#cc8500" height="20" width="90" x="162" y="702"></rect><g><text 
x="162" y="717">e</text><text x="172" y="717">l</text><text x="182" 
y="717">e</text><text x="192" y="717">c</text><text x="202" 
y="717">t</text><text x="212" y="717">o</text><text x="222" 
y="717">n</text><text x="232" y="717">i</text><text x="242" y="717">c</text> 
</g><rect height="20" width="170" x="252" y="702"></rect><g 
fill="#e4e4e4"><text x="262" y="717">d</text><text x="272" 
y="717">e</text><text x="282" y="717">s</text><text x="292" y="717">k</text> 
<text x="312" y="717">o</text><text x="322" y="717">n</text> <text x="342" 
y="717">h</text><text x="352" y="717">o</text><text x="362" 
y="717">m</text><text x="372" y="717">e</text> <text x="392" 
y="717">P</text><text x="402" y="717">C</text><text x="412" y="717">s</text></g>
+<rect height="20" width="380" x="422" y="702"></rect><rect height="20" 
width="10" x="2" y="722"></rect><g fill="#4d4d4d" font-weight="bold"><text 
x="2" y="737">|</text> </g><rect height="20" width="150" x="12" 
y="722"></rect><g fill="#e4e4e4"><text x="132" y="737">3</text><text x="142" 
y="737">)</text> </g><rect fill="#cc8500" height="20" width="90" x="162" 
y="722"></rect><g><text x="162" y="737">e</text><text x="172" 
y="737">l</text><text x="182" y="737">e</text><text x="192" 
y="737">c</text><text x="202" y="737">t</text><text x="212" 
y="737">o</text><text x="222" y="737">n</text><text x="232" 
y="737">i</text><text x="242" y="737">c</text> </g><rect height="20" 
width="300" x="252" y="722"></rect><g fill="#e4e4e4"><text x="262" 
y="737">s</text><text x="272" y="737">t</text><text x="282" 
y="737">a</text><text x="292" y="737">p</text><text x="302" 
y="737">l</text><text x="312" y="737">e</text><text x="322" y="737">s</text> 
<text x="342" y="737">s</text><text x="352" y="737">h</text><text x="362" 
y="737">o</text><text x="372" y="737">u</text><text x="382" 
y="737">l</text><text x="392" y="737">d</text> <text x="412" 
y="737">h</text><text x="422" y="737">a</text><text x="432" 
y="737">v</text><text x="442" y="737">e</text> <text x="462" y="737">a</text> 
<text x="482" y="737">s</text><text x="492" y="737">t</text><text x="502" 
y="737">a</text><text x="512" y="737">n</text><text x="522" 
y="737">d</text><text x="532" y="737">a</text><text x="542" y="737">…</text></g>
+</g>
+</svg>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mwic-0.7.5/lib/__init__.py 
new/mwic-0.7.6/lib/__init__.py
--- old/mwic-0.7.5/lib/__init__.py      2018-04-26 15:52:56.000000000 +0200
+++ new/mwic-0.7.6/lib/__init__.py      2018-09-06 21:23:55.000000000 +0200
@@ -2,4 +2,5 @@
 mwic's private modules
 '''
 
-type(...)  # Python >= 3 is required
+# pylint: disable=pointless-statement,not-an-iterable
+lambda: (yield from 0)  # Python >= 3.3 is required
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mwic-0.7.5/lib/cli.py new/mwic-0.7.6/lib/cli.py
--- old/mwic-0.7.5/lib/cli.py   2018-04-26 15:52:56.000000000 +0200
+++ new/mwic-0.7.6/lib/cli.py   2018-09-06 21:23:55.000000000 +0200
@@ -39,7 +39,7 @@
     from . import pager
     from . import text
 
-__version__ = '0.7.5'
+__version__ = '0.7.6'
 
 class VersionAction(argparse.Action):
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mwic-0.7.5/lib/data.py new/mwic-0.7.6/lib/data.py
--- old/mwic-0.7.5/lib/data.py  2018-04-26 15:52:56.000000000 +0200
+++ new/mwic-0.7.6/lib/data.py  2018-09-06 21:23:55.000000000 +0200
@@ -1,4 +1,4 @@
-# Copyright © 2013-2016 Jakub Wilk <[email protected]>
+# Copyright © 2013-2018 Jakub Wilk <[email protected]>
 #
 # Permission is hereby granted, free of charge, to any person obtaining a copy
 # of this software and associated documentation files (the “Software”), to deal
@@ -25,7 +25,7 @@
 import collections
 import sys
 
-class Occurrences(object):
+class Occurrences():
 
     def __init__(self):
         self._data = collections.defaultdict(dict)
@@ -67,7 +67,7 @@
     def sorted_context(self):
         return sorted(self._context(), key=self._sorting_key)
 
-class Misspellings(object):
+class Misspellings():
 
     def __init__(self):
         self._word_index = collections.defaultdict(Occurrences)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mwic-0.7.5/lib/extdict.py 
new/mwic-0.7.6/lib/extdict.py
--- old/mwic-0.7.5/lib/extdict.py       2018-04-26 15:52:56.000000000 +0200
+++ new/mwic-0.7.6/lib/extdict.py       2018-09-06 21:23:55.000000000 +0200
@@ -25,8 +25,8 @@
 + Lintian
   - 
<https://salsa.debian.org/lintian/lintian/raw/master/data/spelling/corrections>
   - 
<https://salsa.debian.org/lintian/lintian/raw/master/data/spelling/corrections-case>
-+ codespell 
<https://github.com/lucasdemarchi/codespell/blob/master/codespell_lib/data/dictionary.txt>
-+ kde-spellcheck 
<https://github.com/KDE/kde-dev-scripts/blob/master/kde-spellcheck.pl>
++ codespell 
<https://github.com/codespell-project/codespell/raw/master/codespell_lib/data/dictionary.txt>
++ kde-spellcheck 
<https://github.com/KDE/kde-dev-scripts/raw/master/kde-spellcheck.pl>
 + plain word list
 '''
 
@@ -60,7 +60,7 @@
         correction = None
     return case_variants(word, correction)
 
-class Dictionary(object):
+class Dictionary():
 
     def __init__(self, *paths):
         self._dict = set()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mwic-0.7.5/lib/intdict.py 
new/mwic-0.7.6/lib/intdict.py
--- old/mwic-0.7.5/lib/intdict.py       2018-04-26 15:52:56.000000000 +0200
+++ new/mwic-0.7.6/lib/intdict.py       2018-09-06 21:23:55.000000000 +0200
@@ -1,4 +1,4 @@
-# Copyright © 2015-2016 Jakub Wilk <[email protected]>
+# Copyright © 2015-2018 Jakub Wilk <[email protected]>
 #
 # Permission is hereby granted, free of charge, to any person obtaining a copy
 # of this software and associated documentation files (the “Software”), to deal
@@ -42,7 +42,7 @@
 def _find_nothing(s):  # pylint: disable=unused-argument
     return ()
 
-class Macros(object):
+class Macros():
 
     def __init__(self):
         self._defs = {}
@@ -81,7 +81,7 @@
             assert False  # no coverage
         return self._regex.sub(replace, s)
 
-class Dictionary(object):
+class Dictionary():
 
     def __init__(self, lang):
         self._whitelist = set()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mwic-0.7.5/lib/pager.py new/mwic-0.7.6/lib/pager.py
--- old/mwic-0.7.5/lib/pager.py 2018-04-26 15:52:56.000000000 +0200
+++ new/mwic-0.7.6/lib/pager.py 2018-09-06 21:23:55.000000000 +0200
@@ -25,16 +25,13 @@
 import contextlib
 import io
 import os
+import shutil
 import subprocess as ipc
 import sys
 
 def _find_command(command):
-    PATH = os.environ.get('PATH', os.defpath)
-    directories = PATH.split(os.pathsep)
-    for directory in directories:
-        path = os.path.join(directory, command)
-        if os.access(path, os.X_OK):
-            return command
+    if shutil.which(command):
+        return command
 
 def get_default_pager():
     # Use "pager" if it exist:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mwic-0.7.5/lib/text.py new/mwic-0.7.6/lib/text.py
--- old/mwic-0.7.5/lib/text.py  2018-04-26 15:52:56.000000000 +0200
+++ new/mwic-0.7.6/lib/text.py  2018-09-06 21:23:55.000000000 +0200
@@ -1,4 +1,4 @@
-# Copyright © 2013-2016 Jakub Wilk <[email protected]>
+# Copyright © 2013-2018 Jakub Wilk <[email protected]>
 #
 # Permission is hereby granted, free of charge, to any person obtaining a copy
 # of this software and associated documentation files (the “Software”), to deal
@@ -54,4 +54,10 @@
                 offset += len(subword)
     return new_tokenizer
 
+__all__ = [
+    'camel_case_tokenizer',
+    'ltrim',
+    'rtrim',
+]
+
 # vim:ts=4 sts=4 sw=4 et
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mwic-0.7.5/mwic new/mwic-0.7.6/mwic
--- old/mwic-0.7.5/mwic 2018-04-26 15:52:56.000000000 +0200
+++ new/mwic-0.7.6/mwic 2018-09-06 21:23:55.000000000 +0200
@@ -23,30 +23,6 @@
 
 import sys
 
-# ----------------------------------------
-
-def error(message):
-    try:
-        import argparse
-        ap = argparse.ArgumentParser()
-        prog = ap.prog
-    except ImportError:
-        import optparse  # pylint: disable=deprecated-module
-        ap = optparse.OptionParser()
-        prog = ap.get_prog_name()
-    message = ''.join((prog, ': error: ', message, '\n'))
-    ap.exit(1, message)
-
-def require_python(*version):
-    if sys.version_info < version:
-        version_str = '.'.join(map(str, version))
-        message = 'Python >= %s is required' % version_str
-        error(message)
-
-require_python(3, 3)
-
-# ----------------------------------------
-
 basedir = None
 if basedir is not None:
     sys.path[:0] = [basedir]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mwic-0.7.5/private/check-rst 
new/mwic-0.7.6/private/check-rst
--- old/mwic-0.7.5/private/check-rst    2018-04-26 15:52:56.000000000 +0200
+++ new/mwic-0.7.6/private/check-rst    2018-09-06 21:23:55.000000000 +0200
@@ -20,15 +20,20 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 # SOFTWARE.
 
-here=$(dirname "$0")
+set -e -u
+here=${0%/*}
+here=${here#./}
+root="$here/../"
+root=${root#private/../}
 rst2xml=$(command -v rst2xml) \
 || rst2xml=$(command -v rst2xml.py) \
 || { printf 'rst2xml not found\n' >&2; exit 1; }
-options='--input-encoding=UTF-8 --output-encoding=UTF-8 --strict'
+rst2xml=${rst2xml##*/}
+options='--input-encoding=UTF-8 --strict'
 if [ $# -eq 0 ]
 then
-    find "$here/.." -type f -name '*.rst'
-    grep -rwl 'ft[=]rst' "$here/.."
+    find "${root}doc" -type f -name '*.rst'
+    grep -rwl 'ft[=]rst' "${root:-.}"
 else
     printf '%s\n' "$@"
 fi |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mwic-0.7.5/private/run-pylint 
new/mwic-0.7.6/private/run-pylint
--- old/mwic-0.7.5/private/run-pylint   2018-04-26 15:52:56.000000000 +0200
+++ new/mwic-0.7.6/private/run-pylint   2018-09-06 21:23:55.000000000 +0200
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# Copyright © 2015-2017 Jakub Wilk <[email protected]>
+# Copyright © 2015-2018 Jakub Wilk <[email protected]>
 #
 # Permission is hereby granted, free of charge, to any person obtaining a copy
 # of this software and associated documentation files (the “Software”), to deal
@@ -28,7 +28,6 @@
     pyscripts=$(grep -l -r '^#!.*python' .)
     set -- lib tests $pyscripts
 fi
-set -- --load-plugins=pylint.extensions.check_elif "$@"
 log=$(mktemp -t pylint.XXXXXX)
 "$PYTHON" -m pylint "$@" > "$log" || [ $? != 1 ]
 ! grep '^\w:' "$log" \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mwic-0.7.5/tests/coverage 
new/mwic-0.7.6/tests/coverage
--- old/mwic-0.7.5/tests/coverage       2018-04-26 15:52:56.000000000 +0200
+++ new/mwic-0.7.6/tests/coverage       2018-09-06 21:23:55.000000000 +0200
@@ -2,14 +2,13 @@
 
 Name              Stmts   Miss Branch BrPart  Cover   Missing
 -------------------------------------------------------------
-lib/__init__.py       1      0      0      0   100%
+lib/__init__.py       1      0      2      1    67%   6->exit
 lib/cli.py          207     44    100     19    74%   55-67, 110, 121-127, 
146, 160, 173, 180, 207-208, 219, 222-224, 240-243, 264, 268, 271-273, 278, 
294-302, 311-313, 109->110, 120->121, 133->135, 145->146, 159->160, 171->173, 
179->180, 206->207, 218->219, 221->222, 239->240, 251->253, 253->215, 263->264, 
267->268, 270->271, 277->278, 293->294, 306->259
 lib/colors.py        36      5     12      3    83%   38, 45, 52-53, 62, 
44->45, 51->52, 61->62
 lib/data.py          56      3     14      2    90%   38-39, 86, 35->38, 85->86
 lib/extdict.py       61      0     32      2    98%   84->88, 98->101
 lib/intdict.py       96      1     26      1    98%   96, 95->96
-lib/ns.py             9      0      0      0   100%
-lib/pager.py         43     29     14      1    26%   32-37, 43, 53-79, 50->53
-lib/text.py          27      0     16      0   100%
+lib/pager.py         40     25     12      1    31%   33-34, 40, 50-76, 47->50
+lib/text.py          28      0     16      0   100%
 -------------------------------------------------------------
-TOTAL               536     82    214     28    81%
+TOTAL               525     78    214     29    82%
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mwic-0.7.5/tests/multiword-is-t.alt 
new/mwic-0.7.6/tests/multiword-is-t.alt
--- old/mwic-0.7.5/tests/multiword-is-t.alt     1970-01-01 01:00:00.000000000 
+0100
+++ new/mwic-0.7.6/tests/multiword-is-t.alt     2018-09-06 21:23:55.000000000 
+0200
@@ -0,0 +1,48 @@
+ai’t:
+| It ai’t ...
+     ^^^^
+
+could’t:
+| It could’t ...
+     ^^^^^^^
+
+has’t:
+| It has’t ...
+     ^^^^^
+
+is’t:
+| It is’t ...
+     ^^^^
+
+should’t:
+| It should’t ...
+     ^^^^^^^^
+
+was’t:
+| It was’t ...
+     ^^^^^
+
+would’t:
+| It would’t ...
+     ^^^^^^^
+
+are’t:
+| They are’t ...
+       ^^^^^
+
+do’t:
+| They do’t ...
+       ^^^^
+
+were’t:
+| They were’t ...
+       ^^^^^^
+
+doen:
+| It doen’t ...
+     ^^^^
+
+hav:
+| They hav’t ...
+       ^^^
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mwic-0.7.5/tests/test_colors.py 
new/mwic-0.7.6/tests/test_colors.py
--- old/mwic-0.7.5/tests/test_colors.py 2018-04-26 15:52:56.000000000 +0200
+++ new/mwic-0.7.6/tests/test_colors.py 2018-09-06 21:23:55.000000000 +0200
@@ -1,4 +1,4 @@
-# Copyright © 2015-2016 Jakub Wilk <[email protected]>
+# Copyright © 2015-2018 Jakub Wilk <[email protected]>
 #
 # Permission is hereby granted, free of charge, to any person obtaining a copy
 # of this software and associated documentation files (the “Software”), to deal
@@ -20,7 +20,7 @@
 
 import io
 try:
-    import unittest.mock as mock
+    from unittest import mock
 except ImportError:
     import mock
 

++++++ reproducible-manpage.patch ++++++
From b34ec23082995ef7d59fc43eb9b708c25560fb47 Mon Sep 17 00:00:00 2001
From: Jakub Wilk <[email protected]>
Date: Wed, 3 Oct 2018 00:16:22 +0200
Subject: [PATCH] doc/manpage: hardcode date.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

man-pages(7) says this should be “the date of the last nontrivial change
that was made to the man page”, so unrelated to the time of build.

https://github.com/jwilk/mwic/issues/8
---
 doc/manpage.rst | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/doc/manpage.rst b/doc/manpage.rst
index f4ccfe6..b24fce4 100644
--- a/doc/manpage.rst
+++ b/doc/manpage.rst
@@ -8,7 +8,7 @@ Misspelled Words In Context
 
 :manual section: 1
 :version: mwic 0.7.6
-:date: |date|
+:date: 2018-09-06
 
 Synopsis
 --------
@@ -160,6 +160,4 @@ See also
 <http://jbr.me.uk/linux/esl.html>
 by Justin B Rye
 
-.. |date| date:: %Y-%m-%d
-
 .. vim:ts=3 sts=3 sw=3

Reply via email to