notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-protoc-gen-validate PGV for python via just-in-time code generation
1.2.1 develnew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-12-09 11:24:23
Last Update: 2025-12-09 11:20:49
Commit Hash: e8d50a3
Also Listed In: python
License: APACHE20
WWW:
https://github.com/bufbuild/protoc-gen-validate/tree/main/python
https://github.com/bufbuild/protoc-gen-validate
Description:
While protocol buffers effectively guarantee the types of structured data, they cannot enforce semantic rules for values. This package is a python implementation of protoc-gen-validate, which allows for runtime validation of various semantic assertions expressed as annotations on the protobuf schema. The syntax for all available annotations is in validate.proto. Implemented Python annotations are listed in the rules comparison.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}protoc-gen-validate>0:devel/py-protoc-gen-validate@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-protoc-gen-validate/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-protoc-gen-validate
  • pkg install py311-protoc-gen-validate
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-protoc-gen-validate listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-protoc-gen-validate
Package flavors (<flavor>: <package>)
  • py311: py311-protoc-gen-validate
distinfo:
TIMESTAMP = 1765032626 SHA256 (protoc_gen_validate-1.2.1.tar.gz) = 62cd74043e49a34346a3fe7a7fe39e8adce69b19edc99b4d8d410c02a727d552 SIZE (protoc_gen_validate-1.2.1.tar.gz) = 18160

No package information for this port in our database
Sometimes this happens. Not all ports have packages. This is doubly so for new ports, like this one.
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>=45 : devel/py-setuptools@py311
  2. py311-setuptools-scm>=6.2 : devel/py-setuptools-scm@py311
  3. py311-wheel>=0.38.1 : devel/py-wheel@py311
  4. python3.11 : lang/python311
  5. py311-build>=0 : devel/py-build@py311
  6. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-Jinja2>=2.11.1 : devel/py-Jinja2@py311
  2. py311-protobuf>=5.27.0,1 : devel/py-protobuf@py311
  3. py311-validate_email>=1.3 : mail/py-validate_email@py311
  4. python3.11 : lang/python311
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_py-protoc-gen-validate
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/p/protoc_gen_validate/
  2. https://pypi.org/packages/source/p/protoc_gen_validate/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.2.1
09 Dec 2025 11:20:49
commit hash: e8d50a3f5adef8f76bae8ce71c5ad9002c77eda9commit hash: e8d50a3f5adef8f76bae8ce71c5ad9002c77eda9commit hash: e8d50a3f5adef8f76bae8ce71c5ad9002c77eda9commit hash: e8d50a3f5adef8f76bae8ce71c5ad9002c77eda9 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-protoc-gen-validate: Add py-protoc-gen-validate 1.2.1

While protocol buffers effectively guarantee the types of structured data, they
cannot enforce semantic rules for values. This package is a python
implementation of protoc-gen-validate, which allows for runtime validation of
various semantic assertions expressed as annotations on the protobuf schema. The
syntax for all available annotations is in validate.proto. Implemented Python
annotations are listed in the rules comparison.

Number of commits found: 1