Files
ports/devel/py-pydantic/Makefile
T
2026-03-16 22:28:25 +00:00

36 lines
779 B
Makefile

COMMENT = data validation using Python type hints
MODPY_DISTV = 2.12.5
DISTNAME = pydantic-${MODPY_DISTV}
PKGNAME = py-${DISTNAME}
REVISION = 0
CATEGORIES = devel
MAINTAINER = Renaud Allard <renaud@allard.it>
# Apache 2.0
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_PYBUILD = hatchling
BUILD_DEPENDS = devel/py-hatch-fancy-pypi-readme
RUN_DEPENDS = devel/py-typing-extensions \
devel/py-typing-inspection \
devel/py-pydantic-core=2.41.5 \
devel/py-annotated_types
TEST_DEPENDS = devel/py-test-mock \
devel/py-test-benchmark \
devel/py-test-run-parallel \
devel/py-cloudpickle \
devel/py-dirty-equals
PORTHOME = ${WRKDIR}
# needs pytest-examples
MODPY_PYTEST_ARGS= --ignore tests/test_docs.py
.include <bsd.port.mk>