aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2026-04-05 17:10:22 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2026-04-05 17:18:53 +0000
commit8ae6d7f96e6c68c6bda96337acf04597aa4fa470 (patch)
tree090cd85b90fbcf61a1fc767a18194454cd2e1e52
parentf390b56dda96276bf6b0988251dd351acd5c257a (diff)
security/py-argon2-cffi-bindings: Update to 25.1.0
-rw-r--r--security/py-argon2-cffi-bindings/Makefile10
-rw-r--r--security/py-argon2-cffi-bindings/distinfo6
-rw-r--r--security/py-argon2-cffi-bindings/files/patch-pyproject.toml20
3 files changed, 28 insertions, 8 deletions
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,9 +1,9 @@
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
@@ -12,12 +12,12 @@ 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
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",