devel/py-cbor 1.0.0_1 FreeBSD
RFC 7049 - Concise Binary Object Representation
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- APACHE20
- Categories
- devel, python
- Package size
- 37.1 KiB, 132.3 KiB installed
Description
An implementation of RFC 7049 - Concise Binary Object Representation (CBOR).
CBOR is comparable to JSON, has a superset of JSON's ability, but serializes to a binary format which is smaller and faster to generate and parse.
The two primary functions are cbor.loads() and cbor.dumps().
This library includes a C implementation which runs 3-5 times faster than the Python standard library's C-accelerated implementanion of JSON. This is also includes a 100% Python implementation.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-cbor | 1.0.0_1 |
| DragonFly | devel/py-cbor | 1.0.0_1 |
| MidnightBSD | devel/py-cbor | 1.0.0_2 |
Install
Binary package:
pkg install py312-cbor
From the ports tree:
cd /usr/ports/devel/py-cbor/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-cbor>0:devel/py-cbor
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 | 1.0.0_1 | 1.0.0_1 | 1.0.0 | 1.0.0_1 | 1.0.0_1 |
| FreeBSD:14:quarterly | 1.0.0_1 | 1.0.0_1 | n/a | 1.0.0_1 | 1.0.0_1 |
| FreeBSD:15:latest | 1.0.0_1 | 1.0.0_1 | n/a | 1.0.0_1 | 1.0.0_1 |
| FreeBSD:15:quarterly | 1.0.0_1 | 1.0.0_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.0.0_1 | 1.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 2
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 7
No port depends on this one.
Configuration
No options to configure.
- USES
- compiler python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| cbor-1.0.0.tar.gz | 20096 | 13225a262ddf5615cbd9fd55a76a0d53069d18b07d2e9f19c39e6acb8609bbb6 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.