diff --git a/japanese/py-fugashi/Makefile b/japanese/py-fugashi/Makefile index 99e94e2aa77d..b5c2f912d247 100644 --- a/japanese/py-fugashi/Makefile +++ b/japanese/py-fugashi/Makefile @@ -1,30 +1,29 @@ PORTNAME= fugashi -DISTVERSION= 1.4.0 -PORTREVISION= 1 +DISTVERSION= 1.5.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 RUN_DEPENDS= ja-mecab-ipadic>0:japanese/mecab-ipadic TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipadic>0:japanese/py-ipadic@${PY_FLAVOR} USES= python USE_PYTHON= autoplist cython distutils pytest # many tests fail, see https://github.com/polm/fugashi/issues/102 TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} TEST_WRKSRC= ${WRKSRC}/fugashi/tests post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/fugashi/fugashi${PYTHON_TAG}.so .include diff --git a/japanese/py-fugashi/distinfo b/japanese/py-fugashi/distinfo index d0822a0601bb..1d142a5f61de 100644 --- a/japanese/py-fugashi/distinfo +++ b/japanese/py-fugashi/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1741940406 -SHA256 (fugashi-1.4.0.tar.gz) = 443880fa975defc3194f524fbd6cdbcd32776fa66d573d07ccec9edb76cd5271 -SIZE (fugashi-1.4.0.tar.gz) = 339049 +TIMESTAMP = 1774979844 +SHA256 (fugashi-1.5.2.tar.gz) = a7959eab95bb37a6a934fc2314d3ff888664d11b88d0e1c596260a5785d5880e +SIZE (fugashi-1.5.2.tar.gz) = 339768 diff --git a/japanese/py-fugashi/files/patch-pyproject.toml b/japanese/py-fugashi/files/patch-pyproject.toml new file mode 100644 index 000000000000..9a534aa84f3f --- /dev/null +++ b/japanese/py-fugashi/files/patch-pyproject.toml @@ -0,0 +1,19 @@ +--- pyproject.toml.orig 2026-03-31 11:16:34.813194000 -0700 ++++ pyproject.toml 2026-03-31 11:16:34.815104000 -0700 +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["Cython~=3.1.5", "setuptools>=77", "setuptools-scm>=8"] ++requires = ["Cython>=3.1.5", "setuptools>=63", "setuptools-scm>=8"] + build-backend = "setuptools.build_meta" + + [project] +@@ -7,8 +7,7 @@ + description = "Cython MeCab wrapper for fast, pythonic Japanese tokenization." + readme = "README.md" + requires-python = ">=3.9" +-license = "MIT AND BSD-3-Clause" +-license-files = ["LICENSE", "LICENSE.mecab"] ++license = {text = "MIT AND BSD-3-Clause"} + authors = [{ name = "Paul O'Leary McCann", email = "polm@dampfkraft.com" }] + classifiers = [ + "Environment :: Console", diff --git a/japanese/py-fugashi/files/patch-setup.py b/japanese/py-fugashi/files/patch-setup.py deleted file mode 100644 index dd5e144e179f..000000000000 --- a/japanese/py-fugashi/files/patch-setup.py +++ /dev/null @@ -1,8 +0,0 @@ ---- setup.py.orig 2024-11-11 11:50:45 UTC -+++ setup.py -@@ -56,4 +56,4 @@ setup(name='fugashi', - 'unidic': ['unidic'], - 'unidic-lite': ['unidic-lite'], - }, -- setup_requires=['wheel', 'Cython~=3.0.11', 'setuptools_scm']) -+ setup_requires=['wheel', 'Cython>=3.0.11', 'setuptools_scm'])