diff --git a/archivers/py-cramjam/Makefile b/archivers/py-cramjam/Makefile index 2f0b8769373a..f7c024eb185e 100644 --- a/archivers/py-cramjam/Makefile +++ b/archivers/py-cramjam/Makefile @@ -1,27 +1,27 @@ PORTNAME= cramjam PORTVERSION= 2.6.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= archivers python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Thin Python bindings to de/compression algorithms in Rust WWW= https://github.com/milesgranger/pyrus-cramjam LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=0.13<0.14:devel/py-maturin@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=0.13:devel/py-maturin@${PY_FLAVOR} USES= cargo python:3.7+ 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/archivers/py-cramjam/files/patch-pyproject.toml b/archivers/py-cramjam/files/patch-pyproject.toml new file mode 100644 index 000000000000..ab0696491d41 --- /dev/null +++ b/archivers/py-cramjam/files/patch-pyproject.toml @@ -0,0 +1,9 @@ +--- pyproject.toml.orig 2022-11-09 14:23:00 UTC ++++ pyproject.toml +@@ -9,5 +9,5 @@ documentation = "https://docs.rs/cramjam/latest/cramja + repository = "https://github.com/milesgranger/pyrus-cramjam" + + [build-system] +-requires = ["maturin>=0.13,<0.14"] ++requires = ["maturin>=0.13"] + build-backend = "maturin"