BSD Ports

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

SystemPortVersion
FreeBSDdevel/py-protoc-gen-validate1.3.3
HardenedBSDdevel/py-protoc-gen-validate1.3.3
GhostBSDdevel/py-protoc-gen-validate1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.3.31.3.3--1.3.3
FreeBSD:14:quarterly1.3.31.3.3n/a-1.3.3
FreeBSD:15:latest1.3.31.3.3n/a--
FreeBSD:15:quarterly1.3.31.3.3n/an/an/a
FreeBSD:16:latest1.3.31.3.3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 3

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
FileSizeSHA256
protoc_gen_validate-1.3.3.tar.gz1815276c1cea6c2b1290fc2a266b7d19f44cdcc1dc496236b760db1a50e1672d6c978
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.