From nobody Sat Nov 29 23:53:19 2025 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 4dJn6l5XnXz6JKpf for ; Sat, 29 Nov 2025 23:53:19 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dJn6l2DBJz3njn for ; Sat, 29 Nov 2025 23:53:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1764460399; 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=s71jU6xV7MGGIc43mkbRhmr0xUdn1/Nz7Fgiy4NzkH4=; b=SHpWY/kLJE19Ebm1n+USGmwSfER97rx4ru6n2CNgherYjPvNTGp4n6U67rwQXS4RnDGnXa Lr3jH8mdKc8B9ekdmv0/DtkykL1Ll6fE1PQSREk4Spk/I+qfjX7MezM8/zWwQFh9LK/QZR pCDBKSX48sMkLAxxQmtcqwNKmggb98cKAy61wq77DaGSh9krRYat4jZxETVQcX8luSl7ZT drgOnnNXRgdpwX62YxeQ/nX0t8rC+SXjHuouqK5NyULBCPzRVjIeCWslQRi0uny0nNsK4b t5xIdVBqS5AgAfR5a/zzIHDKgHCIq9QA1+4W5KsCAxlUWv2cu18Rv1ld15aCvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1764460399; 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=s71jU6xV7MGGIc43mkbRhmr0xUdn1/Nz7Fgiy4NzkH4=; b=gmKjhNUQs/pT1w4tje0oCjw/UkHX0/wERkfVbOiAx9TwVyGebnbAwLd1jHJPYuPfdjXjNv kv3vua2UTqD7PYs1raX/BUkrvhWQmP8nN6mKPgYrNEE8nJa2f8kUeWdx/yEmCmyfP8BaCc rteJluCvTCrdNRU4f4f6JGAEr7HD3wfLOpUFnSKRvR+zQnknry3qtoi129+AUsvJVJ+gnt /7DMAc/HzB5mLKwvY0QFezj3whTfGtXT7qnTwA6bX8Yfm68H18xaV3UK0+EY/rbX7l7OWM d6EfnC/QYr/LqyeNxBrSesoQvNZFFymnQ0ihB53nAZlNGBAr/wuJLYoA+CqL8g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1764460399; a=rsa-sha256; cv=none; b=rKEiDXLrN2/bJf+kOmLRk/h3WJavUKrunUdhQ15Qjm9EmD5nNgZ5ujeyh/5bNOIqPiD9aO TVH4VRYFy4gGy3xj9NKkP/5woyOGzhAn8ag53QrKjupJeu1oJDJYS0WN/Kf/DZzf9tI7cy AH9KkWwhtp8pNZz4gk76BCuKj3ukjp9mefg5iW0mSV6m1JsBn5qydnLJ3z4UeXIStnA5/5 bN4SFIo54clhGC4iJtIpGQpxvvY7Ua2SzxOHzOoxNmZEr+7T7PIwi/DshqnypUXzDL8c0m NrGfrwp/e0UbxLbInlTBKZgtsFLVNlL3KUvxS5x45PLVYq+iznl30wuryzJObQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dJn6l1m6fz18Pl for ; Sat, 29 Nov 2025 23:53:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id d186 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 29 Nov 2025 23:53:19 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 486573d391b5 - main - devel/py-protovalidate: Add py-protovalidate 1.0.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: 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 486573d391b50ac711941665842e4e22b9468f0f Auto-Submitted: auto-generated Date: Sat, 29 Nov 2025 23:53:19 +0000 Message-Id: <692b876f.d186.15906d71@gitrepo.freebsd.org> The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=486573d391b50ac711941665842e4e22b9468f0f commit 486573d391b50ac711941665842e4e22b9468f0f Author: Po-Chuan Hsieh AuthorDate: 2025-11-29 23:20:27 +0000 Commit: Po-Chuan Hsieh CommitDate: 2025-11-29 23:20:27 +0000 devel/py-protovalidate: Add py-protovalidate 1.0.0 Protovalidate is the semantic validation library for Protobuf. It provides standard annotations to validate common rules on messages and fields, as well as the ability to use CEL to write custom rules. It's the next generation of protoc-gen-validate. With Protovalidate, you can annotate your Protobuf messages with both standard and custom validation rules. --- devel/Makefile | 1 + devel/py-protovalidate/Makefile | 26 ++++++++++++++++++++++++++ devel/py-protovalidate/distinfo | 3 +++ devel/py-protovalidate/pkg-descr | 7 +++++++ 4 files changed, 37 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index a66af92b1d0e..71b2f3ac49ef 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5586,6 +5586,7 @@ SUBDIR += py-proto-plus SUBDIR += py-protobuf SUBDIR += py-protobuf-compiler + SUBDIR += py-protovalidate SUBDIR += py-proxmoxer SUBDIR += py-psygnal SUBDIR += py-ptable diff --git a/devel/py-protovalidate/Makefile b/devel/py-protovalidate/Makefile new file mode 100644 index 000000000000..5c633cbe4486 --- /dev/null +++ b/devel/py-protovalidate/Makefile @@ -0,0 +1,26 @@ +PORTNAME= protovalidate +PORTVERSION= 1.0.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Protocol Buffer Validation for Python +WWW= https://protovalidate.com/ \ + https://github.com/bufbuild/protovalidate-python + +LICENSE= APACHE20 +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}cel-python>=0.2<0.3:devel/py-cel-python@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}google-re2>=1.1.20250722:devel/py-google-re2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}protobuf>=5,1:devel/py-protobuf@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/devel/py-protovalidate/distinfo b/devel/py-protovalidate/distinfo new file mode 100644 index 000000000000..4453ca64dede --- /dev/null +++ b/devel/py-protovalidate/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1763853134 +SHA256 (protovalidate-1.0.0.tar.gz) = 926f7a212fed9190d00cc076fa24ef5e48a404b5577465028697f4dea8c4a507 +SIZE (protovalidate-1.0.0.tar.gz) = 215286 diff --git a/devel/py-protovalidate/pkg-descr b/devel/py-protovalidate/pkg-descr new file mode 100644 index 000000000000..fb8c8f5de16d --- /dev/null +++ b/devel/py-protovalidate/pkg-descr @@ -0,0 +1,7 @@ +Protovalidate is the semantic validation library for Protobuf. It provides +standard annotations to validate common rules on messages and fields, as well as +the ability to use CEL to write custom rules. It's the next generation of +protoc-gen-validate. + +With Protovalidate, you can annotate your Protobuf messages with both standard +and custom validation rules.