FreeBSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest6.1.56.1.5_15.4.35.7.0-
FreeBSD:14:quarterly6.1.4_16.1.4_1n/a5.6.5_1-
FreeBSD:15:latest6.1.5_16.1.5_1n/a5.7.05.7.0
FreeBSD:15:quarterly6.1.4_16.1.4_1n/an/an/a
FreeBSD:16:latest6.1.4_16.1.5_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Test 2

The full lists below include those, and their dependencies in turn.

All build dependencies 27
All run dependencies 7

Configuration

No options to configure.

USES
cpe cargo python
Service scripts
none

Files

distinfo 27
FileSizeSHA256
cbor2-6.1.5.tar.gz942326eb06160c42315ac0c4ded461c7d84d92fa18c69d13d17fc1dfc1fae96580c95
rust/crates/autocfg-1.5.0.crate18729c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8
rust/crates/bigdecimal-0.4.10.crate1265144d6867f1565b3aad85681f1015055b087fcfd840d6aeee6eee7f2da317603695
rust/crates/cfg-if-1.0.4.crate93609330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801
rust/crates/crunchy-0.2.4.crate3887460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5
rust/crates/half-2.7.1.crate610406ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b
rust/crates/heck-0.5.0.crate115172304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea
rust/crates/libc-0.2.182.crate8148736800badb6cb2082ffd7b6a67e6125bb39f18782f793520caee8cb8846be06112
rust/crates/libm-0.2.16.crate164243b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981
rust/crates/num-bigint-0.4.6.crate102801a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9
rust/crates/num-integer-0.1.46.crate223317969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f
rust/crates/num-traits-0.2.19.crate51631071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841
rust/crates/once_cell-1.21.3.crate3453442f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d
rust/crates/portable-atomic-1.13.1.crate197001c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49
rust/crates/proc-macro2-1.0.106.crate597658fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934
rust/crates/pyo3-0.29.0.crate1.241253e+06cd274650b21d4bfc26a0a47587962c1edb425f69287324355cd040c3ea66071c
rust/crates/pyo3-build-config-0.28.2.crate359588bf94ee265674bf76c09fa430b0e99c26e319c945d96ca0d5a8215f31bf81cf7
rust/crates/pyo3-build-config-0.29.0.crate39616c5e2a7d2f0d013342f295c048ad19237add5154a55b1c5a254c0ec93d4109078
rust/crates/pyo3-ffi-0.29.0.crate88184ca85c467da1bbc8d866eea5deff9cf29ea5f7785054a17da36e65bda9c05845b
rust/crates/pyo3-macros-0.29.0.crate89159ac53762fd065daa3194dd09337a38bd793a188100fd1a9304c4ab312d901771
Master sites 1
  • PYPI

Commit history 11

DateCommitCreditsLog message
9c878207a1 Mikael Urankar lang/rust: Bump revisions after 1.99.0
PR: 299016
8734469bdd Muhammad Moinur Rahman devel/py-cbor2: Update version 6.1.4=>6.1.5
Changelog: https://github.com/agronholm/cbor2/releases/tag/6.1.5
7316461925 Mikael Urankar lang/rust: Bump revisions after 1.98.1
PR: 298139
6ff8bfbfec Muhammad Moinur Rahman devel/py-cbor2: Update version 6.1.3=>6.1.4
Changelog: https://github.com/agronholm/cbor2/releases/tag/6.1.4
ea365ec15d Muhammad Moinur Rahman devel/py-cbor2: Update version 6.1.2=>6.1.3
Changelog: https://github.com/agronholm/cbor2/releases/tag/6.1.3

The latest 5 of 11 in the history this site was built from.