devel/py-protoc-gen-validate 1.3.3 FreeBSD
PGV for python via just-in-time code generation
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- APACHE20
- Categories
- devel, python
- Package size
- 28.1 KiB, 220.0 KiB installed
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-protoc-gen-validate | 1.3.3 |
| HardenedBSD | devel/py-protoc-gen-validate | 1.3.3 |
| GhostBSD | devel/py-protoc-gen-validate | 1.3.3 |
Install
Binary package:
pkg install py312-protoc-gen-validate
From the ports tree:
cd /usr/ports/devel/py-protoc-gen-validate/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-protoc-gen-validate>0:devel/py-protoc-gen-validate
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.3.3 | 1.3.3 | - | - | 1.3.3 |
| FreeBSD:14:quarterly | 1.3.3 | 1.3.3 | n/a | - | 1.3.3 |
| FreeBSD:15:latest | 1.3.3 | 1.3.3 | n/a | - | - |
| FreeBSD:15:quarterly | 1.3.3 | 1.3.3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.3.3 | 1.3.3 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}setuptools>=45: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>=0.38.1: devel/py-wheel
Runtime 3
${PYTHON_PKGNAMEPREFIX}Jinja2>=2.11.1: devel/py-Jinja2${PYTHON_PKGNAMEPREFIX}protobuf>=5.27.0,1: devel/py-protobuf${PYTHON_PKGNAMEPREFIX}validate_email>=1.3: mail/py-validate_email
The full lists below include those, and their dependencies in turn.
Build dependencies 17
Run dependencies 13
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| protoc_gen_validate-1.3.3.tar.gz | 18152 | 76c1cea6c2b1290fc2a266b7d19f44cdcc1dc496236b760db1a50e1672d6c978 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.