AnyIO is a asynchronous compatibility API that allows applications and libraries
written against it to run unmodified on asyncio, curio and trio.
It bridges the following functionality:
- Task groups
- Cancellation
- Threads
- Signal handling
- Asynchronous file I/O
- Subprocesses
- Inter-task synchronization and communication (locks, conditions, events,
semaphores, object streams)
- High level networking (TCP, UDP and UNIX sockets)
You can even use it together with native libraries from your selected backend in
applications. Doing this in libraries is not advisable however since it limits
the usefulness of your library.
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 py312-anyio3 listed in the above command, you can pick from the names under the Packages section.
===> The following configuration options are available for py312-anyio3-3.7.1:
TRIO=off: Use trio as backend
===> Use 'make config' to modify these settings
Mk/Uses/python.mk: Introduce PY_EXCEPTIONGROUP
The minimal version is set to 1.1.1 because it is required by devel/py-cattrs.
Convert ports to use PY_EXCEPTIONGROUP to simplify Makefile.
With hat: python
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