mirror of
https://git.freebsd.org/ports.git
synced 2025-06-05 12:56:28 -04:00
devel/py-pydantic-compat: New port: Compatibility layer for pydantic v1/v2
This commit is contained in:
parent
5d94568a09
commit
c61b0cf326
4 changed files with 31 additions and 0 deletions
|
@ -5515,6 +5515,7 @@
|
|||
SUBDIR += py-pycrdt
|
||||
SUBDIR += py-pycrdt-websocket
|
||||
SUBDIR += py-pydantic
|
||||
SUBDIR += py-pydantic-compat
|
||||
SUBDIR += py-pydantic-core
|
||||
SUBDIR += py-pydantic-extra-types
|
||||
SUBDIR += py-pydantic-settings
|
||||
|
|
26
devel/py-pydantic-compat/Makefile
Normal file
26
devel/py-pydantic-compat/Makefile
Normal file
|
@ -0,0 +1,26 @@
|
|||
PORTNAME= pydantic-compat
|
||||
DISTVERSION= 0.1.2
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION}
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Compatibility layer for pydantic v1/v2
|
||||
WWW= https://github.com/pyapp-kit/pydantic-compat
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>0:devel/py-hatch-vcs@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pydantic2>0:devel/py-pydantic2@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= pep517 autoplist pytest
|
||||
|
||||
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/py-pydantic-compat/distinfo
Normal file
3
devel/py-pydantic-compat/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1734053501
|
||||
SHA256 (pydantic_compat-0.1.2.tar.gz) = c5c5bca39ca2d22cad00c02898e400e1920e5127649a8e860637f15566739373
|
||||
SIZE (pydantic_compat-0.1.2.tar.gz) = 12838
|
1
devel/py-pydantic-compat/pkg-descr
Normal file
1
devel/py-pydantic-compat/pkg-descr
Normal file
|
@ -0,0 +1 @@
|
|||
Compatibility layer for pydantic v1/v2.
|
Loading…
Add table
Reference in a new issue