textproc/py-mkdocstrings-{crystal,python-legacy}: Adjust USE_PYTHON

* Since c0c720d7eb 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.
This commit is contained in:
Kai Knoblich 2025-01-27 06:15:35 +01:00
parent c0c720d7eb
commit 996a989e17
2 changed files with 2 additions and 2 deletions

View file

@ -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 # textproc/py-mkdocstrings belongs to RUN_DEPENDS as well but would cause
# a circular dependency (via py-mkdocstrings' CRYSTAL option) # 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 USE_PYTHON= autoplist pep517
NO_ARCH= yes NO_ARCH= yes

View file

@ -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 # a circular dependency (via py-mkdocstrings' PYTHONLEGACY option). It was
# therefore # moved to TEST_DEPENDS to at least allow the test suite to run. # 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 USE_PYTHON= autoplist pep517 pytest
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}