devel/py-cbor2 6.1.5_1
Pure Python CBOR (de)serializer with extensive tag support
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
9c878207a1- License
- MIT
- Categories
- devel, python
- Package size
- 316.6 KiB, 874.5 KiB installed
Description
This library provides encoding and decoding for the Concise Binary Object Representation (CBOR) (RFC 7049) serialization format.
There exists another Python CBOR implementation (cbor) which is faster on CPython due to its C extensions. On PyPy, cbor2 and cbor are almost identical in performance. The other implementation also lacks documentation and a comprehensive test suite, does not support most standard extension tags and is known to crash (segfault) when passed a cyclic structure (say, a list containing itself).
Install
As a binary package — by origin, or by package name:
pkg install devel/py-cbor2
pkg install py312-cbor2
From the ports tree:
cd /usr/ports/devel/py-cbor2/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-cbor2>0:devel/py-cbor2
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 | 6.1.5 | 6.1.5_1 | 5.4.3 | 5.7.0 | - |
| FreeBSD:14:quarterly | 6.1.4_1 | 6.1.4_1 | n/a | 5.6.5_1 | - |
| FreeBSD:15:latest | 6.1.5_1 | 6.1.5_1 | n/a | 5.7.0 | 5.7.0 |
| FreeBSD:15:quarterly | 6.1.4_1 | 6.1.4_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 6.1.4_1 | 6.1.5_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 3
${PYTHON_PKGNAMEPREFIX}setuptools-rust>0: devel/py-setuptools-rust${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.4: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Test 2
${PYTHON_PKGNAMEPREFIX}coverage>=7: devel/py-coverage${PYTHON_PKGNAMEPREFIX}hypothesis>0: devel/py-hypothesis
The full lists below include those, and their dependencies in turn.
All build dependencies 27
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/libunistring
- devel/py-build
- devel/py-installer
- devel/py-packaging
- devel/py-pyproject-hooks
- devel/py-semantic-version
- devel/py-setuptools
- devel/py-setuptools-rust
- devel/py-setuptools-scm
- devel/py-wheel
- devel/readline
- dns/libidn2
- dns/libpsl
- ftp/curl
- lang/python312
- lang/python315
- lang/rust
- math/mpdecimal
- print/indexinfo
- security/libssh2
- textproc/expat2
- www/libnghttp2
All run dependencies 7
Required by 14
Configuration
No options to configure.
- USES
- cpe cargo python
- Service scripts
- none
Files
distinfo 27
| File | Size | SHA256 |
|---|---|---|
| cbor2-6.1.5.tar.gz | 94232 | 6eb06160c42315ac0c4ded461c7d84d92fa18c69d13d17fc1dfc1fae96580c95 |
| rust/crates/autocfg-1.5.0.crate | 18729 | c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8 |
| rust/crates/bigdecimal-0.4.10.crate | 126514 | 4d6867f1565b3aad85681f1015055b087fcfd840d6aeee6eee7f2da317603695 |
| rust/crates/cfg-if-1.0.4.crate | 9360 | 9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801 |
| rust/crates/crunchy-0.2.4.crate | 3887 | 460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5 |
| rust/crates/half-2.7.1.crate | 61040 | 6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b |
| rust/crates/heck-0.5.0.crate | 11517 | 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea |
| rust/crates/libc-0.2.182.crate | 814873 | 6800badb6cb2082ffd7b6a67e6125bb39f18782f793520caee8cb8846be06112 |
| rust/crates/libm-0.2.16.crate | 164243 | b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981 |
| rust/crates/num-bigint-0.4.6.crate | 102801 | a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9 |
| rust/crates/num-integer-0.1.46.crate | 22331 | 7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f |
| rust/crates/num-traits-0.2.19.crate | 51631 | 071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841 |
| rust/crates/once_cell-1.21.3.crate | 34534 | 42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d |
| rust/crates/portable-atomic-1.13.1.crate | 197001 | c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49 |
| rust/crates/proc-macro2-1.0.106.crate | 59765 | 8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934 |
| rust/crates/pyo3-0.29.0.crate | 1.241253e+06 | cd274650b21d4bfc26a0a47587962c1edb425f69287324355cd040c3ea66071c |
| rust/crates/pyo3-build-config-0.28.2.crate | 35958 | 8bf94ee265674bf76c09fa430b0e99c26e319c945d96ca0d5a8215f31bf81cf7 |
| rust/crates/pyo3-build-config-0.29.0.crate | 39616 | c5e2a7d2f0d013342f295c048ad19237add5154a55b1c5a254c0ec93d4109078 |
| rust/crates/pyo3-ffi-0.29.0.crate | 88184 | ca85c467da1bbc8d866eea5deff9cf29ea5f7785054a17da36e65bda9c05845b |
| rust/crates/pyo3-macros-0.29.0.crate | 8915 | 9ac53762fd065daa3194dd09337a38bd793a188100fd1a9304c4ab312d901771 |
Master sites 1
- PYPI
Commit history 11
The latest 5 of 11 in the history this site was built from.