notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Volunteers wanted to help translate FreshPorts
Port details on branch 2026Q4
py-cbor2 Pure Python CBOR (de)serializer with extensive tag support
6.1.5 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 6.1.4_1Version of this port present on the latest quarterly branch.
Maintainer: bofh@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2018-08-02 15:26:14
Last Update: 2026-10-09 14:02:20
Commit Hash: 8734469
Also Listed In: python
License: MIT
WWW:
https://pypi.org/project/cbor2/
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).
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}cbor2>0:devel/py-cbor2@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-cbor2/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-cbor2
  • pkg install py312-cbor2
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py312-cbor2 listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-cbor2
Package flavors (<flavor>: <package>)
  • py312: py312-cbor2
NOT_FOR_ARCHS: i386
distinfo:
TIMESTAMP = 1791551587 SHA256 (cbor2-6.1.5.tar.gz) = 6eb06160c42315ac0c4ded461c7d84d92fa18c69d13d17fc1dfc1fae96580c95 SIZE (cbor2-6.1.5.tar.gz) = 94232

Expand this list (52 items)

Collapse this list.

SHA256 (rust/crates/autocfg-1.5.0.crate) = c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8 SIZE (rust/crates/autocfg-1.5.0.crate) = 18729 SHA256 (rust/crates/bigdecimal-0.4.10.crate) = 4d6867f1565b3aad85681f1015055b087fcfd840d6aeee6eee7f2da317603695 SIZE (rust/crates/bigdecimal-0.4.10.crate) = 126514 SHA256 (rust/crates/cfg-if-1.0.4.crate) = 9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801 SIZE (rust/crates/cfg-if-1.0.4.crate) = 9360 SHA256 (rust/crates/crunchy-0.2.4.crate) = 460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5 SIZE (rust/crates/crunchy-0.2.4.crate) = 3887 SHA256 (rust/crates/half-2.7.1.crate) = 6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b SIZE (rust/crates/half-2.7.1.crate) = 61040 SHA256 (rust/crates/heck-0.5.0.crate) = 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea SIZE (rust/crates/heck-0.5.0.crate) = 11517 SHA256 (rust/crates/libc-0.2.182.crate) = 6800badb6cb2082ffd7b6a67e6125bb39f18782f793520caee8cb8846be06112 SIZE (rust/crates/libc-0.2.182.crate) = 814873 SHA256 (rust/crates/libm-0.2.16.crate) = b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981 SIZE (rust/crates/libm-0.2.16.crate) = 164243 SHA256 (rust/crates/num-bigint-0.4.6.crate) = a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9 SIZE (rust/crates/num-bigint-0.4.6.crate) = 102801 SHA256 (rust/crates/num-integer-0.1.46.crate) = 7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f SIZE (rust/crates/num-integer-0.1.46.crate) = 22331 SHA256 (rust/crates/num-traits-0.2.19.crate) = 071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841 SIZE (rust/crates/num-traits-0.2.19.crate) = 51631 SHA256 (rust/crates/once_cell-1.21.3.crate) = 42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d SIZE (rust/crates/once_cell-1.21.3.crate) = 34534 SHA256 (rust/crates/portable-atomic-1.13.1.crate) = c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49 SIZE (rust/crates/portable-atomic-1.13.1.crate) = 197001 SHA256 (rust/crates/proc-macro2-1.0.106.crate) = 8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934 SIZE (rust/crates/proc-macro2-1.0.106.crate) = 59765 SHA256 (rust/crates/pyo3-0.29.0.crate) = cd274650b21d4bfc26a0a47587962c1edb425f69287324355cd040c3ea66071c SIZE (rust/crates/pyo3-0.29.0.crate) = 1241253 SHA256 (rust/crates/pyo3-build-config-0.28.2.crate) = 8bf94ee265674bf76c09fa430b0e99c26e319c945d96ca0d5a8215f31bf81cf7 SIZE (rust/crates/pyo3-build-config-0.28.2.crate) = 35958 SHA256 (rust/crates/pyo3-build-config-0.29.0.crate) = c5e2a7d2f0d013342f295c048ad19237add5154a55b1c5a254c0ec93d4109078 SIZE (rust/crates/pyo3-build-config-0.29.0.crate) = 39616 SHA256 (rust/crates/pyo3-ffi-0.29.0.crate) = ca85c467da1bbc8d866eea5deff9cf29ea5f7785054a17da36e65bda9c05845b SIZE (rust/crates/pyo3-ffi-0.29.0.crate) = 88184 SHA256 (rust/crates/pyo3-macros-0.29.0.crate) = 9ac53762fd065daa3194dd09337a38bd793a188100fd1a9304c4ab312d901771 SIZE (rust/crates/pyo3-macros-0.29.0.crate) = 8915 SHA256 (rust/crates/pyo3-macros-backend-0.29.0.crate) = 4ca3a1557399783172dc5bf39cfca835157732532cba56b71d2292161e53b362 SIZE (rust/crates/pyo3-macros-backend-0.29.0.crate) = 91943 SHA256 (rust/crates/quote-1.0.44.crate) = 21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4 SIZE (rust/crates/quote-1.0.44.crate) = 31629 SHA256 (rust/crates/syn-2.0.117.crate) = e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99 SIZE (rust/crates/syn-2.0.117.crate) = 306011 SHA256 (rust/crates/target-lexicon-0.13.5.crate) = adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca SIZE (rust/crates/target-lexicon-0.13.5.crate) = 26928 SHA256 (rust/crates/unicode-ident-1.0.24.crate) = e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75 SIZE (rust/crates/unicode-ident-1.0.24.crate) = 49298 SHA256 (rust/crates/zerocopy-0.8.40.crate) = a789c6e490b576db9f7e6b6d661bcc9799f7c0ac8352f56ea20193b2681532e5 SIZE (rust/crates/zerocopy-0.8.40.crate) = 254858 SHA256 (rust/crates/zerocopy-derive-0.8.40.crate) = f65c489a7071a749c849713807783f70672b28094011623e200cb86dcb835953 SIZE (rust/crates/zerocopy-derive-0.8.40.crate) = 97724

Collapse this list.


Packages (timestamps in pop-ups are UTC):
py39-cbor2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64leriscv64
FreeBSD:13:latest--n/an/an/an/an/an/an/a
FreeBSD:13:quarterly--n/an/an/an/an/an/an/a
FreeBSD:14:latest--5.4.3--5.4.3-5.4.3-
FreeBSD:14:quarterly-----5.4.35.4.35.4.3-
FreeBSD:15:latest--n/a-n/an/a5.4.35.4.3-
FreeBSD:15:quarterly--n/a-n/an/a---
FreeBSD:16:latest--n/a-n/an/a---
 
py311-cbor2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64leriscv64
FreeBSD:13:latest5.9.05.9.0n/an/an/an/an/an/an/a
FreeBSD:13:quarterly5.9.05.9.0n/an/an/an/an/an/an/a
FreeBSD:14:latest---5.7.0-----
FreeBSD:14:quarterly---5.6.5_1-----
FreeBSD:15:latest--n/a5.7.0n/an/a---
FreeBSD:15:quarterly--n/a-n/an/a---
FreeBSD:16:latest--n/a-n/an/a---
 
py312-cbor2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64leriscv64
FreeBSD:13:latest--n/an/an/an/an/an/an/a
FreeBSD:13:quarterly--n/an/an/an/an/an/an/a
FreeBSD:14:latest6.1.4_16.1.4_1-------
FreeBSD:14:quarterly6.0.16.1.4_1-------
FreeBSD:15:latest6.1.4_16.1.4_1n/a-n/an/a---
FreeBSD:15:quarterly6.1.4_16.1.4_1n/a-n/an/a---
FreeBSD:16:latest6.1.4_16.1.4_1n/a-n/an/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py312-setuptools>0 : devel/py-setuptools@py312
  2. py312-setuptools-rust>0 : devel/py-setuptools-rust@py312
  3. py312-setuptools-scm>=6.4 : devel/py-setuptools-scm@py312
  4. py312-wheel>=0 : devel/py-wheel@py312
  5. rust>=1.98.0 : lang/rust
  6. python3.12 : lang/python312
  7. py312-build>=0 : devel/py-build@py312
  8. py312-installer>=0 : devel/py-installer@py312
Test dependencies:
  1. py312-coverage>=7 : devel/py-coverage@py312
  2. py312-hypothesis>0 : devel/py-hypothesis@py312
  3. py312-pytest>=7,1 : devel/py-pytest@py312
  4. python3.12 : lang/python312
Runtime dependencies:
  1. python3.12 : lang/python312
This port is required by:
for Run
  1. filesystems/py-tahoe-lafs
  2. finance/odoo
  3. finance/odoo18
  4. misc/py-vllm
  5. security/py-webauthn
  6. www/py-autobahn
  7. www/py-autobahn25

Configuration Options:
No options to configure
Options name:
devel_py-cbor2
USES:
cpe cargo python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/c/cbor2/
  2. https://pypi.org/packages/source/c/cbor2/
Collapse this list.

There are no commits on branch 2026Q4 for this port