Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jan 2026 06:23:39 +0000
From:      Charlie Li <vishwin@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d490061981bc - main - archivers/py-zopfli: disable Python limited API
Message-ID:  <6977086b.a104.26827c0c@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by vishwin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d490061981bcce445392140d45103a5797354e38

commit d490061981bcce445392140d45103a5797354e38
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2026-01-07 15:58:33 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2026-01-26 06:23:20 +0000

    archivers/py-zopfli: disable Python limited API
    
    Upstream uses the limited API to allow generating a wheel compatible
    with all currently supported CPython versions regardless of which
    version is actually used to generate it, but this is not needed
    here. Disabling also allows building on 3.13t.
    
    Event: Winter Field Day 2026
    PR: 292246
    Approved by: sunpoet (maintainer)
---
 archivers/py-zopfli/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/archivers/py-zopfli/Makefile b/archivers/py-zopfli/Makefile
index 0d0db71c2135..f385882abfca 100644
--- a/archivers/py-zopfli/Makefile
+++ b/archivers/py-zopfli/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	zopfli
 PORTVERSION=	0.4.0
+PORTREVISION=	1
 CATEGORIES=	archivers python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -19,7 +20,8 @@ LIB_DEPENDS=	libzopfli.so:archivers/zopfli
 USES=		python
 USE_PYTHON=	autoplist concurrent pep517 pytest
 
-MAKE_ENV=	USE_SYSTEM_ZOPFLI=1
+MAKE_ENV=	USE_PY_LIMITED_API=0 \
+		USE_SYSTEM_ZOPFLI=1
 TEST_ENV=	PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
 
 post-patch:


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6977086b.a104.26827c0c>