summaryrefslogtreecommitdiff
path: root/textproc/py-mecab
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2007-05-12 13:56:34 +0000
committerobache <obache@pkgsrc.org>2007-05-12 13:56:34 +0000
commit06aaeab07e963287727635043ab52b7f0acbb35b (patch)
tree92e16054639c0ef3598329d1ee2b97f42fb03890 /textproc/py-mecab
parentab6d516acbb4a1b93ec9a023a977b15b30b4c44e (diff)
downloadpkgsrc-06aaeab07e963287727635043ab52b7f0acbb35b.tar.gz
Initial import of py-mecab version 0.95.
MeCab python module.
Diffstat (limited to 'textproc/py-mecab')
-rw-r--r--textproc/py-mecab/DESCR1
-rw-r--r--textproc/py-mecab/Makefile26
-rw-r--r--textproc/py-mecab/PLIST5
-rw-r--r--textproc/py-mecab/distinfo5
4 files changed, 37 insertions, 0 deletions
diff --git a/textproc/py-mecab/DESCR b/textproc/py-mecab/DESCR
new file mode 100644
index 00000000000..47c12aa071a
--- /dev/null
+++ b/textproc/py-mecab/DESCR
@@ -0,0 +1 @@
+MeCab python module
diff --git a/textproc/py-mecab/Makefile b/textproc/py-mecab/Makefile
new file mode 100644
index 00000000000..90ff64ef3db
--- /dev/null
+++ b/textproc/py-mecab/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/05/12 13:56:34 obache Exp $
+#
+
+.include "../../textproc/mecab/Makefile.common"
+
+DISTNAME= mecab-python-${MECAB_VERSION}
+PKGNAME= ${PYPKGPREFIX}-mecab-${MECAB_VERSION}
+CATEGORIES+= python
+
+COMMENT= MeCab python module
+
+USE_LANGUAGES= c c++
+
+PYDISTUTILSPKG= yes
+PYBINMODULE= yes
+
+TEST_ENV+= PYTHONPATH=${WRKSRC:Q}/build/lib.${LOWER_OPSYS}-${OS_VERSION}-${MACHINE_ARCH}-${PYVERSSUFFIX}
+
+do-test:
+ ${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD} \
+ cd ${WRKSRC}; \
+ env ${TEST_ENV} ${PYTHONBIN} test.py
+
+.include "../../textproc/mecab/buildlink3.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-mecab/PLIST b/textproc/py-mecab/PLIST
new file mode 100644
index 00000000000..19b39b61e1e
--- /dev/null
+++ b/textproc/py-mecab/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/05/12 13:56:34 obache Exp $
+${PYSITELIB}/MeCab.py
+${PYSITELIB}/MeCab.pyc
+${PYSITELIB}/_MeCab.so
+${PYSITELIB}/MeCab.pyo
diff --git a/textproc/py-mecab/distinfo b/textproc/py-mecab/distinfo
new file mode 100644
index 00000000000..d79514ccda2
--- /dev/null
+++ b/textproc/py-mecab/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/05/12 13:56:34 obache Exp $
+
+SHA1 (mecab-python-0.95.tar.gz) = 3b3b3daafecf76fc21650b1321a842941a179385
+RMD160 (mecab-python-0.95.tar.gz) = f1755dd951dbacdfe605876a6cdb87c928d53537
+Size (mecab-python-0.95.tar.gz) = 38361 bytes