bf13fcf60c
Trio 0.22.0 (2022-09-28) ------------------------ Headline features ~~~~~~~~~~~~~~~~~ - ``MultiError`` has been deprecated in favor of the standard :exc:`BaseExceptionGroup` (introduced in :pep:`654`). On Python versions below 3.11, this exception and its derivative :exc:`ExceptionGroup` are provided by the backport_. Trio still raises ``MultiError``, but it has been refactored into a subclass of :exc:`BaseExceptionGroup` which users should catch instead of ``MultiError``. Uses of the ``MultiError.filter()`` class method should be replaced with :meth:`BaseExceptionGroup.split`. Uses of the ``MultiError.catch()`` class method should be replaced with either ``except*`` clauses (on Python 3.11+) or the ``exceptiongroup.catch()`` context manager provided by the backport_. See the :ref:`updated documentation <exceptiongroups>` for details. Features ~~~~~~~~ - Added support for `Datagram TLS <https://en.wikipedia.org/wiki/Datagram_Transport_Layer_Security>`__, for secure communication over UDP. Currently requires `PyOpenSSL <https://pypi.org/p/pyopenssl>`__.
40 lines
1.5 KiB
Makefile
40 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.7 2022/11/15 09:49:38 adam Exp $
|
|
|
|
DISTNAME= trio-0.22.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=t/trio/}
|
|
|
|
MAINTAINER= kamelderouiche@yahoo.com
|
|
HOMEPAGE= https://github.com/python-trio/trio
|
|
COMMENT= Friendly Python library for async concurrency and I/O
|
|
LICENSE= mit OR apache-2.0
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-async_generator>=1.9:../../devel/py-async_generator
|
|
DEPENDS+= ${PYPKGPREFIX}-attrs>=19.2.0:../../devel/py-attrs
|
|
DEPENDS+= ${PYPKGPREFIX}-idna>=2.10:../../www/py-idna
|
|
DEPENDS+= ${PYPKGPREFIX}-outcome>=1.1.0:../../devel/py-outcome
|
|
DEPENDS+= ${PYPKGPREFIX}-sniffio>=1.2.0:../../misc/py-sniffio
|
|
DEPENDS+= ${PYPKGPREFIX}-sortedcontainers>=2.2.2:../../devel/py-sortedcontainers
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-astor>=0.8.1:../../devel/py-astor
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-jedi-[0-9]*:../../editors/py-jedi
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-pylint-[0-9]*:../../devel/py-pylint
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-trustme-[0-9]*:../../security/py-trustme
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
.if ${_PYTHON_VERSION} < 311
|
|
DEPENDS+= ${PYPKGPREFIX}-exceptiongroup>=1.0.0:../../devel/py-exceptiongroup
|
|
.endif
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
PYTHON_VERSIONED_DEPENDENCIES+= OpenSSL:test
|
|
.include "../../lang/python/versioned_dependencies.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|