From f9c120e3c80a6ba439f799bff43fb8d65fdd3ce6 Mon Sep 17 00:00:00 2001 From: obache Date: Wed, 14 Oct 2009 08:22:35 +0000 Subject: Update MeCab to 0.98. 2009-09-27 MeCab 0.98 * UTF16 support (experimental) * On Windows, changed to use Native API (ex. MultiByteToWideChar) for codeset conversion. * Convert source code to Google coding style. * Add EON (end of N-best) format option (-S or --eon-format) * Fixes problems hankaku-kana handling on Shift-JIS environment * support online leraning (experimental) * Now buildable without -Wno-deprecated * and some small fixes. --- textproc/py-mecab/Makefile | 3 ++- textproc/py-mecab/distinfo | 9 +++++---- textproc/py-mecab/patches/patch-aa | 12 ++++++++++++ 3 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 textproc/py-mecab/patches/patch-aa (limited to 'textproc/py-mecab') diff --git a/textproc/py-mecab/Makefile b/textproc/py-mecab/Makefile index 99120880d40..9b81313c9db 100644 --- a/textproc/py-mecab/Makefile +++ b/textproc/py-mecab/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2009/03/05 18:51:32 joerg Exp $ +# $NetBSD: Makefile,v 1.4 2009/10/14 08:22:35 obache Exp $ # .include "../../textproc/mecab/Makefile.common" @@ -8,6 +8,7 @@ PKGNAME= ${PYPKGPREFIX}-mecab-${MECAB_VERSION} CATEGORIES+= python COMMENT= MeCab python module +LICENSE= gnu-gpl-v2 OR gnu-lgpl-v2.1 OR modified-bsd PKG_DESTDIR_SUPPORT= user-destdir diff --git a/textproc/py-mecab/distinfo b/textproc/py-mecab/distinfo index 9c76c50627e..d2640db31ca 100644 --- a/textproc/py-mecab/distinfo +++ b/textproc/py-mecab/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.3 2008/02/04 04:58:53 obache Exp $ +$NetBSD: distinfo,v 1.4 2009/10/14 08:22:35 obache Exp $ -SHA1 (mecab-python-0.97.tar.gz) = a816f27f65eeadbf637366423002e0a10f194d18 -RMD160 (mecab-python-0.97.tar.gz) = 68ab557404bc3921cbec9d52d215a83c50114935 -Size (mecab-python-0.97.tar.gz) = 53415 bytes +SHA1 (mecab-python-0.98.tar.gz) = 1833496a2411aa9ab911ad5d337e8e406103bcf2 +RMD160 (mecab-python-0.98.tar.gz) = 64b55420bfe1326110277bd47d9e37e17789af9d +Size (mecab-python-0.98.tar.gz) = 51651 bytes +SHA1 (patch-aa) = 2af6c8b0a840c3b4fd1459d16833175c726b7872 diff --git a/textproc/py-mecab/patches/patch-aa b/textproc/py-mecab/patches/patch-aa new file mode 100644 index 00000000000..3a8abf2714b --- /dev/null +++ b/textproc/py-mecab/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1 2009/10/14 08:22:35 obache Exp $ + +http://www.python.org/dev/peps/pep-0263/ + +--- test.py.orig 2009-09-27 08:40:18.000000000 +0000 ++++ test.py +@@ -1,4 +1,5 @@ + #!/usr/bin/python ++#encoding=utf-8 + + import MeCab + import sys -- cgit v1.2.3