git: c1a4ad267a39 - main - devel/py-cffi: Update to 2.1.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 11 Jul 2026 12:23:49 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c1a4ad267a393717b8d45d90d21fff339760a66b
commit c1a4ad267a393717b8d45d90d21fff339760a66b
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-07-11 11:46:48 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-07-11 12:21:06 +0000
devel/py-cffi: Update to 2.1.0
Changes: https://github.com/python-cffi/cffi/releases
https://cffi.readthedocs.io/en/stable/whatsnew.html
---
devel/py-cffi/Makefile | 4 ++--
devel/py-cffi/distinfo | 6 +++---
devel/py-cffi/files/patch-pyproject.toml | 19 ++++++++++---------
3 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/devel/py-cffi/Makefile b/devel/py-cffi/Makefile
index a12e6422650e..efe70971559f 100644
--- a/devel/py-cffi/Makefile
+++ b/devel/py-cffi/Makefile
@@ -1,5 +1,5 @@
PORTNAME= cffi
-PORTVERSION= 2.0.0
+PORTVERSION= 2.1.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +12,7 @@ WWW= https://cffi.readthedocs.io/en/stable/ \
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
LIB_DEPENDS= libffi.so:devel/libffi
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycparser>=0:devel/py-pycparser@${PY_FLAVOR}
diff --git a/devel/py-cffi/distinfo b/devel/py-cffi/distinfo
index d827c4782810..be76e6f587ac 100644
--- a/devel/py-cffi/distinfo
+++ b/devel/py-cffi/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1767157623
-SHA256 (cffi-2.0.0.tar.gz) = 44d1b5909021139fe36001ae048dbdde8214afa20200eda0f64c068cac5d5529
-SIZE (cffi-2.0.0.tar.gz) = 523588
+TIMESTAMP = 1783564046
+SHA256 (cffi-2.1.0.tar.gz) = efc1cdd798b1aaf39b4610bba7aad28c9bea9b910f25c784ccf9ec1fa719d1f9
+SIZE (cffi-2.1.0.tar.gz) = 531036
diff --git a/devel/py-cffi/files/patch-pyproject.toml b/devel/py-cffi/files/patch-pyproject.toml
index d764deb2b8f1..c3b2988b2a45 100644
--- a/devel/py-cffi/files/patch-pyproject.toml
+++ b/devel/py-cffi/files/patch-pyproject.toml
@@ -1,20 +1,21 @@
---- pyproject.toml.orig 2025-09-08 21:59:32 UTC
+--- pyproject.toml.orig 2026-07-06 20:52:02 UTC
+++ pyproject.toml
-@@ -2,7 +2,7 @@ requires = [
+@@ -1,7 +1,7 @@ requires = [
+ [build-system]
requires = [
- # first version that supports Python 3.12; older versions may work
- # with previous Python versions, but are not tested
-- "setuptools >= 66.1"
+ # Required for PEP 639 support
+- "setuptools >= 77.0.3"
+ "setuptools >= 61"
]
build-backend = "setuptools.build_meta"
-@@ -16,7 +16,7 @@ readme = {file = "README.md", content-type = "text/mar
+@@ -15,8 +15,7 @@ readme = "README.md"
description = "Foreign Function Interface for Python calling C code."
- readme = {file = "README.md", content-type = "text/markdown"}
--license = "MIT"
-+license = {text = "MIT"}
+ readme = "README.md"
+-license = "MIT-0"
+-license-files = ["LICENSE"]
++license = {text = "MIT-0"}
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",