From nobody Sun Jul 09 10:33:34 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QzNlL5fgqz4lk3n; Sun, 9 Jul 2023 10:33:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QzNlL4zkFz3tht; Sun, 9 Jul 2023 10:33:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688898814; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GyfTn3e5byZUCwdNLfL3raIVWCLcSV94YbywnxJeOi8=; b=dus09xrF4d24EEpV0CUTzdHCvMIP50lTQigixDVZR11EUcJEKEQZiLA+6h1BaPgXvh8ZHP qH8vc3b9Qxb8IqoFkg3Gb4aW7fFn9iS0cuqxEAvQ1Tg8o7niRRDoPyIZawBD8Jcp2Mdke6 MxTgR104bobPAVXfwIcCQJvtxzoYcu0YcJ3oTLRZUoVaAQX1HLiLyeahiZ7eRMyb4Xwr8b TcgrMbT80w6Y6tVxvj+702aUJaqiFCv8f4Xm7TTZ0bR+aqC2b9M96Kv8rxixY9/3jOSk31 J/8lonT5hEPmkeYeUylM6m82CYQ+Hm6j3UkG9bnvOwYtWqmsbx/0BdaiWBiK5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688898814; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GyfTn3e5byZUCwdNLfL3raIVWCLcSV94YbywnxJeOi8=; b=f7rOVvcDNArCloqNv2cth1geVZUKCbnzD0METCZXpVebGSBXcLe2bYHBiLLyzGx7ymYlzu jE9bAM9P8dYzBhvl3Gc4iFx9ZgH8wdoXcRYlmPPuoi6sBRKQLOrGij8GlLXqRZa49eJUeZ 202bH7RlW5oYxbrn+kVrZLlco99BJpodejthSXgUviTAQs73Q3xUPScwDhFw/j5yrseFoJ LPRFe04UXf+5O2MJJOqiB2KmMIreod4sb5nMOBE21FTXCoMFqxOZjlO8/NaE/kTnwPxI07 Yl4wbRhIoEe7NtxENMdVswZ7sD0vwfBIPiJhOq94S24HVjoDhIuOKRqvS9ssdg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688898814; a=rsa-sha256; cv=none; b=dyNZMcu7bL0WL7KTX6jfVZZyoh+LB+GiFgeEn5TiRYg2rkHtdQfYZsL4DQEkCPoz2uwKUY lSAvrZ4n0F9aR4jyJnNU7c2YyUpZjLhgGGfK2sZQ4oWmygpXSCSwQtLOpkGFLStP5YeE4Y Gf9OA6Phi3jiGgi+Hq7yXdN1/lZ/3idV5c8soKLJNPweiNZ8OOUyBidfDzx5EIopfd+MF3 fDAgpWxbsJF+7MazuQFd99tTjc8r1XIorqyLwUgJaBM4BoSY9blcJtotb9N8E6sLzm4LqY 3ZK7nvR2GLQOwGBrq5cVyQp/Md+7TSkx13UmKTlb7Twt/OhcXK1oEN1RqaPOrg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QzNlL3VfKz10M8; Sun, 9 Jul 2023 10:33:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 369AXYjH055231; Sun, 9 Jul 2023 10:33:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 369AXYQs055230; Sun, 9 Jul 2023 10:33:34 GMT (envelope-from git) Date: Sun, 9 Jul 2023 10:33:34 GMT Message-Id: <202307091033.369AXYQs055230@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 0ee2c865f335 - main - devel/py-pydantic2: Add py-pydantic2 2.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0ee2c865f335be11730ea5e4645059cf844518a3 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=0ee2c865f335be11730ea5e4645059cf844518a3 commit 0ee2c865f335be11730ea5e4645059cf844518a3 Author: Po-Chuan Hsieh AuthorDate: 2023-07-09 10:10:26 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-07-09 10:10:26 +0000 devel/py-pydantic2: Add py-pydantic2 2.0 Pydantic provides data validation using Python type hints. Fast and extensible, Pydantic plays nicely with your linters/IDE/brain. Define how data should be in pure, canonical Python 3.7+; validate it with Pydantic. --- devel/Makefile | 1 + devel/py-pydantic2/Makefile | 27 +++++++++++++++++++++++++++ devel/py-pydantic2/distinfo | 3 +++ devel/py-pydantic2/pkg-descr | 4 ++++ 4 files changed, 35 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 711b97f989e9..c2108b7b5205 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5227,6 +5227,7 @@ SUBDIR += py-pycparser SUBDIR += py-pydantic SUBDIR += py-pydantic-core + SUBDIR += py-pydantic2 SUBDIR += py-pydash SUBDIR += py-pydecor SUBDIR += py-pydenticon diff --git a/devel/py-pydantic2/Makefile b/devel/py-pydantic2/Makefile new file mode 100644 index 000000000000..9cfb6c35b35e --- /dev/null +++ b/devel/py-pydantic2/Makefile @@ -0,0 +1,27 @@ +PORTNAME= pydantic +PORTVERSION= 2.0 +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.4.0:devel/py-annotated-types@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pydantic-core>=2.0.1<2.0.1_99:devel/py-pydantic-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.6.1:devel/py-typing-extensions@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/devel/py-pydantic2/distinfo b/devel/py-pydantic2/distinfo new file mode 100644 index 000000000000..978e4431e9b8 --- /dev/null +++ b/devel/py-pydantic2/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1688166016 +SHA256 (pydantic-2.0.tar.gz) = 6e313661b310eb5b2c45168ce05d8dd79f57563adaf3906162a917585576b846 +SIZE (pydantic-2.0.tar.gz) = 572748 diff --git a/devel/py-pydantic2/pkg-descr b/devel/py-pydantic2/pkg-descr new file mode 100644 index 000000000000..c71e14d69bcd --- /dev/null +++ b/devel/py-pydantic2/pkg-descr @@ -0,0 +1,4 @@ +Pydantic provides data validation using Python type hints. + +Fast and extensible, Pydantic plays nicely with your linters/IDE/brain. Define +how data should be in pure, canonical Python 3.7+; validate it with Pydantic.