mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
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:
parent
c0c720d7eb
commit
996a989e17
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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}
|
||||||
|
|
Loading…
Add table
Reference in a new issue