Port details |
- py-cbor2 Pure Python CBOR (de)serializer with extensive tag support
- 5.6.5_1 devel =2 5.6.4Version of this port present on the latest quarterly branch.
- Maintainer: bofh@FreeBSD.org
- Port Added: 2018-08-02 15:26:14
- Last Update: 2024-10-11 05:54:10
- Commit Hash: 82df1dd
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- 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).
- ¦ ¦ ¦ ¦
- 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.
- 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 py311-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 py311-cbor2 listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-cbor2
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1728570063
SHA256 (cbor2-5.6.5.tar.gz) = b682820677ee1dbba45f7da11898d2720f92e06be36acec290867d5ebf3d7e09
SIZE (cbor2-5.6.5.tar.gz) = 100886
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-setuptools>=61 : devel/py-setuptools@py311
- py311-setuptools-scm>=6.4 : devel/py-setuptools-scm@py311
- py311-wheel>0 : devel/py-wheel@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- py311-pytest>0 : devel/py-pytest@py311
- py311-cbor>0 : devel/py-cbor@py311
- py311-objgraph>0 : devel/py-objgraph@py311
- python3.11 : lang/python311
- Runtime dependencies:
-
- python3.11 : lang/python311
- This port is required by:
- for Run
-
- security/py-webauthn
- www/py-autobahn
Configuration Options:
- No options to configure
- Options name:
- devel_py-cbor2
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
5.6.5_1 11 Oct 2024 05:54:10 |
Muhammad Moinur Rahman (bofh) |
devel/py-cbor2: Modernize with pep517 build
- Adopt port as I have consumers |
5.6.5 10 Oct 2024 14:25:44 |
Dan Langille (dvl) |
devel/py-cbor2: Update to 5.6.5
https://github.com/agronholm/cbor2/releases/tag/5.6.5
Give up maintainership. I no longer use this. |
5.6.4 30 Jul 2024 11:44:15 |
Dan Langille (dvl) |
devel/py-cbor2: Update to 5.6.4
re: https://github.com/agronholm/cbor2/releases/tag/5.6.4 |
5.4.3 29 Feb 2024 07:18:32 |
Charlie Li (vishwin) |
devel/py-setuptools-scm: update to 8.0.4
Directory and PORTNAME changed to match normalised name in release
tarball; consumers updated to match.
Although setuptools itself is specified as a run dependency in the
Python package metadata, it is currently left out here to prevent
environment pollution until at least PR 270510 is committed.
Additionally, this version of setuptools-scm requires setuptools>=61,
which means this version is only meant for USE_PYTHON=pep517 ports
as all USE_PYTHON=distutils ports will switch to devel/py-setuptools58
also after PR 270510. science/py-emmet-core is switched to
devel/py-setuptools_scm7 accordingly, as it specifies setuptools-scm<8.
devel/py-{flit-scm,hatch-vcs} have ${PY_SETUPTOOLS} added to
RUN_DEPENDS to compensate.
Further details: https://wiki.freebsd.org/Python/setuptools
Reported by: yuri
Co-authored by: matthew
Exp-run by: antoine (earlier iteration)
Approved by: yuri (science/py-emmet-core, previous iteration)
PR: 272134
Differential Revision: https://reviews.freebsd.org/D39288 |
5.4.3 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
5.4.3 11 Jan 2023 15:58:34 |
Dmitry Marakasov (amdmi3) |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
5.4.3 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
5.4.3 20 Jul 2022 14:21:35 |
Tobias C. Berner (tcberner) |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
5.4.3 16 Jun 2022 12:07:13 |
Dan Langille (dvl) |
devel/py-cbor2: Update to 5.4.3 |
5.4.2 07 Apr 2022 18:59:33 |
Dmitry Marakasov (amdmi3) |
devel/py-cbor2: add missing test depends
Approved by: portmgr blanket |
5.4.2 12 Mar 2022 10:36:57 |
Muhammad Moinur Rahman (bofh) |
devel/py-cbor2: Update version 4.1.2=>5.4.2
Approved by: dvl (private mail)
Relnotes: https://github.com/agronholm/cbor2/releases/tag/5.4.2 |
4.1.2_1 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
4.1.2_1 28 Dec 2020 23:02:15 |
antoine |
Drop python 2.7 support from a few ports
With hat: portmgr |
4.1.2_1 18 May 2019 15:46:37 |
koobs |
devel/py-cbor2: Remove Python 3 support restriction
This package supports Python 3.x support, so allow it accordingly. It is
required for an upcoming www/py-autobahn update (Python 2/3 compatible).
During QA, a UnicodeDecodeError was observed running tests under Python 3:
File
"/usr/local/lib/python3.6/site-packages/py/_vendored_packages/iniconfig.py",
line 82, in _parse
for lineno, line in enumerate(line_iter):
File "/usr/local/lib/python3.6/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 165:
ordinal not in range(128)
pytest uses the py package, which vendors the iniconfig package, which
isn't unicode aware [1][2][3]. Patch out unicode characters from setup.cfg (Only the first 15 lines of the commit message are shown above ) |
4.1.2 10 Feb 2019 00:08:37 |
sunpoet |
Update to 40.8.0
Changes: https://github.com/pypa/setuptools/blob/master/CHANGES.rst
PR: 235474
Exp-run by: antoine |
4.1.2 11 Dec 2018 16:12:55 |
dvl |
Upgrade to 4.1.2
4.1.2:
- Fixed bigint encoding taking quadratic time
- Fixed overflow errors when encoding floating point numbers in canonical mode
- Improved decoder performance for dictionaries
- Minor documentation tweaks
4.1.1:
- Fixed encoding of negative ``Decimal`` instances (PR by Sekenre) |
4.1.0 09 Aug 2018 10:42:43 |
dvl |
Remove commented out code which was never used.
Reported by: koobs |
4.1.0 05 Aug 2018 09:20:37 |
antoine |
- Fix BUILD_DEPENDS
- py-cbor2 is not compatible with python3
Reported by: pkg-fallout |
4.1.0 02 Aug 2018 15:26:02 |
dvl |
Add devel/py-cbor2
Pure Python CBOR (de)serializer with extensive tag support |