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,34 +1,34 @@ PORTNAME= cffi -PORTVERSION= 2.0.0 +PORTVERSION= 2.1.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Foreign Function Interface for Python calling C code WWW= https://cffi.readthedocs.io/en/stable/ \ https://github.com/python-cffi/cffi 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} USES= compiler:c11 localbase python USE_PYTHON= autoplist concurrent cython pep517 pytest TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} .include .if ${CHOSEN_COMPILER_TYPE} == clang CFLAGS+= -Wno-shift-negative-value .endif post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include 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",