pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/py-enchant py-enchant: update to 1.6.11nb1.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ad50c816e4d9
branches: trunk
changeset: 398223:ad50c816e4d9
user: wiz <wiz%pkgsrc.org@localhost>
date: Sat Jul 13 15:51:52 2019 +0000
description:
py-enchant: update to 1.6.11nb1.
Switch from enchant to enchant2.
diffstat:
textproc/py-enchant/Makefile | 7 ++++---
textproc/py-enchant/distinfo | 4 ++--
textproc/py-enchant/patches/patch-ab | 15 ++++++++++++---
3 files changed, 18 insertions(+), 8 deletions(-)
diffs (74 lines):
diff -r d8cbbf784de3 -r ad50c816e4d9 textproc/py-enchant/Makefile
--- a/textproc/py-enchant/Makefile Sat Jul 13 15:41:55 2019 +0000
+++ b/textproc/py-enchant/Makefile Sat Jul 13 15:51:52 2019 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2017/10/07 07:05:49 adam Exp $
+# $NetBSD: Makefile,v 1.16 2019/07/13 15:51:52 wiz Exp $
DISTNAME= pyenchant-1.6.11
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
+PKGREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyenchant/}
@@ -12,7 +13,7 @@
.include "../../lang/python/pyversion.mk"
-DEPENDS+= enchant-[0-9]*:../../textproc/enchant
+DEPENDS+= enchant2-[0-9]*:../../textproc/enchant2
USE_LANGUAGES= # empty
@@ -20,7 +21,7 @@
DLEXT.dylib= dylib
DLEXT= ${DLEXT.${SHLIB_TYPE}:Uso}
-PYENCHANT_LIBRARY_PATH= ${PREFIX}/lib/libenchant.${DLEXT}
+PYENCHANT_LIBRARY_PATH= ${PREFIX}/lib/libenchant-2.${DLEXT}
# fix the path of libenchant with patch-ab.
SUBST_CLASSES+= dlpath
diff -r d8cbbf784de3 -r ad50c816e4d9 textproc/py-enchant/distinfo
--- a/textproc/py-enchant/distinfo Sat Jul 13 15:41:55 2019 +0000
+++ b/textproc/py-enchant/distinfo Sat Jul 13 15:51:52 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.7 2017/10/07 07:05:49 adam Exp $
+$NetBSD: distinfo,v 1.8 2019/07/13 15:51:52 wiz Exp $
SHA1 (pyenchant-1.6.11.tar.gz) = 0119a4ceaa849bc45efbca8d4f5afed537eefc8b
RMD160 (pyenchant-1.6.11.tar.gz) = dd8b3e3259837a55b93dc58798404bed1d4b406c
SHA512 (pyenchant-1.6.11.tar.gz) = fadc7382592c426af9b886e1d23e444b1067353aae35805ddba1d43ad62c23d569211f36fda421bd39039134e20310d0e2eafea05564cdb8e747581ca55fb79c
Size (pyenchant-1.6.11.tar.gz) = 64137 bytes
-SHA1 (patch-ab) = cc3cc686c76ecc45ae624d319f8207adad5a2207
+SHA1 (patch-ab) = 71d50996ed3cb92d9edb44a01b26e166d9807bb0
diff -r d8cbbf784de3 -r ad50c816e4d9 textproc/py-enchant/patches/patch-ab
--- a/textproc/py-enchant/patches/patch-ab Sat Jul 13 15:41:55 2019 +0000
+++ b/textproc/py-enchant/patches/patch-ab Sat Jul 13 15:51:52 2019 +0000
@@ -1,14 +1,23 @@
-$NetBSD: patch-ab,v 1.3 2014/07/22 10:22:39 wiz Exp $
+$NetBSD: patch-ab,v 1.4 2019/07/13 15:51:52 wiz Exp $
fix path of libenchant.
---- enchant/_enchant.py.orig 2014-06-16 12:01:43.000000000 +0000
+--- 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 "@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"):
+@@ -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):
Home |
Main Index |
Thread Index |
Old Index