Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pyenchant for
openSUSE:Factory checked in at 2021-01-27 18:56:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyenchant (Old)
and /work/SRC/openSUSE:Factory/.python-pyenchant.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyenchant"
Wed Jan 27 18:56:54 2021 rev:19 rq:865657 version:3.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyenchant/python-pyenchant.changes
2020-06-11 14:37:46.648102766 +0200
+++
/work/SRC/openSUSE:Factory/.python-pyenchant.new.28504/python-pyenchant.changes
2021-01-27 18:56:58.128315852 +0100
@@ -1,0 +2,9 @@
+Fri Jan 22 04:08:10 UTC 2021 - John Vandenberg <[email protected]>
+
+- Update to v3.2.0
+ * Add support for Python 3.9
+ * Add trove classifiers for all supported Python versions
+ * Run ``pyupgrade`` across the code base
+ * Update documentation about MacPorts
+
+-------------------------------------------------------------------
Old:
----
pyenchant-3.1.1.tar.gz
New:
----
pyenchant-3.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pyenchant.spec ++++++
--- /var/tmp/diff_new_pack.7pcDfM/_old 2021-01-27 18:56:58.748316811 +0100
+++ /var/tmp/diff_new_pack.7pcDfM/_new 2021-01-27 18:56:58.752316817 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-pyenchant
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pyenchant
-Version: 3.1.1
+Version: 3.2.0
Release: 0
Summary: Python bindings for the Enchant spellchecking system
License: LGPL-2.1-or-later
++++++ pyenchant-3.1.1.tar.gz -> pyenchant-3.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyenchant-3.1.1/.github/workflows/linters.yml
new/pyenchant-3.2.0/.github/workflows/linters.yml
--- old/pyenchant-3.1.1/.github/workflows/linters.yml 2020-05-31
17:56:21.000000000 +0200
+++ new/pyenchant-3.2.0/.github/workflows/linters.yml 2020-12-08
13:25:32.000000000 +0100
@@ -1,16 +1,16 @@
name: linters
-on: [push]
+on: [push, pull_request]
jobs:
run_linters:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v1
+ - uses: actions/[email protected]
- name: Set up Python
- uses: actions/setup-python@v1
+ uses: actions/[email protected]
with:
python-version: 3.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyenchant-3.1.1/.github/workflows/tests.yml
new/pyenchant-3.2.0/.github/workflows/tests.yml
--- old/pyenchant-3.1.1/.github/workflows/tests.yml 2020-05-31
17:56:21.000000000 +0200
+++ new/pyenchant-3.2.0/.github/workflows/tests.yml 2020-12-08
13:25:32.000000000 +0100
@@ -1,6 +1,6 @@
name: tests
-on: [push]
+on: [push, pull_request]
jobs:
run_tests:
@@ -10,7 +10,7 @@
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
- python: [3.5, 3.6, 3.7, 3.8, pypy3]
+ python: [3.5, 3.6, 3.7, 3.8, 3.9, pypy3]
include:
- python: 3.5
tox_env: py35
@@ -20,6 +20,8 @@
tox_env: py37
- python: 3.8
tox_env: py38
+ - python: 3.9
+ tox_env: py39
- python: pypy3
tox_env: pypy3
- os: ubuntu-latest
@@ -28,10 +30,10 @@
platform: macos
steps:
- - uses: actions/checkout@v1
+ - uses: actions/[email protected]
- name: Set up Python ${{ matrix.python }}
- uses: actions/setup-python@v1
+ uses: actions/[email protected]
with:
python-version: ${{ matrix.python }}
@@ -54,4 +56,3 @@
- name: Run tests
run: |
tox -e ${{ matrix.tox_env }}
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyenchant-3.1.1/.github/workflows/website.yml
new/pyenchant-3.2.0/.github/workflows/website.yml
--- old/pyenchant-3.1.1/.github/workflows/website.yml 2020-05-31
17:56:21.000000000 +0200
+++ new/pyenchant-3.2.0/.github/workflows/website.yml 2020-12-08
13:25:32.000000000 +0100
@@ -1,6 +1,6 @@
name: website
-on: [push]
+on: [push, pull_request]
jobs:
website:
@@ -8,10 +8,10 @@
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v1
+ - uses: actions/[email protected]
- name: Set up Python
- uses: actions/setup-python@v1
+ uses: actions/[email protected]
with:
python-version: 3.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyenchant-3.1.1/README.rst
new/pyenchant-3.2.0/README.rst
--- old/pyenchant-3.1.1/README.rst 2020-05-31 17:56:21.000000000 +0200
+++ new/pyenchant-3.2.0/README.rst 2020-12-08 13:25:32.000000000 +0100
@@ -32,7 +32,7 @@
More information is available on the Enchant website:
- http://www.abisource.com/enchant/
+ https://abiword.github.io/enchant/
How do I use it?
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyenchant-3.1.1/bootstrap.py
new/pyenchant-3.2.0/bootstrap.py
--- old/pyenchant-3.1.1/bootstrap.py 2020-05-31 17:56:21.000000000 +0200
+++ new/pyenchant-3.2.0/bootstrap.py 2020-12-08 13:25:32.000000000 +0100
@@ -52,7 +52,7 @@
""" Remove extraneous files from the enchant artifact """
print(":: Cleaning up ...")
mingw_path = os.path.join(data_path, "mingw" + bits)
- # Better filter extra files there that on the appveyor script
+ # Better filter extra files there than in the appveyor script
for sub_dir in ["share/man", "include", "lib/pkgconfig"]:
to_rm = os.path.join(mingw_path, sub_dir)
rm(to_rm)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyenchant-3.1.1/enchant/__init__.py
new/pyenchant-3.2.0/enchant/__init__.py
--- old/pyenchant-3.1.1/enchant/__init__.py 2020-05-31 17:56:21.000000000
+0200
+++ new/pyenchant-3.2.0/enchant/__init__.py 2020-12-08 13:25:32.000000000
+0100
@@ -35,7 +35,7 @@
via the Enchant spellchecking library. For more details on Enchant,
visit the project website:
- http://www.abisource.com/enchant/
+ https://abiword.github.io/enchant/
Spellchecking is performed using 'Dict' objects, which represent
a language dictionary. Their use is best demonstrated by a quick
@@ -72,7 +72,7 @@
"""
_DOC_ERRORS = ["enchnt", "enchnt", "incant", "fr"]
-__version__ = "3.1.1"
+__version__ = "3.2.0"
import os
import warnings
@@ -89,7 +89,7 @@
from enchant.pypwl import PyPWL
-class ProviderDesc(object):
+class ProviderDesc:
"""Simple class describing an Enchant provider.
Each provider has the following information associated with it:
@@ -122,7 +122,7 @@
return hash(self.name + self.desc + self.file)
-class _EnchantObject(object):
+class _EnchantObject:
"""Base class for enchant objects.
This class implements some general functionality for interfacing with
@@ -205,7 +205,7 @@
This method is the constructor for the 'Broker' object. No
arguments are required.
"""
- _EnchantObject.__init__(self)
+ super().__init__()
def _init_this(self):
self._this = _e.broker_init()
@@ -222,7 +222,7 @@
pass
def __getstate__(self):
- state = super(Broker, self).__getstate__()
+ state = super().__getstate__()
state.pop("_live_dicts")
return state
@@ -539,7 +539,7 @@
broker = _broker
self._broker = broker
# Now let the superclass initialise the C-library object
- _EnchantObject.__init__(self)
+ super().__init__()
def _init_this(self):
# Create dead object if False was given as the tag.
@@ -591,7 +591,7 @@
"""
if self._broker is None or self._broker._this is None:
self._this = None
- _EnchantObject._check_this(self, msg)
+ super()._check_this(msg)
def _raise_error(self, default="Unspecified Error", eclass=Error):
"""Overrides _EnchantObject._raise_error to check dict errors."""
@@ -778,7 +778,7 @@
exclude list. If this file does not exist, it is created with
default permissions.
"""
- Dict.__init__(self, tag, broker)
+ super().__init__(tag, broker)
if pwl is not None:
if not os.path.exists(pwl):
f = open(pwl, "wt")
@@ -802,7 +802,7 @@
self._free()
if self.pel is None:
self._free()
- Dict._check_this(self, msg)
+ super()._check_this(msg)
self.pwl._check_this(msg)
self.pel._check_this(msg)
@@ -814,7 +814,7 @@
if self.pel is not None:
self.pel._free()
self.pel = None
- Dict._free(self)
+ super()._free()
def check(self, word):
"""Check spelling of a word.
@@ -827,7 +827,7 @@
return False
if self.pwl.check(word):
return True
- if Dict.check(self, word):
+ if super().check(word):
return True
return False
@@ -837,7 +837,7 @@
This method tries to guess the correct spelling for a given
word, returning the possibilities in a list.
"""
- suggs = Dict.suggest(self, word)
+ suggs = super().suggest(word)
suggs.extend([w for w in self.pwl.suggest(word) if w not in suggs])
for i in range(len(suggs) - 1, -1, -1):
if self.pel.check(suggs[i]):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyenchant-3.1.1/enchant/_enchant.py
new/pyenchant-3.2.0/enchant/_enchant.py
--- old/pyenchant-3.1.1/enchant/_enchant.py 2020-05-31 17:56:21.000000000
+0200
+++ new/pyenchant-3.2.0/enchant/_enchant.py 2020-12-08 13:25:32.000000000
+0100
@@ -211,7 +211,7 @@
broker_dict_exists = e.enchant_broker_dict_exists
broker_dict_exists.argtypes = [t_broker, c_char_p]
-broker_free_dict.restype = c_int
+broker_dict_exists.restype = c_int
broker_set_ordering = e.enchant_broker_set_ordering
broker_set_ordering.argtypes = [t_broker, c_char_p, c_char_p]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyenchant-3.1.1/enchant/checker/CmdLineChecker.py
new/pyenchant-3.2.0/enchant/checker/CmdLineChecker.py
--- old/pyenchant-3.1.1/enchant/checker/CmdLineChecker.py 2020-05-31
17:56:21.000000000 +0200
+++ new/pyenchant-3.2.0/enchant/checker/CmdLineChecker.py 2020-12-08
13:25:32.000000000 +0100
@@ -41,11 +41,6 @@
from enchant.checker import SpellChecker
-try:
- get_input = raw_input # Python 2.x
-except NameError:
- get_input = input # Python 3.x
-
# Helpers
colors = {
@@ -277,7 +272,7 @@
self.print_suggestions()
def read_command(self):
- cmd = get_input(">> ")
+ cmd = input(">> ")
cmd = cmd.strip()
if cmd.isdigit():
@@ -324,7 +319,7 @@
return True
if cmd == "e":
- repl = get_input(info("New Word: "))
+ repl = input(info("New Word: "))
self.error.replace(repl.strip())
return True
@@ -349,7 +344,7 @@
file's contents into a unicode string. The output will be written
in the same encoding.
"""
- inStr = "".join(open(infile, "r").readlines())
+ inStr = "".join(open(infile).readlines())
if enc is not None:
inStr = inStr.decode(enc)
self._checker.set_text(inStr)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyenchant-3.1.1/enchant/checker/GtkSpellCheckerDialog.py
new/pyenchant-3.2.0/enchant/checker/GtkSpellCheckerDialog.py
--- old/pyenchant-3.1.1/enchant/checker/GtkSpellCheckerDialog.py
2020-05-31 17:56:21.000000000 +0200
+++ new/pyenchant-3.2.0/enchant/checker/GtkSpellCheckerDialog.py
2020-12-08 13:25:32.000000000 +0100
@@ -52,7 +52,7 @@
class GtkSpellCheckerDialog(gtk.Window):
def __init__(self, *args, **kwargs):
- gtk.Window.__init__(self, *args, **kwargs)
+ super().__init__(*args, **kwargs)
self.set_title("Spell check")
self.set_default_size(350, 200)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyenchant-3.1.1/enchant/checker/wxSpellCheckerDialog.py
new/pyenchant-3.2.0/enchant/checker/wxSpellCheckerDialog.py
--- old/pyenchant-3.1.1/enchant/checker/wxSpellCheckerDialog.py 2020-05-31
17:56:21.000000000 +0200
+++ new/pyenchant-3.2.0/enchant/checker/wxSpellCheckerDialog.py 2020-12-08
13:25:32.000000000 +0100
@@ -104,8 +104,7 @@
sz = (300, 70)
def __init__(self, parent=None, id=-1, title="Checking Spelling..."):
- wx.Dialog.__init__(
- self,
+ super().__init__(
parent,
id,
title,
@@ -280,7 +279,7 @@
def _test():
class TestDialog(wxSpellCheckerDialog):
def __init__(self, *args):
- wxSpellCheckerDialog.__init__(self, *args)
+ super().__init__(*args)
wx.EVT_CLOSE(self, self.OnClose)
def OnClose(self, evnt):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyenchant-3.1.1/enchant/pypwl.py
new/pyenchant-3.2.0/enchant/pypwl.py
--- old/pyenchant-3.1.1/enchant/pypwl.py 2020-05-31 17:56:21.000000000
+0200
+++ new/pyenchant-3.2.0/enchant/pypwl.py 2020-12-08 13:25:32.000000000
+0100
@@ -43,7 +43,6 @@
"""
-from __future__ import generators
import os
import warnings
@@ -179,7 +178,7 @@
if pwl is not None:
self.pwl = os.path.abspath(pwl)
self.tag = self.pwl
- pwl_f = open(pwl, "r")
+ pwl_f = open(pwl)
for ln in pwl_f:
word = ln.strip()
self.add_to_session(word)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyenchant-3.1.1/enchant/tokenize/__init__.py
new/pyenchant-3.2.0/enchant/tokenize/__init__.py
--- old/pyenchant-3.1.1/enchant/tokenize/__init__.py 2020-05-31
17:56:21.000000000 +0200
+++ new/pyenchant-3.2.0/enchant/tokenize/__init__.py 2020-12-08
13:25:32.000000000 +0100
@@ -241,7 +241,7 @@
_DOC_ERRORS = []
def __init__(self):
- tokenize.__init__(self, "")
+ super().__init__("")
def next(self):
raise StopIteration()
@@ -253,7 +253,7 @@
_DOC_ERRORS = []
def __init__(self, text):
- tokenize.__init__(self, text)
+ super().__init__(text)
self._done = False
def next(self):
@@ -346,7 +346,7 @@
pass
-class Filter(object):
+class Filter:
"""Base class for token filtering functions.
A filter is designed to wrap a tokenizer (or another filter) and do
@@ -388,7 +388,7 @@
"""
return unit_tokenize(word)
- class _TokenFilter(object):
+ class _TokenFilter:
"""Private inner class implementing the tokenizer-wrapping logic.
This might seem convoluted, but we're trying to create something
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyenchant-3.1.1/enchant/tokenize/en.py
new/pyenchant-3.2.0/enchant/tokenize/en.py
--- old/pyenchant-3.1.1/enchant/tokenize/en.py 2020-05-31 17:56:21.000000000
+0200
+++ new/pyenchant-3.2.0/enchant/tokenize/en.py 2020-12-08 13:25:32.000000000
+0100
@@ -93,7 +93,7 @@
# MySpell provider, disabling for now.
# Allow unicode typographic apostrophe
# self._valid_chars = (u"'",u"\u2019")
- self._valid_chars = (u"'",)
+ self._valid_chars = ("'",)
def _consume_alpha_b(self, text, offset):
"""Consume an alphabetic character from the given bytestring.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyenchant-3.1.1/setup.cfg
new/pyenchant-3.2.0/setup.cfg
--- old/pyenchant-3.1.1/setup.cfg 2020-05-31 17:56:21.000000000 +0200
+++ new/pyenchant-3.2.0/setup.cfg 2020-12-08 13:25:32.000000000 +0100
@@ -1,6 +1,6 @@
[metadata]
name = pyenchant
-version = 3.1.1
+version = 3.2.0
description = Python bindings for the Enchant spellchecking system
long_description = file: README.rst
author = Dimitri Merejkowsky
@@ -13,7 +13,16 @@
Intended Audience :: Developers
License :: OSI Approved :: GNU Library or Lesser General Public License
(LGPL)
Operating System :: OS Independent
+ Programming Language :: Python
Programming Language :: Python :: 3
+ Programming Language :: Python :: 3 :: Only
+ Programming Language :: Python :: 3.5
+ Programming Language :: Python :: 3.6
+ Programming Language :: Python :: 3.7
+ Programming Language :: Python :: 3.8
+ Programming Language :: Python :: 3.9
+ Programming Language :: Python :: Implementation :: CPython
+ Programming Language :: Python :: Implementation :: PyPy
Topic :: Software Development :: Libraries
Topic :: Text Processing :: Linguistic
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyenchant-3.1.1/tbump.toml
new/pyenchant-3.2.0/tbump.toml
--- old/pyenchant-3.1.1/tbump.toml 2020-05-31 17:56:21.000000000 +0200
+++ new/pyenchant-3.2.0/tbump.toml 2020-12-08 13:25:32.000000000 +0100
@@ -1,5 +1,5 @@
[version]
-current = "3.1.1"
+current = "3.2.0"
regex = '''
(?P<major>\d+)
@@ -25,6 +25,9 @@
src = "enchant/__init__.py"
search = '__version__ = "{current_version}"'
+[[before_commit]]
+name = "Check changelog"
+cmd = "grep -q {new_version} Changelog"
[[after_push]]
name = "Publish release on pypi.org"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyenchant-3.1.1/tox.ini new/pyenchant-3.2.0/tox.ini
--- old/pyenchant-3.1.1/tox.ini 2020-05-31 17:56:21.000000000 +0200
+++ new/pyenchant-3.2.0/tox.ini 2020-12-08 13:25:32.000000000 +0100
@@ -1,5 +1,5 @@
[tox]
-envlist = py35, py36, py37, py38, pypy3
+envlist = py{35,36,37,38,39,py3}
[testenv]
# pytest-cov does not seem to work if we
@@ -55,4 +55,3 @@
commands =
python release.py
twine upload dist/*
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyenchant-3.1.1/website/conf.py
new/pyenchant-3.2.0/website/conf.py
--- old/pyenchant-3.1.1/website/conf.py 2020-05-31 17:56:21.000000000 +0200
+++ new/pyenchant-3.2.0/website/conf.py 2020-12-08 13:25:32.000000000 +0100
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
#
# PyEnchant documentation build configuration file, created by
# sphinx-quickstart on Thu Apr 28 20:41:16 2011.
@@ -49,8 +48,8 @@
master_doc = "index"
# General information about the project.
-project = u"PyEnchant"
-copyright = u"2011, Ryan Kelly"
+project = "PyEnchant"
+copyright = "2011, Ryan Kelly"
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
@@ -182,7 +181,7 @@
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass
[howto/manual]).
latex_documents = [
- ("index", "PyEnchant.tex", u"PyEnchant Documentation", u"Ryan Kelly",
"manual"),
+ ("index", "PyEnchant.tex", "PyEnchant Documentation", "Ryan Kelly",
"manual"),
]
# The name of an image file (relative to this directory) to place at the top of
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyenchant-3.1.1/website/content/changelog.rst
new/pyenchant-3.2.0/website/content/changelog.rst
--- old/pyenchant-3.1.1/website/content/changelog.rst 2020-05-31
17:56:21.000000000 +0200
+++ new/pyenchant-3.2.0/website/content/changelog.rst 2020-12-08
13:25:32.000000000 +0100
@@ -1,6 +1,14 @@
Changelog
=========
+3.2.0 (2020-12-08)
+-------------------
+
+* Add support for Python 3.9
+* Add trove classifiers for all supported Python versions
+* Run ``pyupgrade`` across the code base
+* Update documentation about MacPorts
+
3.1.1 (2020-05-31)
------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyenchant-3.1.1/website/content/faq.rst
new/pyenchant-3.2.0/website/content/faq.rst
--- old/pyenchant-3.1.1/website/content/faq.rst 2020-05-31 17:56:21.000000000
+0200
+++ new/pyenchant-3.2.0/website/content/faq.rst 2020-12-08 13:25:32.000000000
+0100
@@ -43,7 +43,7 @@
platform, such as aspell or MySpell. By contrast, Enchant supports
multiple spellchecking platforms. A good discussion of why this is an
advantage can be found on the `Enchant
-website <http://www.abisource.com/enchant/>`__ under the heading
+website <https://abiword.github.io/enchant/>`__ under the heading
"Enchant and Multiple Backends".
- Different backends can be used for different languages, depending on
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyenchant-3.1.1/website/content/index.rst
new/pyenchant-3.2.0/website/content/index.rst
--- old/pyenchant-3.1.1/website/content/index.rst 2020-05-31
17:56:21.000000000 +0200
+++ new/pyenchant-3.2.0/website/content/index.rst 2020-12-08
13:25:32.000000000 +0100
@@ -4,7 +4,7 @@
Introduction
------------
-PyEnchant is a spellchecking library for Python, based on the excellent
`Enchant <http://www.abisource.com/enchant/>`_ library.
+PyEnchant is a spellchecking library for Python, based on the excellent
`Enchant <https://abiword.github.io/enchant/>`_ library.
PyEnchant combines all the functionality of the underlying Enchant
library with the flexibility of Python and a nice "Pythonic"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyenchant-3.1.1/website/content/install.rst
new/pyenchant-3.2.0/website/content/install.rst
--- old/pyenchant-3.1.1/website/content/install.rst 2020-05-31
17:56:21.000000000 +0200
+++ new/pyenchant-3.2.0/website/content/install.rst 2020-12-08
13:25:32.000000000 +0100
@@ -9,7 +9,7 @@
You can install it with ``pip`` as usual.
-However, to work properly, PyEnchant needs to:
+However, to work properly, PyEnchant needs to:
* find the Enchant C library
* find the dictionaries for your particular language
@@ -45,6 +45,16 @@
brew update
brew install enchant
+If you are using `MacPorts <https://www.macports.org/>`_ you can also
+install the `enchant2 <https://github.com/macports/macports-
+ports/tree/master/textproc/enchant2>`_ package. Please make sure to add
+the port variants for the spellers you???d like to use. For example, to
+build the enchant library for aspell and hunspell, use:
+
+.. code:: bash
+
+ sudo port install enchant2 +aspell +hunspell +applespell
+
On Windows
+++++++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyenchant-3.1.1/website/content/tutorial.rst
new/pyenchant-3.2.0/website/content/tutorial.rst
--- old/pyenchant-3.1.1/website/content/tutorial.rst 2020-05-31
17:56:21.000000000 +0200
+++ new/pyenchant-3.2.0/website/content/tutorial.rst 2020-12-08
13:25:32.000000000 +0100
@@ -234,7 +234,7 @@
>>> [w for w in tknzr("send an email to [email protected] please")]
[('send', 0), ('an', 5), ('email', 8), ('to', 14), ('[email protected]', 17),
('please', 34)]
>>>
- >>> tknzr = get_tokenizer("en_US",[EmailFilter])
+ >>> tknzr = get_tokenizer("en_US", filters=[EmailFilter])
>>> [w for w in tknzr("send an email to [email protected] please")]
[('send', 0), ('an', 5), ('email', 8), ('to', 14), ('please', 34)]