Date: Wednesday, January 20, 2021 @ 21:12:22 Author: anthraxx Revision: 824011
upgpkg: python-engineio 4.0.0-1 Modified: python-engineio/trunk/PKGBUILD Deleted: python-engineio/trunk/py39.patch ------------+ PKGBUILD | 18 +++++------------- py39.patch | 26 -------------------------- 2 files changed, 5 insertions(+), 39 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-01-20 21:08:35 UTC (rev 824010) +++ PKGBUILD 2021-01-20 21:12:22 UTC (rev 824011) @@ -1,8 +1,8 @@ # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> pkgname=python-engineio -pkgver=3.13.2 -pkgrel=3 +pkgver=4.0.0 +pkgrel=1 pkgdesc='Python implementation of the Engine.IO realtime server' url='https://github.com/miguelgrinberg/python-engineio' arch=('any') @@ -17,18 +17,10 @@ 'python-urllib3' 'python-websocket-client' 'python-gevent' 'python-gevent-websocket' 'python-websockets') checkdepends=('python-mock' 'python-pytest' 'python-pytest-runner') options=('!makeflags') -source=(https://github.com/miguelgrinberg/python-engineio/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz - py39.patch) -sha512sums=('712b7f9646d0a8aa470d0f373ccfa4baf4e37eba6583def4325037a33e066819f3dbcb8cc6544ba2878a784e8ca22f67f490a7aa18f6c8f45c660900a1946561' - 'bdaf8f8f76c527a56000dac427c062b2be484381b3e1e05ec16a7c8f7b7fad8f07c16552c07dc08c002fb5067defa03de7dd8420e82289ea3ce836c9d88765dc') -b2sums=('5b63d660ba82f94dd784f5aea7e651a05cf914049ab99f9aef36972efbe4978832f7225e7d77098d5319f437ac77216c44d11efa5f353745b8d4c285c24560e8' - '561bd0711b97c872b7f410a05f0bd5f65085eec27ee996b1491c9750d1bdc410ac38629a8717f1c5eb67897dd48da5664562d98e7a664271b1f65c4f6f4faac5') +source=(https://github.com/miguelgrinberg/python-engineio/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha512sums=('4d471bd00c8693505cca638cd2ac954ced02c77ccc516215b9f08a4f661aeabc997f92b8b9239abe3f6735d283245f830670dfbabd7c7aa9e07ccc80446963fb') +b2sums=('21e608d4af9eb6ed1ce7a288e1e63179c8e443ffa5523069dfc39cda52dbb74f6f216634e71c55c0b32819a6bcbb1ef9106b98c1f0f0664e95182f9035d2c5ad') -prepare() { - cd ${pkgname}-${pkgver} - patch -Np1 -i ../py39.patch -} - build() { cd ${pkgname}-${pkgver} python setup.py build Deleted: py39.patch =================================================================== --- py39.patch 2021-01-20 21:08:35 UTC (rev 824010) +++ py39.patch 2021-01-20 21:12:22 UTC (rev 824011) @@ -1,26 +0,0 @@ -diff --git a/tests/asyncio/test_asyncio_client.py b/tests/asyncio/test_asyncio_client.py -index d34fd05..c47238d 100644 ---- a/tests/asyncio/test_asyncio_client.py -+++ b/tests/asyncio/test_asyncio_client.py -@@ -241,7 +241,7 @@ class TestAsyncClient(unittest.TestCase): - - c = asyncio_client.AsyncClient() - c.start_background_task(foo, 'bar') -- pending = asyncio.Task.all_tasks() -+ pending = asyncio.all_tasks(loop=asyncio.get_event_loop()) - asyncio.get_event_loop().run_until_complete(asyncio.wait(pending)) - assert r == ['bar'] - -diff --git a/tests/asyncio/test_asyncio_server.py b/tests/asyncio/test_asyncio_server.py -index 2faecca..5f9272a 100644 ---- a/tests/asyncio/test_asyncio_server.py -+++ b/tests/asyncio/test_asyncio_server.py -@@ -1004,7 +1004,7 @@ class TestAsyncServer(unittest.TestCase): - - s = asyncio_server.AsyncServer() - s.start_background_task(foo, 'bar') -- pending = asyncio.Task.all_tasks() -+ pending = asyncio.all_tasks(loop=asyncio.get_event_loop()) - asyncio.get_event_loop().run_until_complete(asyncio.wait(pending)) - assert r == ['bar'] -
