PORTNAME= griffe DISTVERSION= 0.45.3 CATEGORIES= textproc python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kai@FreeBSD.org COMMENT= Signatures for entire Python programs WWW= https://github.com/mkdocstrings/griffe LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdm-backend>0:devel/py-pdm-backend@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorama>=0.4:devel/py-colorama@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=4.17.3:devel/py-jsonschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=3.3,1:devel/py-pytest-xdist@${PY_FLAVOR} USES= python USE_GITHUB= yes GH_ACCOUNT= mkdocstrings USE_PYTHON= autoplist concurrent pep517 pytest # These test relies on files that are not present in the sdist PYTEST_IGNORED_TESTS= git # Required otherwise the build process tries to get the current version via git MAKE_ENV= PDM_BUILD_SCM_VERSION=${DISTVERSION} TEST_ARGS= -n ${MAKE_JOBS_NUMBER} TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} NO_ARCH= yes .include .if ${PYTHON_REL} < 30900 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}astunparse>=1.6:devel/py-astunparse@${PY_FLAVOR} .endif .include