py-trio: update to 0.23.1.

0.23.1

    Don't crash on import in Anaconda interpreters. (#2855)

0.23.0

    Add type hints. (#543)

0.22.2

    Fix PermissionError when importing trio due to trying to access pthread. (#2688)
This commit is contained in:
wiz 2023-11-07 10:44:10 +00:00
parent 8b2eac575f
commit 46e7934237
3 changed files with 27 additions and 30 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.11 2023/07/17 14:40:14 adam Exp $
# $NetBSD: Makefile,v 1.12 2023/11/07 10:44:10 wiz Exp $
DISTNAME= trio-0.22.2
DISTNAME= trio-0.23.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/trio/}
@ -10,6 +10,8 @@ HOMEPAGE= https://github.com/python-trio/trio
COMMENT= Friendly Python library for async concurrency and I/O
LICENSE= mit OR apache-2.0
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
DEPENDS+= ${PYPKGPREFIX}-attrs>=20.1.0:../../devel/py-attrs
DEPENDS+= ${PYPKGPREFIX}-idna>=0:../../www/py-idna
DEPENDS+= ${PYPKGPREFIX}-outcome>=0:../../devel/py-outcome
@ -17,14 +19,14 @@ DEPENDS+= ${PYPKGPREFIX}-sniffio>=0:../../misc/py-sniffio
DEPENDS+= ${PYPKGPREFIX}-sortedcontainers>=0:../../devel/py-sortedcontainers
TEST_DEPENDS+= ${PYPKGPREFIX}-astor>=0.8.1:../../devel/py-astor
TEST_DEPENDS+= ${PYPKGPREFIX}-async_generator>=0:../../devel/py-async_generator
TEST_DEPENDS+= ${PYPKGPREFIX}-black-[0-9]*:../../textproc/py-black
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
# recursive dependency, but adding it makes testing just fail differently
#TEST_DEPENDS+= ${PYPKGPREFIX}-test-trio-[0-9]*:../../devel/py-test-trio
TEST_DEPENDS+= ${PYPKGPREFIX}-trustme-[0-9]*:../../security/py-trustme
USE_LANGUAGES= # none
# for tests
USE_LANGUAGES= c
PYTHON_VERSIONS_INCOMPATIBLE= 27
@ -34,15 +36,7 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
DEPENDS+= ${PYPKGPREFIX}-exceptiongroup>=1.0.0:../../devel/py-exceptiongroup
.endif
# needs 'make install'
# without py-test-trio
# 474 failed, 163 passed, 27 skipped, 47 errors
# with:
# testing doesn't start
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../lang/python/wheel.mk"
PYTHON_VERSIONED_DEPENDENCIES+= OpenSSL:test
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,9 +1,11 @@
@comment $NetBSD: PLIST,v 1.4 2023/07/05 22:29:29 wiz Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
@comment $NetBSD: PLIST,v 1.5 2023/11/07 10:44:10 wiz Exp $
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.APACHE2
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.MIT
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/trio/__init__.py
${PYSITELIB}/trio/__init__.pyc
${PYSITELIB}/trio/__init__.pyo
@ -109,15 +111,9 @@ ${PYSITELIB}/trio/_core/_tests/test_multierror_scripts/_common.pyo
${PYSITELIB}/trio/_core/_tests/test_multierror_scripts/apport_excepthook.py
${PYSITELIB}/trio/_core/_tests/test_multierror_scripts/apport_excepthook.pyc
${PYSITELIB}/trio/_core/_tests/test_multierror_scripts/apport_excepthook.pyo
${PYSITELIB}/trio/_core/_tests/test_multierror_scripts/ipython_custom_exc.py
${PYSITELIB}/trio/_core/_tests/test_multierror_scripts/ipython_custom_exc.pyc
${PYSITELIB}/trio/_core/_tests/test_multierror_scripts/ipython_custom_exc.pyo
${PYSITELIB}/trio/_core/_tests/test_multierror_scripts/simple_excepthook.py
${PYSITELIB}/trio/_core/_tests/test_multierror_scripts/simple_excepthook.pyc
${PYSITELIB}/trio/_core/_tests/test_multierror_scripts/simple_excepthook.pyo
${PYSITELIB}/trio/_core/_tests/test_multierror_scripts/simple_excepthook_IPython.py
${PYSITELIB}/trio/_core/_tests/test_multierror_scripts/simple_excepthook_IPython.pyc
${PYSITELIB}/trio/_core/_tests/test_multierror_scripts/simple_excepthook_IPython.pyo
${PYSITELIB}/trio/_core/_tests/test_parking_lot.py
${PYSITELIB}/trio/_core/_tests/test_parking_lot.pyc
${PYSITELIB}/trio/_core/_tests/test_parking_lot.pyo
@ -322,6 +318,9 @@ ${PYSITELIB}/trio/_tests/tools/__init__.pyo
${PYSITELIB}/trio/_tests/tools/test_gen_exports.py
${PYSITELIB}/trio/_tests/tools/test_gen_exports.pyc
${PYSITELIB}/trio/_tests/tools/test_gen_exports.pyo
${PYSITELIB}/trio/_tests/tools/test_mypy_annotate.py
${PYSITELIB}/trio/_tests/tools/test_mypy_annotate.pyc
${PYSITELIB}/trio/_tests/tools/test_mypy_annotate.pyo
${PYSITELIB}/trio/_threads.py
${PYSITELIB}/trio/_threads.pyc
${PYSITELIB}/trio/_threads.pyo
@ -334,6 +333,9 @@ ${PYSITELIB}/trio/_tools/__init__.pyo
${PYSITELIB}/trio/_tools/gen_exports.py
${PYSITELIB}/trio/_tools/gen_exports.pyc
${PYSITELIB}/trio/_tools/gen_exports.pyo
${PYSITELIB}/trio/_tools/mypy_annotate.py
${PYSITELIB}/trio/_tools/mypy_annotate.pyc
${PYSITELIB}/trio/_tools/mypy_annotate.pyo
${PYSITELIB}/trio/_unix_pipes.py
${PYSITELIB}/trio/_unix_pipes.pyc
${PYSITELIB}/trio/_unix_pipes.pyo
@ -358,6 +360,7 @@ ${PYSITELIB}/trio/from_thread.pyo
${PYSITELIB}/trio/lowlevel.py
${PYSITELIB}/trio/lowlevel.pyc
${PYSITELIB}/trio/lowlevel.pyo
${PYSITELIB}/trio/py.typed
${PYSITELIB}/trio/socket.py
${PYSITELIB}/trio/socket.pyc
${PYSITELIB}/trio/socket.pyo

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.6 2023/07/17 14:40:14 adam Exp $
$NetBSD: distinfo,v 1.7 2023/11/07 10:44:10 wiz Exp $
BLAKE2s (trio-0.22.2.tar.gz) = dcc41217642d96881db657b6ba7e9b5cae605e44670f660d892bf4d4cd70cc91
SHA512 (trio-0.22.2.tar.gz) = c6c16207eea39d8ed4ff0c50ce1815cbc70c6a0d6d6078ef978976454ea113f0af9d108856d7c03ab7fb6c6097561c155ece5bf82762f443aa037239593ac3e6
Size (trio-0.22.2.tar.gz) = 487602 bytes
BLAKE2s (trio-0.23.1.tar.gz) = 0ef3eafe9a74c468057072dc220c36376772e3d2b59d9c136b85207ed5ec2be2
SHA512 (trio-0.23.1.tar.gz) = 6d3e71da39ae8945212529dcaac6487459059feb88e28aa99533ff91dd24de49f00453aa53a0747110cbe572c600eed7dbd975389fe9b7d06eff65af700a4b82
Size (trio-0.23.1.tar.gz) = 535860 bytes