BSD Ports

devel/py-exceptiongroup 1.3.1 FreeBSD

Backport of PEP 654 (exception groups)

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel, python
Package size
33.8 KiB, 141.9 KiB installed

Description

This is a backport of the BaseExceptionGroup and ExceptionGroup classes from Python 3.11.

It contains the following:

  • The exceptiongroup.BaseExceptionGroup and exceptiongroup.ExceptionGroup classes
  • A utility function (exceptiongroup.catch()) for catching exceptions possibly nested in an exception group
  • Patches to the TracebackException class that properly formats exception groups (installed on import)
  • An exception hook that handles formatting of exception groups through TracebackException (installed on import)

If this package is imported on Python 3.11 or later, the built-in implementations of the exception group classes are used instead, TracebackException is not monkey patched and the exception hook won't be installed.

In the other systems

SystemPortVersion
FreeBSDdevel/py-exceptiongroup1.3.1
OpenBSDdevel/py-exceptiongroup1.3.1p0
NetBSDdevel/py-exceptiongroup1.3.1
DragonFlydevel/py-exceptiongroup1.2.2
MidnightBSDdevel/py-exceptiongroup1.2.1_1
HardenedBSDdevel/py-exceptiongroup1.3.1
GhostBSDdevel/py-exceptiongroup1.3.1

Install

Binary package:

pkg install py312-exceptiongroup

From the ports tree:

cd /usr/ports/devel/py-exceptiongroup/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-exceptiongroup>0:devel/py-exceptiongroup

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.3.11.3.11.0.41.3.01.3.1
FreeBSD:14:quarterly1.3.11.3.1n/a1.3.01.3.1
FreeBSD:15:latest1.3.11.3.1n/a1.3.01.3.0
FreeBSD:15:quarterly1.3.11.3.1n/an/an/a
FreeBSD:16:latest1.3.11.3.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

The full lists below include those, and their dependencies in turn.

Build dependencies 18
Run dependencies 8

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
exceptiongroup-1.3.1.tar.gz303718b412432c6055b0b7d14c310000ae93352ed6754f70fa8f7c34141f91c4e3219
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.