Hello community, here is the log from the commit of package mwic for openSUSE:Factory checked in at 2018-05-29 10:48:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mwic (Old) and /work/SRC/openSUSE:Factory/.mwic.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mwic" Tue May 29 10:48:31 2018 rev:2 rq:612514 version:0.7.5 Changes: -------- --- /work/SRC/openSUSE:Factory/mwic/mwic.changes 2018-01-31 19:54:25.242420672 +0100 +++ /work/SRC/openSUSE:Factory/.mwic.new/mwic.changes 2018-05-29 10:48:32.432476662 +0200 @@ -1,0 +2,7 @@ +Wed May 2 07:19:07 UTC 2018 - [email protected] + +- update to version 0.7.5: + * Update PyPI URLs in documentation. + * Update Lintian URLs in the manual page. + +------------------------------------------------------------------- Old: ---- mwic-0.7.4.tar.gz mwic-0.7.4.tar.gz.asc New: ---- mwic-0.7.5.tar.gz mwic-0.7.5.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mwic.spec ++++++ --- /var/tmp/diff_new_pack.1dmiec/_old 2018-05-29 10:48:32.992456002 +0200 +++ /var/tmp/diff_new_pack.1dmiec/_new 2018-05-29 10:48:32.996455855 +0200 @@ -1,7 +1,7 @@ # # spec file for package mwic # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{!?license: %global license %doc} Name: mwic -Version: 0.7.4 +Version: 0.7.5 Release: 0 Summary: Misspelled Words In Context License: MIT ++++++ mwic-0.7.4.tar.gz -> mwic-0.7.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mwic-0.7.4/Makefile new/mwic-0.7.5/Makefile --- old/mwic-0.7.4/Makefile 2018-01-24 16:08:00.000000000 +0100 +++ new/mwic-0.7.5/Makefile 2018-04-26 15:52:56.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright © 2012-2016 Jakub Wilk <[email protected]> +# Copyright © 2012-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 @@ # library + data: ( find lib dict -type f ! -name '*.py[co]' ) \ | xargs -t -I {} $(INSTALL) -p -D -m644 {} $(DESTDIR)$(basedir)/{} -ifeq "$(wildcard .git doc/$(exe).1)" ".git" +ifeq "$(wildcard doc/$(exe).1)" "" # run "$(MAKE) -C doc" to build the manpage else # manual page: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mwic-0.7.4/doc/LICENSE new/mwic-0.7.5/doc/LICENSE --- old/mwic-0.7.4/doc/LICENSE 2018-01-24 16:08:00.000000000 +0100 +++ new/mwic-0.7.5/doc/LICENSE 2018-04-26 15:52:56.000000000 +0200 @@ -1,4 +1,4 @@ -Copyright © 2012-2017 Jakub Wilk <[email protected]> +Copyright © 2012-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 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mwic-0.7.4/doc/README new/mwic-0.7.5/doc/README --- old/mwic-0.7.4/doc/README 2018-01-24 16:08:00.000000000 +0100 +++ new/mwic-0.7.5/doc/README 2018-04-26 15:52:56.000000000 +0200 @@ -10,7 +10,7 @@ The following software is needed to run mwic: -* Python ≥ 3.2; +* Python ≥ 3.3; * PyEnchant_, Python bindings for the Enchant_ spellchecking system; @@ -34,9 +34,9 @@ .. _regex: - https://pypi.python.org/pypi/regex + https://pypi.org/project/regex/ .. _pyenchant: - https://pypi.python.org/pypi/pyenchant + https://pypi.org/project/pyenchant/ .. _Enchant: https://abiword.github.io/enchant/ .. _docutils: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mwic-0.7.4/doc/changelog new/mwic-0.7.5/doc/changelog --- old/mwic-0.7.4/doc/changelog 2018-01-24 16:08:00.000000000 +0100 +++ new/mwic-0.7.5/doc/changelog 2018-04-26 15:52:56.000000000 +0200 @@ -1,3 +1,11 @@ +mwic (0.7.5) unstable; urgency=low + + * Drop support for Python 3.2. + * Update PyPI URLs in documentation. + * Update Lintian URLs in the manual page. + + -- Jakub Wilk <[email protected]> Thu, 26 Apr 2018 15:51:37 +0200 + mwic (0.7.4) unstable; urgency=low * Update Linux kernel URL in the manual page. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mwic-0.7.4/doc/manpage.rst new/mwic-0.7.5/doc/manpage.rst --- old/mwic-0.7.4/doc/manpage.rst 2018-01-24 16:08:00.000000000 +0100 +++ new/mwic-0.7.5/doc/manpage.rst 2018-04-26 15:52:56.000000000 +0200 @@ -7,7 +7,7 @@ --------------------------- :manual section: 1 -:version: mwic 0.7.4 +:version: mwic 0.7.5 :date: |date| Synopsis @@ -105,8 +105,8 @@ * Lintian: - | https://anonscm.debian.org/cgit/lintian/lintian.git/plain/data/spelling/corrections - | https://anonscm.debian.org/cgit/lintian/lintian.git/plain/data/spelling/corrections-case + | https://salsa.debian.org/lintian/lintian/raw/master/data/spelling/corrections + | https://salsa.debian.org/lintian/lintian/raw/master/data/spelling/corrections-case * Linux kernel: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mwic-0.7.4/doc/mwic.1 new/mwic-0.7.5/doc/mwic.1 --- old/mwic-0.7.4/doc/mwic.1 2018-01-24 16:08:02.000000000 +0100 +++ new/mwic-0.7.5/doc/mwic.1 2018-04-26 15:53:27.000000000 +0200 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH MWIC 1 "2018-01-24" "mwic 0.7.4" "" +.TH MWIC 1 "2018-04-26" "mwic 0.7.5" "" .SH NAME mwic \- Misspelled Words In Context . @@ -122,8 +122,8 @@ .IP \(bu 2 Lintian: .nf -\fI\%https://anonscm.debian.org/cgit/lintian/lintian.git/plain/data/spelling/corrections\fP -\fI\%https://anonscm.debian.org/cgit/lintian/lintian.git/plain/data/spelling/corrections\-case\fP +\fI\%https://salsa.debian.org/lintian/lintian/raw/master/data/spelling/corrections\fP +\fI\%https://salsa.debian.org/lintian/lintian/raw/master/data/spelling/corrections\-case\fP .fi .sp .IP \(bu 2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mwic-0.7.4/lib/__init__.py new/mwic-0.7.5/lib/__init__.py --- old/mwic-0.7.4/lib/__init__.py 2018-01-24 16:08:00.000000000 +0100 +++ new/mwic-0.7.5/lib/__init__.py 2018-04-26 15:52:56.000000000 +0200 @@ -2,5 +2,4 @@ mwic's private modules ''' -# pylint: disable=pointless-statement -... # Python >= 3 is required +type(...) # Python >= 3 is required diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mwic-0.7.4/lib/cli.py new/mwic-0.7.5/lib/cli.py --- old/mwic-0.7.4/lib/cli.py 2018-01-24 16:08:00.000000000 +0100 +++ new/mwic-0.7.5/lib/cli.py 2018-04-26 15:52:56.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright © 2013-2017 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 @@ -27,6 +27,7 @@ import io import signal import sys +import types import enchant.tokenize @@ -35,11 +36,10 @@ from . import data from . import extdict from . import intdict - from . import ns from . import pager from . import text -__version__ = '0.7.4' +__version__ = '0.7.5' class VersionAction(argparse.Action): @@ -132,7 +132,7 @@ enc_errors = 'strict' if ':' in encoding: [encoding, enc_errors] = encoding.rsplit(':', 1) - ctxt = lib.ns.Namespace( + ctxt = types.SimpleNamespace( dictionary=dictionary, intdict=intdict, extdict=extdict, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mwic-0.7.4/lib/extdict.py new/mwic-0.7.5/lib/extdict.py --- old/mwic-0.7.4/lib/extdict.py 2018-01-24 16:08:00.000000000 +0100 +++ new/mwic-0.7.5/lib/extdict.py 2018-04-26 15:52:56.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright © 2016 Jakub Wilk <[email protected]> +# Copyright © 2016-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 @@ -23,8 +23,8 @@ Supported dictionary formats: + Lintian - - <https://anonscm.debian.org/cgit/lintian/lintian.git/tree/data/spelling/corrections> - - <https://anonscm.debian.org/cgit/lintian/lintian.git/tree/data/spelling/corrections-case> + - <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> + plain word list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mwic-0.7.4/lib/ns.py new/mwic-0.7.5/lib/ns.py --- old/mwic-0.7.4/lib/ns.py 2018-01-24 16:08:00.000000000 +0100 +++ new/mwic-0.7.5/lib/ns.py 1970-01-01 01:00:00.000000000 +0100 @@ -1,43 +0,0 @@ -# Copyright © 2014-2015 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 -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -''' -simple attribute-based namespace -''' - -import sys -import types - -class Namespace(object): - ''' - simple attribute-based namespace - ''' - def __init__(self, **kwargs): - super().__init__() - self.__dict__.update(kwargs) - -Namespace() # make pyflakes and coverage.py happy - -if sys.version_info >= (3, 3): # no coverage - Namespace = types.SimpleNamespace # pylint: disable=no-member - -__all__ = ['Namespace'] - -# vim:ts=4 sts=4 sw=4 et diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mwic-0.7.4/lib/pager.py new/mwic-0.7.5/lib/pager.py --- old/mwic-0.7.4/lib/pager.py 2018-01-24 16:08:00.000000000 +0100 +++ new/mwic-0.7.5/lib/pager.py 2018-04-26 15:52:56.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 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mwic-0.7.4/mwic new/mwic-0.7.5/mwic --- old/mwic-0.7.4/mwic 2018-01-24 16:08:00.000000000 +0100 +++ new/mwic-0.7.5/mwic 2018-04-26 15:52:56.000000000 +0200 @@ -1,7 +1,7 @@ #!/usr/bin/env python3 # encoding=UTF-8 -# 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 @@ -43,7 +43,7 @@ message = 'Python >= %s is required' % version_str error(message) -require_python(3, 2) +require_python(3, 3) # ---------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mwic-0.7.4/private/check-rst new/mwic-0.7.5/private/check-rst --- old/mwic-0.7.4/private/check-rst 2018-01-24 16:08:00.000000000 +0100 +++ new/mwic-0.7.5/private/check-rst 2018-04-26 15:52:56.000000000 +0200 @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright © 2016-2017 Jakub Wilk <[email protected]> +# Copyright © 2016-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 @@ -27,7 +27,7 @@ options='--input-encoding=UTF-8 --output-encoding=UTF-8 --strict' if [ $# -eq 0 ] then - find "$here/.." -name '*.rst' + find "$here/.." -type f -name '*.rst' grep -rwl 'ft[=]rst' "$here/.." else printf '%s\n' "$@" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mwic-0.7.4/private/run-pydiatra new/mwic-0.7.5/private/run-pydiatra --- old/mwic-0.7.4/private/run-pydiatra 2018-01-24 16:08:00.000000000 +0100 +++ new/mwic-0.7.5/private/run-pydiatra 1970-01-01 01:00:00.000000000 +0100 @@ -1,32 +0,0 @@ -#!/bin/sh - -# Copyright © 2016-2017 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 -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -PYTHON=${PYTHON:-python3} -if [ $# -eq 0 ] -then - set -- \ - $(grep -l -r '^#!.*python' .) \ - $(find . -name '*.py') -fi -exec "$PYTHON" -m pydiatra "$@" - -# vim:ts=4 sts=4 sw=4 et diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mwic-0.7.4/private/run-pyflakes new/mwic-0.7.5/private/run-pyflakes --- old/mwic-0.7.4/private/run-pyflakes 2018-01-24 16:08:00.000000000 +0100 +++ new/mwic-0.7.5/private/run-pyflakes 1970-01-01 01:00:00.000000000 +0100 @@ -1,32 +0,0 @@ -#!/bin/sh - -# Copyright © 2016 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 -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -PYTHON=${PYTHON:-python3} -if [ $# -eq 0 ] -then - set -- \ - $(grep -l -r '^#!.*python' .) \ - $(find . -name '*.py') -fi -exec "$PYTHON" -m pyflakes "$@" - -# vim:ts=4 sts=4 sw=4 et diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mwic-0.7.4/tests/__init__.py new/mwic-0.7.5/tests/__init__.py --- old/mwic-0.7.4/tests/__init__.py 2018-01-24 16:08:00.000000000 +0100 +++ new/mwic-0.7.5/tests/__init__.py 2018-04-26 15:52:56.000000000 +0200 @@ -1,2 +1 @@ -# pylint: disable=pointless-statement -... # Python >= 3 is required +type(...) # Python >= 3 is required
