ports/textproc/py-mkdocstrings-python/Makefile
Kai Knoblich 83f2d2e890 textproc/py-mkdocstrings-python: Update to 1.10.7
* Switch back to PyPI because the tests are now available in the sdists
  again since the 1.10.7 release.

Changelogs since 1.10.5:

https://github.com/mkdocstrings/python/releases/tag/1.10.7
https://github.com/mkdocstrings/python/releases/tag/1.10.6
2024-07-27 14:53:58 +02:00

33 lines
1.1 KiB
Makefile

PORTNAME= mkdocstrings-python
DISTVERSION= 1.10.7
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= mkdocstrings_python-${DISTVERSION}
MAINTAINER= kai@FreeBSD.org
COMMENT= Python handler for mkdocstrings
WWW= https://github.com/mkdocstrings/python
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.48: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
GH_PROJECT= python
USE_PYTHON= autoplist pep517 pytest
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}mkdocstrings-python-legacy
NO_ARCH= yes
.include <bsd.port.mk>