ports/devel/py-pydantic2/Makefile
Po-Chuan Hsieh 18cb405002
devel/py-pydantic2: Allow build with py-pydantic-core 2.24.0
- Bump PORTREVISION for package change

Obtained:	9b69920888
2024-09-30 21:36:32 +08:00

28 lines
930 B
Makefile

PORTNAME= pydantic
PORTVERSION= 2.9.2
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 2
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Data validation using Python type hints
WWW= https://docs.pydantic.dev/latest/ \
https://github.com/pydantic/pydantic
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=22.5.0:devel/py-hatch-fancy-pypi-readme@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}annotated-types>=0.6.0:devel/py-annotated-types@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pydantic-core>=2.24.0<2.24.0_99:devel/py-pydantic-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.12.2:devel/py-typing-extensions@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
.include <bsd.port.mk>