ce59801b72
Django 4.2 reached its End-of-Life on 7th April 2026 and Django 5.2 is the new LTS (= Long Term Support) release which will be supported until April 2028. * Switch most ports that use www/py-django42 to www/py-django52. * Where necessary, remove PORTSCOUT, which is no longer needed because an update to a newer version that no longer supports Django 4.2 should now be possible. * Bump PORTREVISION due dependency change where necessary. PR: 291707 Reviewed by: sunpoet (python) Differential Revision: https://reviews.freebsd.org/D56966
34 lines
997 B
Makefile
34 lines
997 B
Makefile
PORTNAME= pytkdocs
|
|
DISTVERSION= 0.16.5
|
|
PORTREVISION= 1
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= kai@FreeBSD.org
|
|
COMMENT= Load Python objects documentation
|
|
WWW= https://github.com/mkdocstrings/pytkdocs
|
|
|
|
LICENSE= ISCL
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdm-backend>0:devel/py-pdm-backend@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>0:www/py-django52@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}marshmallow>0:devel/py-marshmallow@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pydantic>0:devel/py-pydantic@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist concurrent pep517 pytest
|
|
|
|
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
|
|
|
NO_ARCH= yes
|
|
|
|
OPTIONS_DEFINE= NUMPYSTYLE
|
|
OPTIONS_DEFAULT= NUMPYSTYLE
|
|
|
|
NUMPYSTYLE_DESC= Enable support for Numpy docstrings
|
|
NUMPYSTYLE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docstring_parser>=0.7:textproc/py-docstring_parser@${PY_FLAVOR}
|
|
|
|
.include <bsd.port.mk>
|