git: a138a4f31d1e - main - textproc/py-sphinx-material: supports Python up to 3.11

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Sat, 20 Jun 2026 10:37:41 UTC
The branch main has been updated by thierry:

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

commit a138a4f31d1e0ed7f6e85478edf41ef85e328681
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2026-06-20 10:33:34 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2026-06-20 10:37:37 +0000

    textproc/py-sphinx-material: supports Python up to 3.11
    
    - Do not try to build it with Python ≥ 3.12;
    
    - Mark deprecated (no ports dependent upon this port any more,
      and upstream dev is suspended).
    
    See https://github.com/bashtage/sphinx-material/issues/141 .
---
 textproc/py-sphinx-material/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/textproc/py-sphinx-material/Makefile b/textproc/py-sphinx-material/Makefile
index 716ad679f3d6..e0102ff01641 100644
--- a/textproc/py-sphinx-material/Makefile
+++ b/textproc/py-sphinx-material/Makefile
@@ -11,6 +11,9 @@ WWW=		https://bashtage.github.io/sphinx-material/
 
 LICENSE=	MIT
 
+# See https://github.com/bashtage/sphinx-material/issues/141
+DEPRECATED=	No longer maintained and does not work with Python 3.12
+
 BUILD_DEPENDS=	${PY_DEPENDS}
 RUN_DEPENDS=	${PY_DEPENDS}
 PY_DEPENDS=	sphinx-build:textproc/py-sphinx@${PY_FLAVOR}	\
@@ -22,7 +25,7 @@ PY_DEPENDS=	sphinx-build:textproc/py-sphinx@${PY_FLAVOR}	\
 #USE_GITHUB=	yes
 #GH_ACCOUNT=	bashtage
 
-USES=		python
+USES=		python:-3.11
 USE_PYTHON=	distutils
 
 .include <bsd.port.mk>