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 diff --git a/textproc/py-mkdocstrings-python/distinfo b/textproc/py-mkdocstrings-python/distinfo index 24b4da1bfee6..ee0e8e49ac4f 100644 --- a/textproc/py-mkdocstrings-python/distinfo +++ b/textproc/py-mkdocstrings-python/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1718444588 -SHA256 (mkdocstrings_python-1.10.3.tar.gz) = 321cf9c732907ab2b1fedaafa28765eaa089d89320f35f7206d00ea266889d03 -SIZE (mkdocstrings_python-1.10.3.tar.gz) = 42095 +TIMESTAMP = 1720853222 +SHA256 (mkdocstrings-python-1.10.5_GH0.tar.gz) = 0c98306101822d955be745bc003c94342fb8bbcd57e5b61f11e0e119e40599ac +SIZE (mkdocstrings-python-1.10.5_GH0.tar.gz) = 157091