mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
devel/py-pydantic-extra-types: Add py-pydantic-extra-types 2.0.0
Pydantic Extra Types is a place for pydantic types that probably shouldn't exist in the main pydantic lib.
This commit is contained in:
parent
0ee2c865f3
commit
63d7ebb671
@ -5227,6 +5227,7 @@
|
||||
SUBDIR += py-pycparser
|
||||
SUBDIR += py-pydantic
|
||||
SUBDIR += py-pydantic-core
|
||||
SUBDIR += py-pydantic-extra-types
|
||||
SUBDIR += py-pydantic2
|
||||
SUBDIR += py-pydash
|
||||
SUBDIR += py-pydecor
|
||||
|
31
devel/py-pydantic-extra-types/Makefile
Normal file
31
devel/py-pydantic-extra-types/Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
PORTNAME= pydantic-extra-types
|
||||
PORTVERSION= 2.0.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= pydantic_extra_types-${PORTVERSION}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Extra Pydantic types
|
||||
WWW= https://docs.pydantic.dev/dev-v2/usage/types/types/ \
|
||||
https://github.com/pydantic/pydantic-extra-types
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.0:devel/py-pydantic2@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist concurrent pep517
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
OPTIONS_DEFINE= ALL
|
||||
OPTIONS_DEFAULT=ALL
|
||||
ALL_DESC= Country codes and phone number support
|
||||
|
||||
ALL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}phonenumbers>=8<9:devel/py-phonenumbers@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pycountry>=22<23:textproc/py-pycountry@${PY_FLAVOR} \
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/py-pydantic-extra-types/distinfo
Normal file
3
devel/py-pydantic-extra-types/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1688166018
|
||||
SHA256 (pydantic_extra_types-2.0.0.tar.gz) = 137ddacb168d95ea77591dbb3739ec4da5eeac0fc4df7f797371d9904451a178
|
||||
SIZE (pydantic_extra_types-2.0.0.tar.gz) = 23579
|
2
devel/py-pydantic-extra-types/pkg-descr
Normal file
2
devel/py-pydantic-extra-types/pkg-descr
Normal file
@ -0,0 +1,2 @@
|
||||
Pydantic Extra Types is a place for pydantic types that probably shouldn't exist
|
||||
in the main pydantic lib.
|
Loading…
Reference in New Issue
Block a user