From nobody Sat Jul 20 22:49:27 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WRMDS1rLNz5QKHK; Sat, 20 Jul 2024 22:49:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WRMDR3t0Jz58kR; Sat, 20 Jul 2024 22:49:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721515767; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Gl7RaW1ei4L5/AYGXlvPQouRAvy925ZIlmdVr6f/4g4=; b=u5AnanG3o7WsmLr+oEK4hHgoWakM757Vl9cob7RXZ+BVjmuS4iiVfT9VcsfM4XNXn8NKcg jlsWIKSdiX+n25K3FHSqrZvOAfj40Q+JEQR1CzgIXCcZdGNdzsOxnu8RvGtpkTUvfT/6dr vgEu8kLP4TnDxp6soCog8MN+GFWC/btism+jPNMMehhnv9X8+GLk1T7GBe8o9SWNxpgTMv XBAIq4pS2CW8QwMu143GQZ/Q4kAm1McZoAf0m5FUCld8nKznQcuwgrZ4QNdgx9GVmdH/Ai 18ffce/J9xkxE5cV7aakN9GQIhByUh2ZGj5pm2DTRZLWAdEg4RiFOb49ioqLKg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721515767; a=rsa-sha256; cv=none; b=yfy/0GqH/eDcubHk+fhuW16EfhWzVSQbzKBcoS9KN6ZWfgqVXUM+dCeIaHFADqdr3QKk9h cdL2nEoEtSMj0dQ8PY6ZcQr7I2CGdWMNG2539ayVQUwawKbPyAPPcH/fCJ9noa7jqiv7Gw fQXeKocdMYb0BamoZP80VWzlB96TGhkhdh05fkGOT3H17NVHEFlENge2ok9gBAjojfBrOz lRMUQaYBWscQmuJpI+lbMPgaJUpJVeXeXaIvn4bRuwkRRMXbmI+A8kqVqXsZi9Vh6hGg1i F6hlxDwCkNRx97ZU9wv5xzHEjP7yBF7HtMMt4cgm6w7eSgeKyS7vNONoNTy0OQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721515767; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Gl7RaW1ei4L5/AYGXlvPQouRAvy925ZIlmdVr6f/4g4=; b=YTf4nSGVqKnJpfUQXXF9aT9dJq6lY6p+0WCOzGGReC6PVnF9CE1moalb1vT/Zqwak2LDZk 4s/3REvFo97X9xjqydl2OJBOf+YCMSl7lQSycws3R72EawTpqO/uXcSfK7q+XCoMUVogDR DXbBdOLlzDEJ/vdRNTAnzpxu4Tsu07yTa9uGcoEhyzDzxCJUqQ6+6+bPrp09jYCoCJUmOd MR2DVpL9+QXMGTQzs2BjsqeNIZqoO9VwmRz7x5F0xTmAnIr+TtTHUb8yO02+88L6ZGbXrE BZAJcvfKtoRwGJKNXLym5s01upSnSpJaKJHLQOe09B9is0N4n85AOeHnlU+YBA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WRMDR36VpzbcJ; Sat, 20 Jul 2024 22:49:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46KMnR0m040151; Sat, 20 Jul 2024 22:49:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46KMnR0r040148; Sat, 20 Jul 2024 22:49:27 GMT (envelope-from git) Date: Sat, 20 Jul 2024 22:49:27 GMT Message-Id: <202407202249.46KMnR0r040148@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 194dda49a4df - main - japanese/py-fugashi: New port: Cython MeCab wrapper for fast, pythonic Japanese tokenization List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 194dda49a4df8c0e52b2895696d4d435c18dd104 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=194dda49a4df8c0e52b2895696d4d435c18dd104 commit 194dda49a4df8c0e52b2895696d4d435c18dd104 Author: Yuri Victorovich AuthorDate: 2024-07-20 22:48:54 +0000 Commit: Yuri Victorovich CommitDate: 2024-07-20 22:49:22 +0000 japanese/py-fugashi: New port: Cython MeCab wrapper for fast, pythonic Japanese tokenization --- japanese/Makefile | 1 + japanese/py-fugashi/Makefile | 27 +++++++++++++++++++++++++++ japanese/py-fugashi/distinfo | 3 +++ japanese/py-fugashi/pkg-descr | 2 ++ 4 files changed, 33 insertions(+) diff --git a/japanese/Makefile b/japanese/Makefile index 8b3c0075d0b3..9e1df7b69745 100644 --- a/japanese/Makefile +++ b/japanese/Makefile @@ -224,6 +224,7 @@ SUBDIR += plan SUBDIR += prn SUBDIR += py-SudachiPy + SUBDIR += py-fugashi SUBDIR += py-jaconv SUBDIR += py-unidic SUBDIR += qkc diff --git a/japanese/py-fugashi/Makefile b/japanese/py-fugashi/Makefile new file mode 100644 index 000000000000..039df63b5e3f --- /dev/null +++ b/japanese/py-fugashi/Makefile @@ -0,0 +1,27 @@ +PORTNAME= fugashi +DISTVERSION= 1.3.2 +CATEGORIES= japanese python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Cython MeCab wrapper for fast, pythonic Japanese tokenization +WWW= https://github.com/polm/fugashi + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +LIB_DEPENDS= libmecab.so:japanese/mecab + +USES= python +USE_PYTHON= distutils cython autoplist # tests depend on ipadic + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} +TEST_WRKSRC= ${WRKSRC}/fugashi/tests + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/fugashi/fugashi${PYTHON_EXT_SUFFIX}.so + +.include diff --git a/japanese/py-fugashi/distinfo b/japanese/py-fugashi/distinfo new file mode 100644 index 000000000000..96d3abe5c198 --- /dev/null +++ b/japanese/py-fugashi/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1721513940 +SHA256 (fugashi-1.3.2.tar.gz) = 964980b5d227ee41af7570542aaab56b1298c44416271cba5d8ff9a58ab40748 +SIZE (fugashi-1.3.2.tar.gz) = 338825 diff --git a/japanese/py-fugashi/pkg-descr b/japanese/py-fugashi/pkg-descr new file mode 100644 index 000000000000..87580feda4ab --- /dev/null +++ b/japanese/py-fugashi/pkg-descr @@ -0,0 +1,2 @@ +fugashi is a Cython wrapper for MeCab, a Japanese tokenizer and morphological +analysis tool.