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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-exceptiongroup | 1.3.1 |
| OpenBSD | devel/py-exceptiongroup | 1.3.1p0 |
| NetBSD | devel/py-exceptiongroup | 1.3.1 |
| DragonFly | devel/py-exceptiongroup | 1.2.2 |
| MidnightBSD | devel/py-exceptiongroup | 1.2.1_1 |
| HardenedBSD | devel/py-exceptiongroup | 1.3.1 |
| GhostBSD | devel/py-exceptiongroup | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.3.1 | 1.3.1 | 1.0.4 | 1.3.0 | 1.3.1 |
| FreeBSD:14:quarterly | 1.3.1 | 1.3.1 | n/a | 1.3.0 | 1.3.1 |
| FreeBSD:15:latest | 1.3.1 | 1.3.1 | n/a | 1.3.0 | 1.3.0 |
| FreeBSD:15:quarterly | 1.3.1 | 1.3.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.3.1 | 1.3.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 1
${PYTHON_PKGNAMEPREFIX}flit-scm>=0: devel/py-flit-scm
The full lists below include those, and their dependencies in turn.
Build dependencies 18
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-flit-core
- devel/py-flit-scm
- devel/py-installer
- devel/py-packaging
- devel/py-pyproject-hooks
- devel/py-setuptools
- devel/py-setuptools-scm
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
Run dependencies 8
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| exceptiongroup-1.3.1.tar.gz | 30371 | 8b412432c6055b0b7d14c310000ae93352ed6754f70fa8f7c34141f91c4e3219 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.