1PORTNAME= mkdocstrings-python-legacy 2DISTVERSION= 0.2.4 3CATEGORIES= textproc python 4MASTER_SITES= PYPI 5PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} 6DISTNAME= mkdocstrings_python_legacy-${PORTVERSION} 7 8MAINTAINER= ports@MidnightBSD.org 9COMMENT= Legacy Python handler for mkdocstrings 10WWW= https://github.com/mkdocstrings/python-legacy 11 12LICENSE= iscl 13LICENSE_FILE= ${WRKSRC}/LICENSE 14 15BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdm-backend>0:devel/py-pdm-backend@${PY_FLAVOR} 16RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mkdocs-autorefs>=1.1:textproc/py-mkdocs-autorefs@${PY_FLAVOR} \ 17 ${PYTHON_PKGNAMEPREFIX}pytkdocs>=0.14:textproc/py-pytkdocs@${PY_FLAVOR} 18TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mkdocs-material>0:textproc/py-mkdocs-material@${PY_FLAVOR} \ 19 ${PYTHON_PKGNAMEPREFIX}mkdocstrings>0:textproc/py-mkdocstrings@${PY_FLAVOR} 20# textproc/py-mkdocstrings belongs to RUN_DEPENDS as well but would cause 21# a circular dependency (via py-mkdocstrings' PYTHONLEGACY option). It was 22# therefore # moved to TEST_DEPENDS to at least allow the test suite to run. 23 24USES= python 25USE_PYTHON= autoplist pep517 pytest 26 27TEST_ENV= PYTHONPATH=${FAKE_DESTDIR}${PYTHONPREFIX_SITELIBDIR} 28 29CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}mkdocstrings-python 30 31NO_ARCH= yes 32 33.include <bsd.port.mk> 34