[arch-commits] Commit in python-engineio/repos/community-any (3 files)

Levente Polyak anthraxx at archlinux.org
Wed Jan 20 21:12:25 UTC 2021


    Date: Wednesday, January 20, 2021 @ 21:12:25
  Author: anthraxx
Revision: 824012

archrelease: copy trunk to community-any

Added:
  python-engineio/repos/community-any/PKGBUILD
    (from rev 824011, python-engineio/trunk/PKGBUILD)
Deleted:
  python-engineio/repos/community-any/PKGBUILD
  python-engineio/repos/community-any/py39.patch

------------+
 PKGBUILD   |   96 +++++++++++++++++++++++++++--------------------------------
 py39.patch |   26 ---------------
 2 files changed, 44 insertions(+), 78 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-20 21:12:22 UTC (rev 824011)
+++ PKGBUILD	2021-01-20 21:12:25 UTC (rev 824012)
@@ -1,52 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgname=python-engineio
-pkgver=3.13.2
-pkgrel=3
-pkgdesc='Python implementation of the Engine.IO realtime server'
-url='https://github.com/miguelgrinberg/python-engineio'
-arch=('any')
-license=('MIT')
-depends=('python' 'python-six' 'python-urllib3' 'python-websocket-client' 'python-websockets')
-optdepends=('python-eventlet: eventlet driver'
-            'python-aiohttp: aiohttp driver'
-            'python-tornado: tornado driver'
-            'python-gevent: gevent driver'
-            'python-gevent-websocket: gevent driver')
-makedepends=('python-setuptools' 'python-sphinx' 'python-six' 'python-eventlet' 'python-aiohttp' 'python-tornado'
-             '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')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  patch -Np1 -i ../py39.patch
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-  python setup.py build
-  make -C docs man text SPHINXBUILD=sphinx-build
-}
-
-check() {
-  cd ${pkgname}-${pkgver}
-  python setup.py test
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  python setup.py install -O1 --root="${pkgdir}" --skip-build
-  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 docs/_build/text/*.txt -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 docs/_build/man/python-engineio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-engineio/repos/community-any/PKGBUILD (from rev 824011, python-engineio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-20 21:12:25 UTC (rev 824012)
@@ -0,0 +1,44 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=python-engineio
+pkgver=4.0.0
+pkgrel=1
+pkgdesc='Python implementation of the Engine.IO realtime server'
+url='https://github.com/miguelgrinberg/python-engineio'
+arch=('any')
+license=('MIT')
+depends=('python' 'python-six' 'python-urllib3' 'python-websocket-client' 'python-websockets')
+optdepends=('python-eventlet: eventlet driver'
+            'python-aiohttp: aiohttp driver'
+            'python-tornado: tornado driver'
+            'python-gevent: gevent driver'
+            'python-gevent-websocket: gevent driver')
+makedepends=('python-setuptools' 'python-sphinx' 'python-six' 'python-eventlet' 'python-aiohttp' 'python-tornado'
+             '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)
+sha512sums=('4d471bd00c8693505cca638cd2ac954ced02c77ccc516215b9f08a4f661aeabc997f92b8b9239abe3f6735d283245f830670dfbabd7c7aa9e07ccc80446963fb')
+b2sums=('21e608d4af9eb6ed1ce7a288e1e63179c8e443ffa5523069dfc39cda52dbb74f6f216634e71c55c0b32819a6bcbb1ef9106b98c1f0f0664e95182f9035d2c5ad')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  python setup.py build
+  make -C docs man text SPHINXBUILD=sphinx-build
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  python setup.py test
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  python setup.py install -O1 --root="${pkgdir}" --skip-build
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 docs/_build/text/*.txt -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 docs/_build/man/python-engineio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+}
+
+# vim: ts=2 sw=2 et:

Deleted: py39.patch
===================================================================
--- py39.patch	2021-01-20 21:12:22 UTC (rev 824011)
+++ py39.patch	2021-01-20 21:12:25 UTC (rev 824012)
@@ -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']
- 



More information about the arch-commits mailing list