pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/py-enchant



Module Name:    pkgsrc
Committed By:   obache
Date:           Tue Jun  1 05:28:11 UTC 2010

Modified Files:
        pkgsrc/textproc/py-enchant: Makefile PLIST distinfo
Added Files:
        pkgsrc/textproc/py-enchant/patches: patch-aa patch-ab

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/py-enchant/Makefile \
    pkgsrc/textproc/py-enchant/PLIST
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/textproc/py-enchant/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-enchant/patches/patch-aa \
    pkgsrc/textproc/py-enchant/patches/patch-ab

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index