From nobody Sun Jul 28 23:57:51 2024 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 4WXJMg3Yj0z5Ry2G; Sun, 28 Jul 2024 23:57:51 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WXJMg1t2nz4fpY; Sun, 28 Jul 2024 23:57:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722211071; 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=I1cs7Sr+dttOIA8JIRC4ZwNDx9OP6x3X2CHo2H18KoE=; b=EdjZpjb7F8tNFdPBnviXELV8V1r09qkcoYPFjMvWrjq7Yx3FovVXXidga2jlp0Yv/Zwsam eJ19WvCVjrvKSBKW/d2xc4ZIfjcsLz5uYvU9hqX6KWsadQt34/zUek2EJ1UbBast5jcIMt e7kHlVN7kcKqCz+gfDpQQdUdzUQAkEPYoHpFlQI63k774vLbzyHcMUMCSvCvOG1xDmoPF5 pIVXlA7sWGmY/C1gw45YMFZpe//Pv9ZBp8nMX+qmLAdyMLZzUJ45NWISwob0A8XWzktJKL vzA/pxgvi7WoGtscRsV3u192a8zHIZA9CGNXuN4luaf8qp/yHeh7Rfh25xnBlw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722211071; a=rsa-sha256; cv=none; b=FjZymTMz/aUQUKMeg0c8vi1MQsTA3v3PfvLDX1V6JOOUMgqg3K6SFbUaG3vS8BofvzAld6 V7yKmNiG9z3D6vQvx/fdxF+cWaoVSOMhFG0i8kEEvuY8CqJLrA02V9eBJjc/gk54fuyaLx tEK9p2KdR1QT6NJfkxNywjSTlxMFkfwuLLOfdTbXq0xOjZfchZNVdiRl9FaBHTVe9NfxDv hYweT42MJiKdT0Plcj4BW6FmIpfB6GSqH5HzUOHOkCZ/Rs1SWeck72JMKgPLblQg9yz1E3 ts1NmYqD+LTFugkJKYYWFB0prN2bdPbvj4EBXD3q3Mamupc0XcfwSk7bGiU4gA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722211071; 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=I1cs7Sr+dttOIA8JIRC4ZwNDx9OP6x3X2CHo2H18KoE=; b=quXkoVQkfaFFQ/BW7A2BQLEhWdBwqmNpCf31TG0zvmgWijJcGvlnXJreFns9y8zE7DwU5o ft+SAHdhwD2GheYsQb8nYdqSJZAoDvkV7WyztPZyHdRY7yETyhjcdeEIw1L+TfhU5uBXhT oaDhd+p3TW+6uDrmUPmDeA9S4dso13OraLA+oSuQMq3Ty5drzUJHKq3+yRXlctYsa4sBZt 9iD8zq7buxvk28ewz+UPGJOhM2Nb98VoXKQnwj5mXYXNWdo/4MO53mQtVYKLmgHqONQYMw gl7YijixOKS0DpiheG4VGZcv6O8Hv3PPvylQPG4YoPGwfo3t5LmMDW+fe3sYGA== 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 4WXJMg1QxPz19bf; Sun, 28 Jul 2024 23:57:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46SNvplv005468; Sun, 28 Jul 2024 23:57:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46SNvpJs005465; Sun, 28 Jul 2024 23:57:51 GMT (envelope-from git) Date: Sun, 28 Jul 2024 23:57:51 GMT Message-Id: <202407282357.46SNvpJs005465@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: a36a5394da12 - main - devel/py-pydantic-settings: New port: Settings management using Pydantic 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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a36a5394da1299963a74024105678514f0640aeb Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=a36a5394da1299963a74024105678514f0640aeb commit a36a5394da1299963a74024105678514f0640aeb Author: Yuri Victorovich AuthorDate: 2024-07-28 22:19:25 +0000 Commit: Yuri Victorovich CommitDate: 2024-07-28 23:57:43 +0000 devel/py-pydantic-settings: New port: Settings management using Pydantic --- devel/Makefile | 1 + devel/py-pydantic-settings/Makefile | 28 ++++++++++++++++++++++++++++ devel/py-pydantic-settings/distinfo | 3 +++ devel/py-pydantic-settings/pkg-descr | 2 ++ 4 files changed, 34 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 8b4aaa47d538..85a859c030c0 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5426,6 +5426,7 @@ SUBDIR += py-pydantic SUBDIR += py-pydantic-core SUBDIR += py-pydantic-extra-types + SUBDIR += py-pydantic-settings SUBDIR += py-pydantic-vault SUBDIR += py-pydantic-yaml SUBDIR += py-pydantic2 diff --git a/devel/py-pydantic-settings/Makefile b/devel/py-pydantic-settings/Makefile new file mode 100644 index 000000000000..8ef04ecfa73f --- /dev/null +++ b/devel/py-pydantic-settings/Makefile @@ -0,0 +1,28 @@ +PORTNAME= pydantic-settings +DISTVERSION= 2.3.4 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Settings management using Pydantic +WWW= https://docs.pydantic.dev/latest/concepts/pydantic_settings/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= hatchling:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.7.0:devel/py-pydantic2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}python-dotenv>=0.21.0:www/py-python-dotenv@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-examples>0:devel/py-pytest-examples@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-mock>=0:devel/py-pytest-mock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-pretty>=0:devel/py-pytest-pretty@${PY_FLAVOR} + +USES= cpe python +USE_PYTHON= pep517 autoplist pytest + +CPE_VENDOR= pydantic_project + +.include diff --git a/devel/py-pydantic-settings/distinfo b/devel/py-pydantic-settings/distinfo new file mode 100644 index 000000000000..64dc13810bd1 --- /dev/null +++ b/devel/py-pydantic-settings/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1722193957 +SHA256 (pydantic_settings-2.3.4.tar.gz) = c5802e3d62b78e82522319bbc9b8f8ffb28ad1c988a99311d04f2a6051fca0a7 +SIZE (pydantic_settings-2.3.4.tar.gz) = 59231 diff --git a/devel/py-pydantic-settings/pkg-descr b/devel/py-pydantic-settings/pkg-descr new file mode 100644 index 000000000000..fdbf74dd9941 --- /dev/null +++ b/devel/py-pydantic-settings/pkg-descr @@ -0,0 +1,2 @@ +pydantic-settings implements settings management using Pydantic, this is the +new official home of Pydantic's BaseSettings.