py-matrix-nio: updated to 0.24.0 0.24.0 Miscellaneous Tasks * Update pre-commit hooks, fix issues with sphinx-lint * Add content to built-with-nio * Bump aiohttp from 3.8.6 to 3.9.0 * Support python3.12 * Bump pycryptodome from 3.19.0 to 3.19.1 0.23.0 Bug Fixes * Allow custom ToDeviceEvents via UnknownToDeviceEvent * Remove callback execution boilerplate + allow arbitrary callable/awaitable objects * Fix schemas for m.room.avatar and m.room.canonical_alias * Propagate asyncio.CancelledError in sync_forever Features * Introduce the DM room account data (m.direct) Miscellaneous Tasks * Update the nio-bot description * Don't manually build libolm during tests + pre-commit autoupdate * Bump aiohttp from 3.8.5 to 3.8.6 0.22.1 Bug Fixes * Fix ImportError from when e2e is not installed 0.22.0 Bug Fixes * Fix space handling to account for Matrix spec ambiguities. Features * Add a simple streamed response to download to files * Add get space hierarchy capability * Support for Token-Authenticated Registration * Add room_type to room_create API function to allow for custom room types Miscellaneous Tasks * Add .readthedocs.yaml v2 to support ReadTheDocs migration * Remove future dependency * Fix jsonschema deprecations * Replace cgi.parse_header() * Run pre-commit autoupdate to fix deprecation * Introduce ruff as a pre-commit hook + run on whole codebase * Update pre-commit hooks * Replace ALL type comments with type hints * Add pyupgrade, async, various flake8, Perflint, and more ruff linting rulesdiff -r1.3 -r1.4 pkgsrc/chat/py-matrix-nio/Makefile
(adam)
@@ -1,35 +1,33 @@ | @@ -1,35 +1,33 @@ | |||
1 | # $NetBSD: Makefile,v 1.3 2023/11/07 22:37:57 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.4 2024/02/11 19:46:01 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= matrix-nio-0.18.7 | 3 | DISTNAME= matrix_nio-0.24.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/} | |
5 | CATEGORIES= chat devel python | 5 | CATEGORIES= chat devel python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=m/matrix-nio/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=m/matrix-nio/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://github.com/poljar/matrix-nio | 9 | HOMEPAGE= https://github.com/poljar/matrix-nio | |
10 | COMMENT= Matrix client library for Python | 10 | COMMENT= Matrix client library for Python | |
11 | LICENSE= isc | 11 | LICENSE= isc | |
12 | 12 | |||
13 | DEPENDS+= ${PYPKGPREFIX}-aiofiles>=0.6.0:../../devel/py-aiofiles | 13 | TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core>=1.0.0:../../devel/py-poetry-core | |
14 | DEPENDS+= ${PYPKGPREFIX}-aiohttp-socks>=0.6.0:../../www/py-aiohttp-socks | 14 | DEPENDS+= ${PYPKGPREFIX}-aiofiles>=23.1.0:../../devel/py-aiofiles | |
15 | DEPENDS+= ${PYPKGPREFIX}-aiohttp>=3.7.4:../../www/py-aiohttp | 15 | DEPENDS+= ${PYPKGPREFIX}-aiohttp>=3.9.0:../../www/py-aiohttp | |
16 | DEPENDS+= ${PYPKGPREFIX}-aiohttp-socks>=0.8.4:../../www/py-aiohttp-socks | |||
16 | DEPENDS+= ${PYPKGPREFIX}-cryptodome>=3.10.1:../../security/py-cryptodome | 17 | DEPENDS+= ${PYPKGPREFIX}-cryptodome>=3.10.1:../../security/py-cryptodome | |
17 | DEPENDS+= ${PYPKGPREFIX}-future>=0.18.2:../../devel/py-future | 18 | DEPENDS+= ${PYPKGPREFIX}-h11>=0.14.0:../../www/py-h11 | |
18 | DEPENDS+= ${PYPKGPREFIX}-h11>=0.12.0:../../www/py-h11 | |||
19 | DEPENDS+= ${PYPKGPREFIX}-h2>=4.0.0:../../www/py-h2 | 19 | DEPENDS+= ${PYPKGPREFIX}-h2>=4.0.0:../../www/py-h2 | |
20 | DEPENDS+= ${PYPKGPREFIX}-jsonschema>=3.2.0:../../textproc/py-jsonschema | 20 | DEPENDS+= ${PYPKGPREFIX}-jsonschema>=4.14.0:../../textproc/py-jsonschema | |
21 | DEPENDS+= ${PYPKGPREFIX}-logbook>=1.5.3:../../devel/py-logbook | |||
22 | DEPENDS+= ${PYPKGPREFIX}-unpaddedbase64>=2.1.0:../../devel/py-unpaddedbase64 | 21 | DEPENDS+= ${PYPKGPREFIX}-unpaddedbase64>=2.1.0:../../devel/py-unpaddedbase64 | |
22 | # optional | |||
23 | DEPENDS+= ${PYPKGPREFIX}-atomicwrites>=1.4.0:../../devel/py-atomicwrites | |||
24 | DEPENDS+= ${PYPKGPREFIX}-cachetools>=4.2.1:../../devel/py-cachetools | |||
23 | DEPENDS+= ${PYPKGPREFIX}-olm>=3.2.2:../../security/py-olm | 25 | DEPENDS+= ${PYPKGPREFIX}-olm>=3.2.2:../../security/py-olm | |
24 | DEPENDS+= ${PYPKGPREFIX}-peewee>=3.14.4:../../databases/py-peewee | 26 | DEPENDS+= ${PYPKGPREFIX}-peewee>=3.14.4:../../databases/py-peewee | |
25 | DEPENDS+= ${PYPKGPREFIX}-cachetools>=4.2.1:../../devel/py-cachetools | |||
26 | DEPENDS+= ${PYPKGPREFIX}-atomicwrites>=1.4.0:../../devel/py-atomicwrites | |||
27 | 27 | |||
28 | # matrix-nio is only supported on python3 | 28 | USE_LANGUAGES= # none | |
29 | PYTHON_VERSIONS_INCOMPATIBLE= 27 38 | |||
30 | 29 | |||
31 | post-extract: | 30 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |
32 | ${FIND} ${WRKSRC} -name '*.orig' | ${XARGS} ${RM} -f | |||
33 | 31 | |||
34 | .include "../../lang/python/egg.mk" | 32 | .include "../../lang/python/wheel.mk" | |
35 | .include "../../mk/bsd.pkg.mk" | 33 | .include "../../mk/bsd.pkg.mk" |
@@ -1,19 +1,18 @@ | @@ -1,19 +1,18 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1 2022/01/25 13:07:32 ryoon Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2024/02/11 19:46:01 adam Exp $ | |
2 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 2 | ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.md | |
3 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 3 | ${PYSITELIB}/${WHEEL_INFODIR}/METADATA | |
4 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 4 | ${PYSITELIB}/${WHEEL_INFODIR}/RECORD | |
5 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | 5 | ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL | |
6 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |||
7 | ${PYSITELIB}/nio/__init__.py | 6 | ${PYSITELIB}/nio/__init__.py | |
8 | ${PYSITELIB}/nio/__init__.pyc | 7 | ${PYSITELIB}/nio/__init__.pyc | |
9 | ${PYSITELIB}/nio/__init__.pyo | 8 | ${PYSITELIB}/nio/__init__.pyo | |
10 | ${PYSITELIB}/nio/_compat.py | 9 | ${PYSITELIB}/nio/_compat.py | |
11 | ${PYSITELIB}/nio/_compat.pyc | 10 | ${PYSITELIB}/nio/_compat.pyc | |
12 | ${PYSITELIB}/nio/_compat.pyo | 11 | ${PYSITELIB}/nio/_compat.pyo | |
13 | ${PYSITELIB}/nio/api.py | 12 | ${PYSITELIB}/nio/api.py | |
14 | ${PYSITELIB}/nio/api.pyc | 13 | ${PYSITELIB}/nio/api.pyc | |
15 | ${PYSITELIB}/nio/api.pyo | 14 | ${PYSITELIB}/nio/api.pyo | |
16 | ${PYSITELIB}/nio/client/__init__.py | 15 | ${PYSITELIB}/nio/client/__init__.py | |
17 | ${PYSITELIB}/nio/client/__init__.pyc | 16 | ${PYSITELIB}/nio/client/__init__.pyc | |
18 | ${PYSITELIB}/nio/client/__init__.pyo | 17 | ${PYSITELIB}/nio/client/__init__.pyo | |
19 | ${PYSITELIB}/nio/client/async_client.py | 18 | ${PYSITELIB}/nio/client/async_client.py | |
@@ -93,29 +92,26 @@ ${PYSITELIB}/nio/events/presence.pyc | @@ -93,29 +92,26 @@ ${PYSITELIB}/nio/events/presence.pyc | |||
93 | ${PYSITELIB}/nio/events/presence.pyo | 92 | ${PYSITELIB}/nio/events/presence.pyo | |
94 | ${PYSITELIB}/nio/events/room_events.py | 93 | ${PYSITELIB}/nio/events/room_events.py | |
95 | ${PYSITELIB}/nio/events/room_events.pyc | 94 | ${PYSITELIB}/nio/events/room_events.pyc | |
96 | ${PYSITELIB}/nio/events/room_events.pyo | 95 | ${PYSITELIB}/nio/events/room_events.pyo | |
97 | ${PYSITELIB}/nio/events/to_device.py | 96 | ${PYSITELIB}/nio/events/to_device.py | |
98 | ${PYSITELIB}/nio/events/to_device.pyc | 97 | ${PYSITELIB}/nio/events/to_device.pyc | |
99 | ${PYSITELIB}/nio/events/to_device.pyo | 98 | ${PYSITELIB}/nio/events/to_device.pyo | |
100 | ${PYSITELIB}/nio/exceptions.py | 99 | ${PYSITELIB}/nio/exceptions.py | |
101 | ${PYSITELIB}/nio/exceptions.pyc | 100 | ${PYSITELIB}/nio/exceptions.pyc | |
102 | ${PYSITELIB}/nio/exceptions.pyo | 101 | ${PYSITELIB}/nio/exceptions.pyo | |
103 | ${PYSITELIB}/nio/http.py | 102 | ${PYSITELIB}/nio/http.py | |
104 | ${PYSITELIB}/nio/http.pyc | 103 | ${PYSITELIB}/nio/http.pyc | |
105 | ${PYSITELIB}/nio/http.pyo | 104 | ${PYSITELIB}/nio/http.pyo | |
106 | ${PYSITELIB}/nio/log.py | |||
107 | ${PYSITELIB}/nio/log.pyc | |||
108 | ${PYSITELIB}/nio/log.pyo | |||
109 | ${PYSITELIB}/nio/monitors.py | 105 | ${PYSITELIB}/nio/monitors.py | |
110 | ${PYSITELIB}/nio/monitors.pyc | 106 | ${PYSITELIB}/nio/monitors.pyc | |
111 | ${PYSITELIB}/nio/monitors.pyo | 107 | ${PYSITELIB}/nio/monitors.pyo | |
112 | ${PYSITELIB}/nio/responses.py | 108 | ${PYSITELIB}/nio/responses.py | |
113 | ${PYSITELIB}/nio/responses.pyc | 109 | ${PYSITELIB}/nio/responses.pyc | |
114 | ${PYSITELIB}/nio/responses.pyo | 110 | ${PYSITELIB}/nio/responses.pyo | |
115 | ${PYSITELIB}/nio/rooms.py | 111 | ${PYSITELIB}/nio/rooms.py | |
116 | ${PYSITELIB}/nio/rooms.pyc | 112 | ${PYSITELIB}/nio/rooms.pyc | |
117 | ${PYSITELIB}/nio/rooms.pyo | 113 | ${PYSITELIB}/nio/rooms.pyo | |
118 | ${PYSITELIB}/nio/schemas.py | 114 | ${PYSITELIB}/nio/schemas.py | |
119 | ${PYSITELIB}/nio/schemas.pyc | 115 | ${PYSITELIB}/nio/schemas.pyc | |
120 | ${PYSITELIB}/nio/schemas.pyo | 116 | ${PYSITELIB}/nio/schemas.pyo | |
121 | ${PYSITELIB}/nio/store/__init__.py | 117 | ${PYSITELIB}/nio/store/__init__.py |
@@ -1,6 +1,5 @@ | @@ -1,6 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.2 2022/01/25 18:30:25 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.3 2024/02/11 19:46:01 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (matrix-nio-0.18.7.tar.gz) = 868013319eb6f3698815a118b6ab0213810db0fd2c582fa2d9aa85117459cfd1 | 3 | BLAKE2s (matrix_nio-0.24.0.tar.gz) = 1e4b40218be27f62d08718a55b25e91d54e9c6ab11ba823d6cc80f7d9e7f1a11 | |
4 | SHA512 (matrix-nio-0.18.7.tar.gz) = 9fa8935cab499ba15659ccb9f63c86a9485816d9f3b1eed9379155c1cb2115d2f0a81878097fc9e55f172842939d449f8f8a495b566e3a607a81da24666a956a | 4 | SHA512 (matrix_nio-0.24.0.tar.gz) = 08838bfa104865197f652f4424a91b28c731e7d408598261aadd83ab2e2a246d8f2d51e0fe6c0082ea7a2531600ba37ea25c710973278f97192d2d4dc4b7ecb3 | |
5 | Size (matrix-nio-0.18.7.tar.gz) = 155811 bytes | 5 | Size (matrix_nio-0.24.0.tar.gz) = 150552 bytes | |
6 | SHA1 (patch-setup.py) = 120393a9cc55906892b9f6cf3a4e7a8a10d60e0d |