diff options
Diffstat (limited to 'textproc/py-mkdocstrings-python/Makefile')
-rw-r--r-- | textproc/py-mkdocstrings-python/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/textproc/py-mkdocstrings-python/Makefile b/textproc/py-mkdocstrings-python/Makefile index e75e43b019c0..d18b919634a9 100644 --- a/textproc/py-mkdocstrings-python/Makefile +++ b/textproc/py-mkdocstrings-python/Makefile @@ -1,9 +1,7 @@ PORTNAME= mkdocstrings-python -DISTVERSION= 1.10.3 +DISTVERSION= 1.10.5 CATEGORIES= textproc python -MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= mkdocstrings_python-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Python handler for mkdocstrings @@ -13,18 +11,21 @@ LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdm-backend>0:devel/py-pdm-backend@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}griffe>=0.44:textproc/py-griffe@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mkdocstrings>0:textproc/py-mkdocstrings@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}griffe>=0.47:textproc/py-griffe@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mkdocs-material>0:textproc/py-mkdocs-material@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mkdocstrings>0:textproc/py-mkdocstrings@${PY_FLAVOR} # textproc/py-mkdocstrings belongs to RUN_DEPENDS as well but would cause # a circular dependency (via py-mkdocstrings' PYTHON option). It was therefore # moved to TEST_DEPENDS to at least allow the test suite to run. USES= python +USE_GITHUB= yes +GH_ACCOUNT= mkdocstrings +GH_PROJECT= python USE_PYTHON= autoplist pep517 pytest -# These tests relies on files that aren't available in the sdist -PYTEST_IGNORED_TESTS= test_render_themes test_render_docstring \ - test_rendering_object_source_without_lineno +# Required otherwise the build process tries to get the current version via git +MAKE_ENV= PDM_BUILD_SCM_VERSION=${DISTVERSION} TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}mkdocstrings-python-legacy |