notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
py-cbor2 Pure Python CBOR (de)serializer with extensive tag support
4.1.2_1 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 4.1.2_1Version of this port present on the latest quarterly branch.
Maintainer: dvl@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2018-08-02 15:26:14
Last Update: 2021-04-06 14:31:07
Commit Hash: 305f148
Also Listed In: python
License: MIT
Description:
SVNWeb : git : Homepage
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 py38-cbor2
NOTE: This is a Python port. Instead of py38-cbor2 listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py38-cbor2
Package flavors (<flavor>: <package>)
  • py38: py38-cbor2
distinfo:
Packages (timestamps in pop-ups are UTC):
py27-cbor2
ABIlatestquarterly
FreeBSD:11:aarch644.1.04.1.2_1
FreeBSD:11:amd64--
FreeBSD:11:armv6-4.1.2_1
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64-4.1.2_1
FreeBSD:12:aarch644.1.0-
FreeBSD:12:amd64--
FreeBSD:12:armv64.1.04.1.2_1
FreeBSD:12:armv74.1.04.1.2_1
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips644.1.04.1.2_1
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64--
FreeBSD:13:amd64--
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64--
FreeBSD:14:aarch64--
FreeBSD:14:amd64--
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
 
py37-cbor2
ABIlatestquarterly
FreeBSD:11:aarch64-4.1.2_1
FreeBSD:11:amd64--
FreeBSD:11:armv6-4.1.2_1
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64-4.1.2_1
FreeBSD:12:aarch64--
FreeBSD:12:amd64--
FreeBSD:12:armv6-4.1.2_1
FreeBSD:12:armv7-4.1.2_1
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips64-4.1.2_1
FreeBSD:12:powerpc64-4.1.2_1
FreeBSD:13:aarch644.1.2_1-
FreeBSD:13:amd64--
FreeBSD:13:armv64.1.2_14.1.2_1
FreeBSD:13:armv74.1.2_1-
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc644.1.2_1-
FreeBSD:14:aarch64--
FreeBSD:14:amd64--
FreeBSD:14:armv64.1.2_1-
FreeBSD:14:armv74.1.2_1-
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc644.1.2_1-
 
py38-cbor2
ABIlatestquarterly
FreeBSD:11:aarch64--
FreeBSD:11:amd644.1.2_14.1.2_1
FreeBSD:11:armv6--
FreeBSD:11:i3864.1.2_14.1.2_1
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64-4.1.2_1
FreeBSD:12:amd644.1.2_14.1.2_1
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i3864.1.2_14.1.2_1
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64-4.1.2_1
FreeBSD:13:amd644.1.2_14.1.2_1
FreeBSD:13:armv6--
FreeBSD:13:armv7-4.1.2_1
FreeBSD:13:i3864.1.2_14.1.2_1
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64-4.1.2_1
FreeBSD:14:aarch644.1.2_1-
FreeBSD:14:amd644.1.2_1-
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i3864.1.2_1-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py38-setuptools_scm>=1.7.0 : devel/py-setuptools_scm@py38
  2. py38-setuptools>0 : devel/py-setuptools@py38
  3. python3.8 : lang/python38
Runtime dependencies:
  1. py38-setuptools>0 : devel/py-setuptools@py38
  2. python3.8 : lang/python38
This port is required by:
for Run
  1. security/py-webauthn
  2. www/py-autobahn

Configuration Options:
Options name:

USES:

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: 8

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  4.1.2_1
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
28 Dec 2020 23:02:15
Original commit files touched by this commit Revision:559531  4.1.2_1
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
18 May 2019 15:46:37
Original commit files touched by this commit Revision:501964  4.1.2_1
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)
10 Feb 2019 00:08:37
Original commit files touched by this commit Revision:492575  4.1.2
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
11 Dec 2018 16:12:55
Original commit files touched by this commit Revision:487240  4.1.2
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)
09 Aug 2018 10:42:43
Original commit files touched by this commit Revision:476734  4.1.0
dvl search for other commits by this committer
Remove commented out code which was never used.

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

Reported by:	pkg-fallout
02 Aug 2018 15:26:02
Original commit files touched by this commit Revision:476240  4.1.0
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: 8