[arch-commits] Commit in python-engineio/trunk (PKGBUILD)

Levente Polyak anthraxx at gemini.archlinux.org
Mon Aug 29 21:33:38 UTC 2022


    Date: Monday, August 29, 2022 @ 21:33:38
  Author: anthraxx
Revision: 1286248

upgpkg: python-engineio 4.3.4-1

Modified:
  python-engineio/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-29 21:33:35 UTC (rev 1286247)
+++ PKGBUILD	2022-08-29 21:33:38 UTC (rev 1286248)
@@ -1,13 +1,13 @@
 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
 
 pkgname=python-engineio
-pkgver=4.3.2
+pkgver=4.3.4
 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')
+depends=('python' 'python-six' 'python-urllib3' 'python-websocket-client' 'python-websockets' 'python-requests')
 optdepends=('python-eventlet: eventlet driver'
             'python-aiohttp: aiohttp driver'
             'python-tornado: tornado driver'
@@ -14,16 +14,17 @@
             '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')
+             'python-urllib3' 'python-websocket-client' 'python-gevent' 'python-gevent-websocket' 'python-websockets'
+             'python-build' 'python-installer' 'python-wheel')
 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=('59933a0093167042a3873ba1561d2859359a5ad160f6b7b5c19478b1f73d1bd068779942c8bfc44dd5a8d9f155359571298b960bcd217aab341bdfec35bc5b28')
-b2sums=('87dece98d72b7b0384e3b9d57062a3eaa7aeb80ac3f2f685d50b8816e122398ffd54da1f4b99a90a1f535e2d0f0d282167a682de022373e6108f7e91f8689aa1')
+sha512sums=('427f224ae24d939d55316931cd087676741195d578415224de291f9871b535fdd02b835ac32a65d73be0428c8c4be0414faefca06a4964b1fe34e2ac91b02694')
+b2sums=('78488fb7deb54136a255b1027e52e1869e7d09b38769d3dd144b26146ac8db58091238c3f1cfa81d4c29af4d1bd8bb998559756053e53f6c7876c2866da31575')
 
 build() {
   cd ${pkgname}-${pkgver}
-  python setup.py build
+  python -m build --wheel --no-isolation
   make -C docs man text SPHINXBUILD=sphinx-build
 }
 
@@ -34,7 +35,7 @@
 
 package() {
   cd ${pkgname}-${pkgver}
-  python setup.py install -O1 --root="${pkgdir}" --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
   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}"



More information about the arch-commits mailing list