pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/43384: [textproc/py-enchant]Update to 1.6.2
>Number: 43384
>Category: pkg
>Synopsis: [textproc/py-enchant]Update to 1.6.2
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat May 29 11:35:00 +0000 2010
>Originator: Wen Heping
>Release: NetBSD-5.0.2
>Organization:
Private
>Environment:
NetBSD nb502.wenjing.com 5.0.2 NetBSD 5.0.2 (GENERIC) #0: Sat Feb 6 17:53:27
UTC 2010
builds%b7.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-2-RELEASE/i386/201002061851Z-obj/home/builds/ab/netbsd-5-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC
i386
>Description:
(Please close pkg/42927)
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
>How-To-Repeat:
>Fix:
diff -urN -x CVS py-enchant/Makefile py-enchant.new/Makefile
--- py-enchant/Makefile 2009-02-17 03:38:27.000000000 +0800
+++ py-enchant.new/Makefile 2010-05-30 01:54:17.000000000 +0800
@@ -1,14 +1,15 @@
# $NetBSD: Makefile,v 1.2 2009/02/16 19:38:27 joerg Exp $
#
-DISTNAME= pyenchant-1.4.2
+DISTNAME= pyenchant-1.6.2
PKGNAME= ${DISTNAME:S/py/${PYPKGPREFIX}-/}
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pyenchant/}
+MASTER_SITES= http://pypi.python.org/packages/source/p/pyenchant/
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://pyenchant.sourceforge.net/
COMMENT= Spellchecking library for Python
+LICENSE= gnu-lgpl-v2.1
PKG_DESTDIR_SUPPORT= user-destdir
diff -urN -x CVS py-enchant/PLIST py-enchant.new/PLIST
--- py-enchant/PLIST 2009-06-15 02:17:25.000000000 +0800
+++ py-enchant.new/PLIST 2010-05-30 01:48:23.000000000 +0800
@@ -1,8 +1,10 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:17:25 joerg Exp $
+@comment $NetBSD$
${PYSITELIB}/enchant/__init__.py
${PYSITELIB}/enchant/__init__.pyc
${PYSITELIB}/enchant/__init__.pyo
-${PYSITELIB}/enchant/_enchant.so
+${PYSITELIB}/enchant/_enchant.py
+${PYSITELIB}/enchant/_enchant.pyc
+${PYSITELIB}/enchant/_enchant.pyo
${PYSITELIB}/enchant/checker/CmdLineChecker.py
${PYSITELIB}/enchant/checker/CmdLineChecker.pyc
${PYSITELIB}/enchant/checker/CmdLineChecker.pyo
@@ -12,18 +14,34 @@
${PYSITELIB}/enchant/checker/__init__.py
${PYSITELIB}/enchant/checker/__init__.pyc
${PYSITELIB}/enchant/checker/__init__.pyo
+${PYSITELIB}/enchant/checker/tests.py
+${PYSITELIB}/enchant/checker/tests.pyc
+${PYSITELIB}/enchant/checker/tests.pyo
${PYSITELIB}/enchant/checker/wxSpellCheckerDialog.py
${PYSITELIB}/enchant/checker/wxSpellCheckerDialog.pyc
${PYSITELIB}/enchant/checker/wxSpellCheckerDialog.pyo
+${PYSITELIB}/enchant/errors.py
+${PYSITELIB}/enchant/errors.pyc
+${PYSITELIB}/enchant/errors.pyo
+${PYSITELIB}/enchant/lib/enchant/README.txt
${PYSITELIB}/enchant/pypwl.py
${PYSITELIB}/enchant/pypwl.pyc
${PYSITELIB}/enchant/pypwl.pyo
+${PYSITELIB}/enchant/share/enchant/README.txt
+${PYSITELIB}/enchant/share/enchant/ispell/README.txt
+${PYSITELIB}/enchant/share/enchant/myspell/README.txt
+${PYSITELIB}/enchant/tests.py
+${PYSITELIB}/enchant/tests.pyc
+${PYSITELIB}/enchant/tests.pyo
${PYSITELIB}/enchant/tokenize/__init__.py
${PYSITELIB}/enchant/tokenize/__init__.pyc
${PYSITELIB}/enchant/tokenize/__init__.pyo
${PYSITELIB}/enchant/tokenize/en.py
${PYSITELIB}/enchant/tokenize/en.pyc
${PYSITELIB}/enchant/tokenize/en.pyo
+${PYSITELIB}/enchant/tokenize/tests.py
+${PYSITELIB}/enchant/tokenize/tests.pyc
+${PYSITELIB}/enchant/tokenize/tests.pyo
${PYSITELIB}/enchant/utils.py
${PYSITELIB}/enchant/utils.pyc
${PYSITELIB}/enchant/utils.pyo
diff -urN -x CVS py-enchant/distinfo py-enchant.new/distinfo
--- py-enchant/distinfo 2008-10-08 17:42:47.000000000 +0800
+++ py-enchant.new/distinfo 2010-05-30 02:19:14.000000000 +0800
@@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.1.1.1 2008/10/08 09:42:47 wiz Exp $
-SHA1 (pyenchant-1.4.2.tar.gz) = 97197d72a0197e459946805d254b3958a0e1de2e
-RMD160 (pyenchant-1.4.2.tar.gz) = 9107042d841ab920baeeef10643d88ff4e65bb7f
-Size (pyenchant-1.4.2.tar.gz) = 81230 bytes
+SHA1 (pyenchant-1.6.2.tar.gz) = 54937a31dfdd1023f588ff599135b541f7845eb8
+RMD160 (pyenchant-1.6.2.tar.gz) = 8dc31b837e33d2fe517b9346077060767526861b
+Size (pyenchant-1.6.2.tar.gz) = 57761 bytes
+SHA1 (patch-aa) = a3517873eb7daee2a1a302c80c6d17c7c3f82f34
diff -urN -x CVS py-enchant/patches/patch-aa py-enchant.new/patches/patch-aa
--- py-enchant/patches/patch-aa 1970-01-01 07:00:00.000000000 +0700
+++ py-enchant.new/patches/patch-aa 2010-05-30 02:18:43.000000000 +0800
@@ -0,0 +1,15 @@
+$NetBSD$
+
+--- setup.py.orig 2010-05-29 18:08:02.000000000 +0000
++++ setup.py
+@@ -6,8 +6,8 @@
+ #
+
+
+-import distribute_setup
+-distribute_setup.use_setuptools()
++#import distribute_setup
++#distribute_setup.use_setuptools()
+ from setuptools import setup, find_packages, Extension
+
+ import sys
Home |
Main Index |
Thread Index |
Old Index