diff --git a/devel/py-jellyfish/Makefile b/devel/py-jellyfish/Makefile index 8669afa443a0..9d30c67634c4 100644 --- a/devel/py-jellyfish/Makefile +++ b/devel/py-jellyfish/Makefile @@ -1,27 +1,27 @@ PORTNAME= jellyfish PORTVERSION= 0.11.2 PORTREVISION= 3 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= jellyfish-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Library for doing approximate and phonetic matching of strings WWW= https://github.com/jamesturk/jellyfish LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=0.13<2:devel/py-maturin@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=0.14<2:devel/py-maturin@${PY_FLAVOR} USES= cargo python USE_PYTHON= autoplist concurrent pep517 CARGO_BUILD= no CARGO_INSTALL= no post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/devel/py-jellyfish/files/patch-pyproject.toml b/devel/py-jellyfish/files/patch-pyproject.toml index 545bef7a4035..5bbbe077d070 100644 --- a/devel/py-jellyfish/files/patch-pyproject.toml +++ b/devel/py-jellyfish/files/patch-pyproject.toml @@ -1,14 +1,14 @@ --- pyproject.toml.orig 2023-04-02 19:57:07 UTC +++ pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["maturin>=0.14,<0.15"] -+requires = ["maturin>=0.13,<2"] ++requires = ["maturin>=0.14,<2"] build-backend = "maturin" [project] @@ -24,3 +24,4 @@ python-source = "python" [tool.maturin] features = ["pyo3/extension-module", "python"] python-source = "python" +module-name = "jellyfish._rustyfish"