head 1.6; access; symbols pkgsrc-2023Q4:1.5.0.36 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.34 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.5.0.32 pkgsrc-2023Q2-base:1.5 pkgsrc-2023Q1:1.5.0.30 pkgsrc-2023Q1-base:1.5 pkgsrc-2022Q4:1.5.0.28 pkgsrc-2022Q4-base:1.5 pkgsrc-2022Q3:1.5.0.26 pkgsrc-2022Q3-base:1.5 pkgsrc-2022Q2:1.5.0.24 pkgsrc-2022Q2-base:1.5 pkgsrc-2022Q1:1.5.0.22 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.5.0.20 pkgsrc-2021Q4-base:1.5 pkgsrc-2021Q3:1.5.0.18 pkgsrc-2021Q3-base:1.5 pkgsrc-2021Q2:1.5.0.16 pkgsrc-2021Q2-base:1.5 pkgsrc-2021Q1:1.5.0.14 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.12 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.10 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.8 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.4 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.6 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.2 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.3.0.42 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.40 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.38 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.36 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.34 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.32 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.30 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.28 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.24 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.22 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.20 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.18 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.16 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.14 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.12 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.10 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.8 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.6 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.4 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.2 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.2.0.32 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.30 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.28 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.26 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.24 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.22 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.20 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.18 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.16 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.14 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.2.0.12 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.2.0.10 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.8 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.6 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.4 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.2 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.1.0.2 pkgsrc-2010Q2-base:1.1; locks; strict; comment @# @; 1.6 date 2024.01.22.13.28.38; author adam; state dead; branches; next 1.5; commitid TmflPxZzwaCpPrVE; 1.5 date 2019.07.20.22.56.54; author wiz; state Exp; branches; next 1.4; commitid 8jz7oHzL2DwNUPvB; 1.4 date 2019.07.13.15.51.52; author wiz; state Exp; branches; next 1.3; commitid NI8rQNQEoVAXMTuB; 1.3 date 2014.07.22.10.22.39; author wiz; state Exp; branches; next 1.2; commitid DFhJdc0ekRm7nmJx; 1.2 date 2010.09.13.10.36.51; author wiz; state Exp; branches; next 1.1; 1.1 date 2010.06.01.05.28.11; author obache; state Exp; branches; next ; desc @@ 1.6 log @py-enchant: updated to 3.2.2 3.2.2 (2021-10-05) * Add support for Python 3.10 3.2.1 (2021-06-24) * Fix ``Dict.__del__`` sometimes raising `TypeError` upon exit. Patch by @@rr- * Default development branch is now called ``main`` * Bump ``black`` to 21.6b0 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) * On Windows, set PATH instead of calling ``SetDllDirectory`` before loading the Enchant C library. This allows PyEnchant to co-exist with other libraries in the same program. 3.1.0 (2020-05-20) * Add ``enchant.get_user_config_dir()`` * Fix: ``enchant.get_enchant_version()`` now returns a ``str``, not some ``bytes`` 3.0.1 (2020-03-01) * Add missing LICENSE.txt in source distribution 3.0.0 (2020-03-01) Highlights * Uncouple PyEnchant version from the Enchant version. This release should be compatible with Enchant 1.6 to 2.2 * Fix using PyEnchant with Enchant >= 2.0 * Add support for pypy3, Python 3.7 and Python 3.8 * New website, hosted on https://pyenchant.github.io/pyenchant/ * Add `enchant.set_prefix_dir()` Breaking changes * Drop support for Python2 * **macOS**: The C enchant library is no longer embedded inside the wheel - you should install the C enchant library with ``brew`` or ``ports``. Clean ups * Port test suite to ``pytest``. * Add ``tbump`` configuration to simplify the release process * Format code with ``black``. * Remove compatibility layers with Python2 from ``enchant.utils`` * Use ``flake8`` to catch some errors during CI * Fix some PEP8 naming violations * Switch to GitHub Actions for CI @ text @$NetBSD: patch-ab,v 1.5 2019/07/20 22:56:54 wiz Exp $ fix path of libenchant. --- enchant/_enchant.py.orig 2017-07-18 04:39:34.000000000 +0000 +++ enchant/_enchant.py @@@@ -64,6 +64,7 @@@@ e = None def _e_path_possibilities(): """Generator yielding possible locations of the enchant library.""" # Allow it to be overridden using an environment variable. + yield "@@PYENCHANT_LIBRARY_PATH@@" yield os.environ.get("PYENCHANT_LIBRARY_PATH") # For linuxish systems, allow default soname lookup a chance to succeed. if sys.platform not in ("win32", "darwin"): @ 1.5 log @py-enchant: update to 2.0.0. Changes not found. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.4 2019/07/13 15:51:52 wiz Exp $ @ 1.4 log @py-enchant: update to 1.6.11nb1. Switch from enchant to enchant2. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.3 2014/07/22 10:22:39 wiz Exp $ a14 9 @@@@ -309,7 +310,7 @@@@ dict_is_removed1.restype = c_int def dict_is_removed(dict,word): return dict_is_removed1(dict,word,len(word)) -dict_is_in_session1 = e.enchant_dict_is_in_session +dict_is_in_session1 = e.enchant_dict_is_added dict_is_in_session1.argtypes = [t_dict,c_char_p,c_size_t] dict_is_in_session1.restype = c_int def dict_is_in_session(dict,word): @ 1.3 log @Update to 1.6.6: Version 1.6.6 of PyEnchant has been released, with the following changes: compatability with latest python releases "wheels" replace "eggs" as the binary distribution format of choice fix possible text corruption when using SpellChecker with a Chunker @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.2 2010/09/13 10:36:51 wiz Exp $ d5 1 a5 1 --- enchant/_enchant.py.orig 2014-06-16 12:01:43.000000000 +0000 d11 1 a11 1 + yield "@@PYENCHANT_LIBRARY_PATH@@" d15 9 @ 1.2 log @Update to 1.6.3: Version 1.6.3 of PyEnchant has been released, with the following changes: * Pre-compiled binary distributions for Mac OS X * Safer loading of bundled DLLs on Windows * New function get_enchant_version() to obtain the version of the underlying enchant library @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.1 2010/06/01 05:28:11 obache Exp $ d5 1 a5 1 --- enchant/_enchant.py.orig 2010-08-17 04:15:25.000000000 +0000 d10 2 d13 2 a14 4 + yield "@@PYENCHANT_LIBRARY_PATH@@" yield find_library("enchant") yield find_library("libenchant") yield find_library("libenchant-1") @ 1.1 log @Update py-enchant to 1.6.2. Based on PR#43384 by Wen Heping. * Migrated from SWIG to ctypes since 1.5.0: * Add dependency on devel/py-ctypes for python2.4 * Fix paths for libenchant to exactly load suitable one. * No need c compiler and buildlink with textproc/enchant. Changes: 1.6.2: * Upgraded bundled enchant to v1.6.0. * Fixed bug in printf() utility function; all input args are now converted to strings before printing. 1.6.1: * Fixed loading of enchant DLL on win32 without pkg_resources installed. * Fixed HTMLChunker to handle unescaped < and > characters that are clearly not part of a tag. 1.6.0: * Upgraded to enchant v1.5.0: * new Broker methods get_param() and set_param() allow runtime customisation of provider data * Added the concept of 'chunkers' to enchant.tokenize.get_tokenizer(). These serve split split the text into large chunks of checkable tokens. * implemented a simple HTMLChunker class * Moved error classes into 'enchant.errors' for easier importing * Moved testcases into separate files so they're not loaded by default * Allowed SpellChecker to use default language if none is specified * Improved compatibility with Python 3 1.5.3: * Fixed termination conditions in English tokenization loop. * Improved unicode detection in English tokenizer. * Made enchant spellcheck all of its docstrings as part of the unittest suite. 1.5.2: * Modify utils.get_resource_filename and utils.win32_data_files for compatibility with py2exe (which was broken in the move to ctypes). Thanks to Stephen George for the fix. 1.5.1: * SpellChecker.add_to_personal renamed to SpellChecker.add and fixed to use the corresponding Dict method. 1.5.0: * Migrated from SWIG to ctypes: * now runs under PyPy! * also opens possibilities for Jython, IronPython, ... * Compatibility updates for Python 3.0, mostly around unicode strings * Dropped compatibility with Python 2.2 @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- enchant/_enchant.py.orig 2010-03-06 07:27:42.000000000 +0000 d7 1 a7 2 @@@@ -67,6 +67,7 @@@@ if sys.platform == "win32": d9 1 @