git: 2cb938d53538 - main - textproc/py-sphinx: limit python:-3.12 (imghdr)

From: Matthias Andree <mandree_at_FreeBSD.org>
Date: Sat, 01 Nov 2025 23:30:24 UTC
The branch main has been updated by mandree:

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

commit 2cb938d5353878ad72f76acd033fe0dfa9ece284
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2025-11-01 23:14:03 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2025-11-01 23:29:33 +0000

    textproc/py-sphinx: limit python:-3.12 (imghdr)
    
    The imghdr module was removed in Python 3.13.
---
 textproc/py-sphinx/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/textproc/py-sphinx/Makefile b/textproc/py-sphinx/Makefile
index f1530738a7a8..0e10344248d5 100644
--- a/textproc/py-sphinx/Makefile
+++ b/textproc/py-sphinx/Makefile
@@ -37,7 +37,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinxcontrib-applehelp>=0:textproc/py-sphin
 		${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}html5lib>=0:www/py-html5lib@${PY_FLAVOR}
 
-USES=		python
+USES=		python:-3.12 # uses imghdr module
 USE_PYTHON=	autoplist concurrent cython_test pep517 pytest
 
 NO_ARCH=	yes