devel/py-protovalidate 2.0.0_1 FreeBSD
Protocol Buffer Validation for Python
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
9c878207a1- License
- APACHE20
- Categories
- devel, python
- Package size
- 2019.1 KiB, 7186.9 KiB installed
Description
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.
Install
Binary package:
pkg install py312-protovalidate
From the ports tree:
cd /usr/ports/devel/py-protovalidate/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-protovalidate>0:devel/py-protovalidate
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 | 2.0.0 | 2.0.0_1 | - | - | - |
| FreeBSD:14:quarterly | 2.0.0 | 2.0.0 | n/a | - | - |
| FreeBSD:15:latest | 2.0.0_1 | 2.0.0_1 | n/a | - | - |
| FreeBSD:15:quarterly | 2.0.0 | 2.0.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.0.0 | 2.0.0_1 | 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 1
${PYTHON_PKGNAMEPREFIX}maturin>=1.12<2.0: devel/py-maturin
Runtime 1
${PYTHON_PKGNAMEPREFIX}protobuf-py>=0.2.0: devel/py-protobuf-py
The full lists below include those, and their dependencies in turn.
Build dependencies 23
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/libunistring
- devel/py-build
- devel/py-installer
- devel/py-maturin
- devel/py-packaging
- devel/py-pyproject-hooks
- devel/readline
- dns/libidn2
- dns/libpsl
- ftp/curl
- lang/python312
- lang/python315
- lang/rust
- math/mpdecimal
- print/indexinfo
- security/libssh2
- textproc/expat2
- www/libnghttp2
Run dependencies 10
No port depends on this one.
Configuration
No options to configure.
- USES
- cargo python
- Service scripts
- none
Files
distinfo 18
| File | Size | SHA256 |
|---|---|---|
| protovalidate-2.0.0.tar.gz | 1.8878241e+07 | f2fce76be2afc91f1c2f57b0d1bba26a1681cf687ba387a3a4bea6a69e13a805 |
| rust/crates/cc-1.4.3.crate | 98480 | 509591b7bcd67f4ef775afad7662703b4935daaa6ec0e5605cfb1090b32a2b6d |
| rust/crates/find-msvc-tools-0.1.11.crate | 31517 | d45db016d36b838f563236e9193d0ee6ce38f3f68b6c94e914b4929c96bbb890 |
| rust/crates/heck-0.5.0.crate | 11517 | 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea |
| rust/crates/libc-0.2.189.crate | 851502 | 3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2 |
| rust/crates/once_cell-1.21.4.crate | 35010 | 9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50 |
| rust/crates/portable-atomic-1.15.0.crate | 202705 | 05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85 |
| rust/crates/proc-macro2-1.0.107.crate | 59588 | 985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9 |
| rust/crates/pyo3-0.29.2.crate | 1.255741e+06 | 4688ddedf473e32662b9b067670129a8afb8c18e351482c70d62ba4a88171e8b |
| rust/crates/pyo3-build-config-0.29.2.crate | 41104 | f41027e41b4bd03f6e60f9f417fe24a6341a6bb744edd62b6f709f2a52ea30e9 |
| rust/crates/pyo3-ffi-0.29.2.crate | 90029 | e591a95526fead067432c3b3a33fc74770b87b1e04e73671090d9c2055a2b327 |
| rust/crates/pyo3-macros-0.29.2.crate | 9044 | 73225868fc1cd84eef2c3c230ddb91273bf1de46aeb8a4248da76d32a0924a1c |
| rust/crates/pyo3-macros-backend-0.29.2.crate | 93749 | 571575aa3749fa6216757dd47d2a3e7ef360f329a40f0666a9fbd14889024952 |
| rust/crates/quote-1.0.47.crate | 31622 | 1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001 |
| rust/crates/shlex-2.0.1.crate | 19332 | f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba |
| rust/crates/syn-2.0.119.crate | 307407 | 872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297 |
| rust/crates/target-lexicon-0.13.5.crate | 26928 | adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca |
| rust/crates/unicode-ident-1.0.24.crate | 49298 | e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75 |
Master sites 1
- PYPI