git: 73244b53843a - main - japanese/py-unidic: New port: Version of UniDic dictionary for contemporary written Japanese
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 20 Jul 2024 22:49:26 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=73244b53843a87d5ae1a00eeb29f8128f542a8f7
commit 73244b53843a87d5ae1a00eeb29f8128f542a8f7
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-07-20 22:14:58 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-07-20 22:49:22 +0000
japanese/py-unidic: New port: Version of UniDic dictionary for contemporary written Japanese
---
japanese/Makefile | 1 +
japanese/py-unidic/Makefile | 24 ++++++++++++++++++++++++
japanese/py-unidic/distinfo | 3 +++
japanese/py-unidic/pkg-descr | 2 ++
4 files changed, 30 insertions(+)
diff --git a/japanese/Makefile b/japanese/Makefile
index 3834a8de470b..8b3c0075d0b3 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -225,6 +225,7 @@
SUBDIR += prn
SUBDIR += py-SudachiPy
SUBDIR += py-jaconv
+ SUBDIR += py-unidic
SUBDIR += qkc
SUBDIR += qolibri
SUBDIR += quit
diff --git a/japanese/py-unidic/Makefile b/japanese/py-unidic/Makefile
new file mode 100644
index 000000000000..564fd0d8dd2a
--- /dev/null
+++ b/japanese/py-unidic/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= unidic
+DISTVERSION= 1.1.0
+CATEGORIES= japanese python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Version of UniDic dictionary for contemporary written Japanese
+WWW= https://github.com/polm/unidic-py
+
+LICENSE= APACHE20
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyproject_hooks>0:devel/py-pyproject_hooks@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}plac>=1.1.3:devel/py-plac@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.22.0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tqdm>=4.41.1:misc/py-tqdm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wasabi>=0.6.0:textproc/py-wasabi@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= distutils autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/japanese/py-unidic/distinfo b/japanese/py-unidic/distinfo
new file mode 100644
index 000000000000..c9a15d75fa46
--- /dev/null
+++ b/japanese/py-unidic/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1721511361
+SHA256 (unidic-1.1.0.tar.gz) = 0ab91c05de342c84d2a6314901fd3afb9061ecd7534dd4a0431dccbb87d921b7
+SIZE (unidic-1.1.0.tar.gz) = 7688
diff --git a/japanese/py-unidic/pkg-descr b/japanese/py-unidic/pkg-descr
new file mode 100644
index 000000000000..63110ba4fc78
--- /dev/null
+++ b/japanese/py-unidic/pkg-descr
@@ -0,0 +1,2 @@
+unidic is a version of UniDic, en electronic dictionary,
+for Contemporary Written Japanese.