git: 996a989e17fc - main - textproc/py-mkdocstrings-{crystal,python-legacy}: Adjust USE_PYTHON

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Mon, 27 Jan 2025 05:20:35 UTC
The branch main has been updated by kai:

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

commit 996a989e17fc9ce9b6d900c7139af2283b5b1114
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2025-01-27 05:15:35 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2025-01-27 05:15:35 +0000

    textproc/py-mkdocstrings-{crystal,python-legacy}: Adjust USE_PYTHON
    
    * Since c0c720d7ebf0 the dependency textproc/py-mkdocs-autorefs requires
      at least Python version 3.10 or newer and packages of this port for
      older Python versions can no longer be build, thus set USE_PYTHON
      accordingly.
---
 textproc/py-mkdocstrings-crystal/Makefile       | 2 +-
 textproc/py-mkdocstrings-python-legacy/Makefile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/textproc/py-mkdocstrings-crystal/Makefile b/textproc/py-mkdocstrings-crystal/Makefile
index 02138b82804b..c2b698b3aee1 100644
--- a/textproc/py-mkdocstrings-crystal/Makefile
+++ b/textproc/py-mkdocstrings-crystal/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}markdown-callouts>=0.1.0:textproc/py-markdow
 # textproc/py-mkdocstrings belongs to RUN_DEPENDS as well but would cause
 # a circular dependency (via py-mkdocstrings' CRYSTAL option)
 
-USES=		python
+USES=		python:3.9+ # textproc/py-mkdocs-autorefs requires Python 3.9+
 USE_PYTHON=	autoplist pep517
 
 NO_ARCH=	yes
diff --git a/textproc/py-mkdocstrings-python-legacy/Makefile b/textproc/py-mkdocstrings-python-legacy/Makefile
index 809135222bab..fd5c91beba8b 100644
--- a/textproc/py-mkdocstrings-python-legacy/Makefile
+++ b/textproc/py-mkdocstrings-python-legacy/Makefile
@@ -21,7 +21,7 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mkdocs-material>0:textproc/py-mkdocs-materi
 # a circular dependency (via py-mkdocstrings' PYTHONLEGACY option).  It was
 # therefore # moved to TEST_DEPENDS to at least allow the test suite to run.
 
-USES=		python
+USES=		python:3.9+ # textproc/py-mkdocs-autorefs requires Python 3.9+
 USE_PYTHON=	autoplist pep517 pytest
 
 TEST_ENV=	PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}