From d120f0164a657bf99774adca7a0ce6167168e90c Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 22 Jul 2014 10:22:39 +0000 Subject: 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 --- textproc/py-enchant/Makefile | 11 +++-------- textproc/py-enchant/PLIST | 16 ++++++---------- textproc/py-enchant/distinfo | 11 +++++------ textproc/py-enchant/patches/patch-aa | 17 ----------------- textproc/py-enchant/patches/patch-ab | 12 ++++++------ 5 files changed, 20 insertions(+), 47 deletions(-) delete mode 100644 textproc/py-enchant/patches/patch-aa diff --git a/textproc/py-enchant/Makefile b/textproc/py-enchant/Makefile index b469643f08f..c3cf765c49c 100644 --- a/textproc/py-enchant/Makefile +++ b/textproc/py-enchant/Makefile @@ -1,13 +1,12 @@ -# $NetBSD: Makefile,v 1.10 2013/04/08 11:17:23 rodent Exp $ -# +# $NetBSD: Makefile,v 1.11 2014/07/22 10:22:39 wiz Exp $ -DISTNAME= pyenchant-1.6.5 +DISTNAME= pyenchant-1.6.6 PKGNAME= ${DISTNAME:S/py/${PYPKGPREFIX}-/} CATEGORIES= textproc MASTER_SITES= http://pypi.python.org/packages/source/p/pyenchant/ MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://www.rfk.id.au/software/pyenchant/ +HOMEPAGE= https://pythonhosted.org/pyenchant/ COMMENT= Spellchecking library for Python LICENSE= gnu-lgpl-v2.1 @@ -32,9 +31,5 @@ SUBST_STAGE.dlpath= pre-configure SUBST_FILES.dlpath= enchant/_enchant.py SUBST_VARS.dlpath= PYENCHANT_LIBRARY_PATH -post-extract: - # fix README file permissions - ${CHMOD} 644 ${WRKSRC}/enchant/share/enchant/ispell/README.txt - .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/py-enchant/PLIST b/textproc/py-enchant/PLIST index ef0a2c77381..4206e999cfd 100644 --- a/textproc/py-enchant/PLIST +++ b/textproc/py-enchant/PLIST @@ -1,4 +1,9 @@ -@comment $NetBSD: PLIST,v 1.3 2010/06/01 05:28:11 obache Exp $ +@comment $NetBSD: PLIST,v 1.4 2014/07/22 10:22:39 wiz Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/eager_resources.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt ${PYSITELIB}/enchant/__init__.py ${PYSITELIB}/enchant/__init__.pyc ${PYSITELIB}/enchant/__init__.pyo @@ -23,13 +28,9 @@ ${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 @@ -45,8 +46,3 @@ ${PYSITELIB}/enchant/tokenize/tests.pyo ${PYSITELIB}/enchant/utils.py ${PYSITELIB}/enchant/utils.pyc ${PYSITELIB}/enchant/utils.pyo -${PYSITELIB}/${EGG_INFODIR}/PKG-INFO -${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt -${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt -${PYSITELIB}/${EGG_INFODIR}/eager_resources.txt -${PYSITELIB}/${EGG_INFODIR}/top_level.txt diff --git a/textproc/py-enchant/distinfo b/textproc/py-enchant/distinfo index 75454f42a20..1b854abaf0c 100644 --- a/textproc/py-enchant/distinfo +++ b/textproc/py-enchant/distinfo @@ -1,7 +1,6 @@ -$NetBSD: distinfo,v 1.4 2010/12/23 00:26:09 wiz Exp $ +$NetBSD: distinfo,v 1.5 2014/07/22 10:22:39 wiz Exp $ -SHA1 (pyenchant-1.6.5.tar.gz) = 6f01b8657b64e970a11945c2a9b4d6d8023997bc -RMD160 (pyenchant-1.6.5.tar.gz) = 4e94bb26134f6d60b114cf40b3170dbf5fcb6e85 -Size (pyenchant-1.6.5.tar.gz) = 62294 bytes -SHA1 (patch-aa) = ec0423b39aca6634dbf801907ffa8caa2c0acedf -SHA1 (patch-ab) = 67a6528acc227042a43efba87400d35d8a930da5 +SHA1 (pyenchant-1.6.6.tar.gz) = 353b0b06cb29deef46298337afdd96ec71f01625 +RMD160 (pyenchant-1.6.6.tar.gz) = 1032e5f5da257211c69705f1468bb00b864a287b +Size (pyenchant-1.6.6.tar.gz) = 64010 bytes +SHA1 (patch-ab) = cc3cc686c76ecc45ae624d319f8207adad5a2207 diff --git a/textproc/py-enchant/patches/patch-aa b/textproc/py-enchant/patches/patch-aa deleted file mode 100644 index ca902ae99a3..00000000000 --- a/textproc/py-enchant/patches/patch-aa +++ /dev/null @@ -1,17 +0,0 @@ -$NetBSD: patch-aa,v 1.2 2010/09/13 10:36:50 wiz Exp $ - -avoid extra download of distribute-0.6.10.tar.gz. - ---- setup.py.orig 2010-08-17 05:24:55.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 - from distutils.archive_util import make_archive - diff --git a/textproc/py-enchant/patches/patch-ab b/textproc/py-enchant/patches/patch-ab index b5c786b5a00..40b53595919 100644 --- a/textproc/py-enchant/patches/patch-ab +++ b/textproc/py-enchant/patches/patch-ab @@ -1,14 +1,14 @@ -$NetBSD: patch-ab,v 1.2 2010/09/13 10:36:51 wiz Exp $ +$NetBSD: patch-ab,v 1.3 2014/07/22 10:22:39 wiz Exp $ fix path of libenchant. ---- enchant/_enchant.py.orig 2010-08-17 04:15:25.000000000 +0000 +--- enchant/_enchant.py.orig 2014-06-16 12:01:43.000000000 +0000 +++ enchant/_enchant.py @@ -64,6 +64,7 @@ e = None def _e_path_possibilities(): """Generator yielding possible locations of the enchant library.""" - yield os.environ.get("PYENCHANT_LIBRARY_PATH") + # Allow it to be overridden using an environment variable. + yield "@PYENCHANT_LIBRARY_PATH@" - yield find_library("enchant") - yield find_library("libenchant") - yield find_library("libenchant-1") + 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"): -- cgit v1.2.3