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 photosAll times are UTC
Ukraine
2024-11-06 Today brought in a new category: filesystems. Sadly, the website did not process it well. I am working on that. It may take a few days.
2024-11-07 Commit processing is halted. I have a fix for the new category. It is making its way through the system.
UPDATE: the backend is processing the original filesystems commit now. It should take about an hour.
UPDATE: as of 20:30 UTC, the filesystems commit has been processed. Commit processing is now up to date.
Port details
py-cbor2 Pure Python CBOR (de)serializer with extensive tag support
5.6.5_1 devel on this many watch lists=2 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 5.6.4Version 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: 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).
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.
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>)
  • py311: py311-cbor2
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):
py37-cbor2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--4.1.2_1---4.1.2_1-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
py39-cbor2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--5.4.3--5.4.35.4.35.4.3
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/a5.4.35.4.35.4.3
 
py311-cbor2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest5.6.5_15.6.5_1-5.6.5_15.6.5_1---
FreeBSD:13:quarterly5.6.45.6.4-5.6.45.6.4---
FreeBSD:14:latest5.6.5_15.6.5_1-5.6.5_15.6.5_1---
FreeBSD:14:quarterly5.6.45.6.4-5.6.45.6.4---
FreeBSD:15:latest5.6.5_15.6.5_1n/a5.6.5_1n/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>=61 : devel/py-setuptools@py311
  2. py311-setuptools-scm>=6.4 : devel/py-setuptools-scm@py311
  3. py311-wheel>0 : devel/py-wheel@py311
  4. python3.11 : lang/python311
  5. py311-build>=0 : devel/py-build@py311
  6. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. py311-pytest>0 : devel/py-pytest@py311
  2. py311-cbor>0 : devel/py-cbor@py311
  3. py311-objgraph>0 : devel/py-objgraph@py311
  4. python3.11 : lang/python311
Runtime dependencies:
  1. python3.11 : lang/python311
This port is required by:
for Run
  1. security/py-webauthn
  2. 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:
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.

Number of commits found: 20

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
5.6.5_1
11 Oct 2024 05:54:10
commit hash: 82df1dd37d2f8b841c4c0c121aa28d51fdc4f582commit hash: 82df1dd37d2f8b841c4c0c121aa28d51fdc4f582commit hash: 82df1dd37d2f8b841c4c0c121aa28d51fdc4f582commit hash: 82df1dd37d2f8b841c4c0c121aa28d51fdc4f582 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/py-cbor2: Modernize with pep517 build

- Adopt port as I have consumers
5.6.5
10 Oct 2024 14:25:44
commit hash: 8ececb3b6a216f9124466ced9fce1d9937d309f9commit hash: 8ececb3b6a216f9124466ced9fce1d9937d309f9commit hash: 8ececb3b6a216f9124466ced9fce1d9937d309f9commit hash: 8ececb3b6a216f9124466ced9fce1d9937d309f9 files touched by this commit
Dan Langille (dvl) search for other commits by this committer
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
commit hash: fdf9d948b797b6cd24307a7f5c37cc914030f6c0commit hash: fdf9d948b797b6cd24307a7f5c37cc914030f6c0commit hash: fdf9d948b797b6cd24307a7f5c37cc914030f6c0commit hash: fdf9d948b797b6cd24307a7f5c37cc914030f6c0 files touched by this commit
Dan Langille (dvl) search for other commits by this committer
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
commit hash: 5d4139f8bdb67bd6e8328422f9762661bd0d6454commit hash: 5d4139f8bdb67bd6e8328422f9762661bd0d6454commit hash: 5d4139f8bdb67bd6e8328422f9762661bd0d6454commit hash: 5d4139f8bdb67bd6e8328422f9762661bd0d6454 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
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
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
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
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
5.4.3
20 Jul 2022 14:21:35
commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
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 View all of this commit message)
5.4.3
16 Jun 2022 12:07:13
commit hash: 34f3a570ffc2451dbdf0737a8807efea0d6d4827commit hash: 34f3a570ffc2451dbdf0737a8807efea0d6d4827commit hash: 34f3a570ffc2451dbdf0737a8807efea0d6d4827commit hash: 34f3a570ffc2451dbdf0737a8807efea0d6d4827 files touched by this commit
Dan Langille (dvl) search for other commits by this committer
devel/py-cbor2: Update to 5.4.3
5.4.2
07 Apr 2022 18:59:33
commit hash: f32a990bb6cfb7528a23984eb13e099e2b1f95d4commit hash: f32a990bb6cfb7528a23984eb13e099e2b1f95d4commit hash: f32a990bb6cfb7528a23984eb13e099e2b1f95d4commit hash: f32a990bb6cfb7528a23984eb13e099e2b1f95d4 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
devel/py-cbor2: add missing test depends

Approved by:	portmgr blanket
5.4.2
12 Mar 2022 10:36:57
commit hash: 2b4450cf2275803fb3d28e02462d79d49a432850commit hash: 2b4450cf2275803fb3d28e02462d79d49a432850commit hash: 2b4450cf2275803fb3d28e02462d79d49a432850commit hash: 2b4450cf2275803fb3d28e02462d79d49a432850 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
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
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
4.1.2_1
28 Dec 2020 23:02:15
Revision:559531Original commit files touched by this commit
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
4.1.2_1
18 May 2019 15:46:37
Revision:501964Original commit files touched by this commit
koobs search for other commits by this committer
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 View all of this commit message)
4.1.2
10 Feb 2019 00:08:37
Revision:492575Original commit files touched by this commit
sunpoet search for other commits by this committer
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
Revision:487240Original commit files touched by this commit
dvl search for other commits by this committer
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
Revision:476734Original commit files touched by this commit
dvl search for other commits by this committer
Remove commented out code which was never used.

Reported by:	koobs
4.1.0
05 Aug 2018 09:20:37
Revision:476399Original commit files touched by this commit
antoine search for other commits by this committer
- Fix BUILD_DEPENDS
- py-cbor2 is not compatible with python3

Reported by:	pkg-fallout
4.1.0
02 Aug 2018 15:26:02
Revision:476240Original commit files touched by this commit
dvl search for other commits by this committer
Add devel/py-cbor2

Pure Python CBOR (de)serializer with extensive tag support

Number of commits found: 20