diff --git a/security/py-argon2-cffi-bindings/Makefile b/security/py-argon2-cffi-bindings/Makefile index bf44e99a4053..122d3b3136be 100644 --- a/security/py-argon2-cffi-bindings/Makefile +++ b/security/py-argon2-cffi-bindings/Makefile @@ -1,35 +1,35 @@ PORTNAME= argon2-cffi-bindings -PORTVERSION= 21.2.0 -PORTREVISION= 1 +PORTVERSION= 25.1.0 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= argon2_cffi_bindings-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Low-level CFFI bindings for Argon2 WWW= https://github.com/hynek/argon2-cffi-bindings LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.1:devel/py-cffi@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}setuptools>=45:devel/py-setuptools@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=2.0.0:devel/py-cffi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libargon2.so:security/libargon2 -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.1:devel/py-cffi@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=2.0.0:devel/py-cffi@${PY_FLAVOR} USES= localbase python USE_PYTHON= autoplist concurrent pep517 pytest MAKE_ENV= ARGON2_CFFI_USE_SYSTEM=1 TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} post-patch: # Clean up bundled libraries @${RM} -r ${WRKSRC}/extras/ post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/security/py-argon2-cffi-bindings/distinfo b/security/py-argon2-cffi-bindings/distinfo index e8e1573db616..dead0b1a5cfa 100644 --- a/security/py-argon2-cffi-bindings/distinfo +++ b/security/py-argon2-cffi-bindings/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1652122533 -SHA256 (argon2-cffi-bindings-21.2.0.tar.gz) = bb89ceffa6c791807d1305ceb77dbfacc5aa499891d2c55661c6459651fc39e3 -SIZE (argon2-cffi-bindings-21.2.0.tar.gz) = 1779911 +TIMESTAMP = 1773966924 +SHA256 (argon2_cffi_bindings-25.1.0.tar.gz) = b957f3e6ea4d55d820e40ff76f450952807013d361a65d7f28acc0acbf29229d +SIZE (argon2_cffi_bindings-25.1.0.tar.gz) = 1783441 diff --git a/security/py-argon2-cffi-bindings/files/patch-pyproject.toml b/security/py-argon2-cffi-bindings/files/patch-pyproject.toml new file mode 100644 index 000000000000..ee82205b94c9 --- /dev/null +++ b/security/py-argon2-cffi-bindings/files/patch-pyproject.toml @@ -0,0 +1,20 @@ +--- pyproject.toml.orig 2025-07-30 07:11:08 UTC ++++ pyproject.toml +@@ -1,6 +1,6 @@ requires = [ + [build-system] + requires = [ +- "setuptools>=77", ++ "setuptools>=61", + "setuptools_scm[toml]>=6.2", + "cffi>=1.0.1; python_version < '3.14'", + "cffi>=2.0.0b1; python_version >= '3.14'", +@@ -15,8 +15,7 @@ requires-python = ">=3.9" + readme = { content-type = "text/markdown", file = "README.md" } + authors = [{ name = "Hynek Schlawack", email = "hs@ox.cx" }] + requires-python = ">=3.9" +-license = "MIT" +-license-files = ["LICENSE"] ++license = { text = "MIT" } + keywords = ["password", "hash", "hashing", "security", "bindings", "cffi"] + classifiers = [ + "Development Status :: 5 - Production/Stable",