Up to [cvs.NetBSD.org] / pkgsrc / textproc / py-enchant
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-*: remove unused tool dependency py-setuptools includes the py-wheel functionality nowadays
py-enchant: always use libenchant2 from pkgsrc; bump revision
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
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
py-enchant: update to 2.0.0. Changes not found.
py-enchant: update to 1.6.11nb1. Switch from enchant to enchant2.
py-enchant: update to 1.6.11 1.6.11: Bug fixes.
Use public SHLIB_TYPE instead of private _OPSYS_SHLIB_TYPE.
Switch to MASTER_SITES_PYPI.
Remove mk/find-prefix.mk usage from the textproc category. The find-prefix infrastructure was required in a pkgviews world where packages installed from pkgsrc could have different installation prefixes, and this was a way for a dependency prefix to be determined. Now that pkgviews has been removed there is no longer any need for the overhead of this infrastructure. Instead we use BUILDLINK_PREFIX.pkg for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the dependency is coming from pkgsrc. Provides a reasonable performance win due to the reduction of `pkg_info -qp` calls, some of which were redundant anyway as they were duplicating the same information provided by BUILDLINK_PREFIX.pkg.
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
Remove "Trailing empty lines." and/or "Trailing white-space."
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Remove python24 and all traces of it from pkgsrc. Remove devel/py-ctypes (only needed by and supporting python24). Remove PYTHON_VERSIONS_ACCEPTED and PYTHON_VERSIONS_INCOMPATIBLE lines that just mirror defaults now. Miscellaneous cleanup while editing all these files.
textproc/py-enchant: Fix file permissions error The bad file permissions on ispell/README.txt prevented the package from building on DragonFly with PKG_DEVELOPER=yes. I'm not sure how it's passing on NetBSD unless the bulk reports I'm seeing aren't using that option.
Update to 1.6.5: 2010-12-14: Version 1.6.5 released Version 1.6.5 of PyEnchant has been released, with the following changes: * restore compatability with Python 3 (including 3.2 beta1) * fix unittest DeprecationWarnings on Python 3 * statically compile libstdc++ into pre-built windows binaries 2010-12-13: Version 1.6.4 released Version 1.6.4 of PyEnchant has been released, with the following changes: * DictWithPWL: use pwl and pel to adjust the words returned by suggest() * Fix tokenization of utf8 bytes in a mutable character array * get_tokenizer(): pass None as language tag to get default tokenizer * prevent build-related files from being included in the source tarball
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
Fix dependency
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
Supports DESTDIR
Initial import of py-enchant-1.4.2: PyEnchant is a set of language bindings and some wrapper classes to make the excellent Enchant spellchecker available as a Python module. The bindings are generated using SWIG. It includes all the functionality of Enchant with the flexibility of Python and a nice 'Pythonic' object-oriented interface. It also aims to provide some higher-level functionality than is available in the C API. Enchant is the spellchecking package behind the AbiWord word processor, is being considered for inclusion in the KDE office suite, and has been proposed as a FreeDesktop.org standard. It aims to provide a single API to access spellchecking services on any platform, by wrapping the natively available spellchecking facilities. For example, it can access aspell when running under Linux and AppleSpell on Mac OSX.
Initial revision