pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/chat/py-matrix-nio



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Feb 11 19:46:02 UTC 2024

Modified Files:
        pkgsrc/chat/py-matrix-nio: Makefile PLIST distinfo
Removed Files:
        pkgsrc/chat/py-matrix-nio/patches: patch-setup.py

Log Message:
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 rules


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/chat/py-matrix-nio/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/chat/py-matrix-nio/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/chat/py-matrix-nio/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/chat/py-matrix-nio/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/chat/py-matrix-nio/Makefile
diff -u pkgsrc/chat/py-matrix-nio/Makefile:1.3 pkgsrc/chat/py-matrix-nio/Makefile:1.4
--- pkgsrc/chat/py-matrix-nio/Makefile:1.3      Tue Nov  7 22:37:57 2023
+++ pkgsrc/chat/py-matrix-nio/Makefile  Sun Feb 11 19:46:01 2024
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2023/11/07 22:37:57 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2024/02/11 19:46:01 adam Exp $
 
-DISTNAME=      matrix-nio-0.18.7
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+DISTNAME=      matrix_nio-0.24.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    chat devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/matrix-nio/}
 
@@ -10,26 +10,24 @@ HOMEPAGE=   https://github.com/poljar/matr
 COMMENT=       Matrix client library for Python
 LICENSE=       isc
 
-DEPENDS+=      ${PYPKGPREFIX}-aiofiles>=0.6.0:../../devel/py-aiofiles
-DEPENDS+=      ${PYPKGPREFIX}-aiohttp-socks>=0.6.0:../../www/py-aiohttp-socks
-DEPENDS+=      ${PYPKGPREFIX}-aiohttp>=3.7.4:../../www/py-aiohttp
+TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core>=1.0.0:../../devel/py-poetry-core
+DEPENDS+=      ${PYPKGPREFIX}-aiofiles>=23.1.0:../../devel/py-aiofiles
+DEPENDS+=      ${PYPKGPREFIX}-aiohttp>=3.9.0:../../www/py-aiohttp
+DEPENDS+=      ${PYPKGPREFIX}-aiohttp-socks>=0.8.4:../../www/py-aiohttp-socks
 DEPENDS+=      ${PYPKGPREFIX}-cryptodome>=3.10.1:../../security/py-cryptodome
-DEPENDS+=      ${PYPKGPREFIX}-future>=0.18.2:../../devel/py-future
-DEPENDS+=      ${PYPKGPREFIX}-h11>=0.12.0:../../www/py-h11
+DEPENDS+=      ${PYPKGPREFIX}-h11>=0.14.0:../../www/py-h11
 DEPENDS+=      ${PYPKGPREFIX}-h2>=4.0.0:../../www/py-h2
-DEPENDS+=      ${PYPKGPREFIX}-jsonschema>=3.2.0:../../textproc/py-jsonschema
-DEPENDS+=      ${PYPKGPREFIX}-logbook>=1.5.3:../../devel/py-logbook
+DEPENDS+=      ${PYPKGPREFIX}-jsonschema>=4.14.0:../../textproc/py-jsonschema
 DEPENDS+=      ${PYPKGPREFIX}-unpaddedbase64>=2.1.0:../../devel/py-unpaddedbase64
+# optional
+DEPENDS+=      ${PYPKGPREFIX}-atomicwrites>=1.4.0:../../devel/py-atomicwrites
+DEPENDS+=      ${PYPKGPREFIX}-cachetools>=4.2.1:../../devel/py-cachetools
 DEPENDS+=      ${PYPKGPREFIX}-olm>=3.2.2:../../security/py-olm
 DEPENDS+=      ${PYPKGPREFIX}-peewee>=3.14.4:../../databases/py-peewee
-DEPENDS+=      ${PYPKGPREFIX}-cachetools>=4.2.1:../../devel/py-cachetools
-DEPENDS+=      ${PYPKGPREFIX}-atomicwrites>=1.4.0:../../devel/py-atomicwrites
 
-# matrix-nio is only supported on python3
-PYTHON_VERSIONS_INCOMPATIBLE=  27 38
+USE_LANGUAGES= # none
 
-post-extract:
-       ${FIND} ${WRKSRC} -name '*.orig' | ${XARGS} ${RM} -f
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/chat/py-matrix-nio/PLIST
diff -u pkgsrc/chat/py-matrix-nio/PLIST:1.1 pkgsrc/chat/py-matrix-nio/PLIST:1.2
--- pkgsrc/chat/py-matrix-nio/PLIST:1.1 Tue Jan 25 13:07:32 2022
+++ pkgsrc/chat/py-matrix-nio/PLIST     Sun Feb 11 19:46:01 2024
@@ -1,9 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2022/01/25 13:07:32 ryoon 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.2 2024/02/11 19:46:01 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.md
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
 ${PYSITELIB}/nio/__init__.py
 ${PYSITELIB}/nio/__init__.pyc
 ${PYSITELIB}/nio/__init__.pyo
@@ -103,9 +102,6 @@ ${PYSITELIB}/nio/exceptions.pyo
 ${PYSITELIB}/nio/http.py
 ${PYSITELIB}/nio/http.pyc
 ${PYSITELIB}/nio/http.pyo
-${PYSITELIB}/nio/log.py
-${PYSITELIB}/nio/log.pyc
-${PYSITELIB}/nio/log.pyo
 ${PYSITELIB}/nio/monitors.py
 ${PYSITELIB}/nio/monitors.pyc
 ${PYSITELIB}/nio/monitors.pyo

Index: pkgsrc/chat/py-matrix-nio/distinfo
diff -u pkgsrc/chat/py-matrix-nio/distinfo:1.2 pkgsrc/chat/py-matrix-nio/distinfo:1.3
--- pkgsrc/chat/py-matrix-nio/distinfo:1.2      Tue Jan 25 18:30:25 2022
+++ pkgsrc/chat/py-matrix-nio/distinfo  Sun Feb 11 19:46:01 2024
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.2 2022/01/25 18:30:25 wiz Exp $
+$NetBSD: distinfo,v 1.3 2024/02/11 19:46:01 adam Exp $
 
-BLAKE2s (matrix-nio-0.18.7.tar.gz) = 868013319eb6f3698815a118b6ab0213810db0fd2c582fa2d9aa85117459cfd1
-SHA512 (matrix-nio-0.18.7.tar.gz) = 9fa8935cab499ba15659ccb9f63c86a9485816d9f3b1eed9379155c1cb2115d2f0a81878097fc9e55f172842939d449f8f8a495b566e3a607a81da24666a956a
-Size (matrix-nio-0.18.7.tar.gz) = 155811 bytes
-SHA1 (patch-setup.py) = 120393a9cc55906892b9f6cf3a4e7a8a10d60e0d
+BLAKE2s (matrix_nio-0.24.0.tar.gz) = 1e4b40218be27f62d08718a55b25e91d54e9c6ab11ba823d6cc80f7d9e7f1a11
+SHA512 (matrix_nio-0.24.0.tar.gz) = 08838bfa104865197f652f4424a91b28c731e7d408598261aadd83ab2e2a246d8f2d51e0fe6c0082ea7a2531600ba37ea25c710973278f97192d2d4dc4b7ecb3
+Size (matrix_nio-0.24.0.tar.gz) = 150552 bytes



Home | Main Index | Thread Index | Old Index