1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

New port: devel/py-pydantic: Data validation and settings management using python 3.6 type hinting

This commit is contained in:
Yuri Victorovich 2019-03-31 07:33:02 +00:00
parent a7d6643615
commit d27052e23d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=497388
4 changed files with 30 additions and 0 deletions

View File

@ -4962,6 +4962,7 @@
SUBDIR += py-pycodestyle
SUBDIR += py-pycompilation
SUBDIR += py-pycparser
SUBDIR += py-pydantic
SUBDIR += py-pydenticon
SUBDIR += py-pydevd
SUBDIR += py-pydispatcher

View File

@ -0,0 +1,22 @@
# $FreeBSD$
PORTNAME= pydantic
DISTVERSION= 0.22
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Data validation and settings management using python 3.6 type hinting
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
py36_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dataclasses>=0.6:devel/py-dataclasses@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1554012049
SHA256 (pydantic-0.22.tar.gz) = 853b4fb72bc5bc9a2e16df09730884fc75bc104d8e331fdc83892899adee21cb
SIZE (pydantic-0.22.tar.gz) = 46576

View File

@ -0,0 +1,4 @@
Data validation and settings management using python type hinting.
Define how data should be in pure, canonical python; validate it with pydantic.
WWW: https://github.com/samuelcolvin/pydantic