Date: Monday, August 29, 2022 @ 21:35:32 Author: anthraxx Revision: 1286261
upgpkg: python-socketio 5.7.1-1 Modified: python-socketio/trunk/PKGBUILD ----------+ PKGBUILD | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-08-29 21:35:29 UTC (rev 1286260) +++ PKGBUILD 2022-08-29 21:35:32 UTC (rev 1286261) @@ -1,7 +1,7 @@ # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> pkgname=python-socketio -pkgver=5.6.0 +pkgver=5.7.1 pkgrel=1 pkgdesc='Python implementation of the Socket.IO realtime server' url='https://github.com/miguelgrinberg/python-socketio' @@ -8,17 +8,18 @@ arch=('any') license=('MIT') depends=('python' 'python-six' 'python-engineio' 'python-bidict' 'python-msgpack') -makedepends=('python-setuptools' 'python-sphinx' 'python-tornado') +makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel' + 'python-sphinx' 'python-tornado') optdepends=('python-tornado: tornado asyncio webserver') checkdepends=('python-pytest' 'python-mock') options=('!makeflags') source=(https://github.com/miguelgrinberg/python-socketio/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz) -sha512sums=('65512b5d81013b1af636dbf61ed27154796ce86d4a470ecb9a749e722aaf442030a88172cd9ce6600e5c1ebd7d838be8aa26fa5887f4252174020fc926d3a447') -b2sums=('1642053479c527d3019be67113eb57a6237aec9b6e3e3b58d5d0a5d0c5f2a20090fa2cc94b98b6036a3c96b744ab05ab3abf133e88ab629ceb7ecf2f7fc53794') +sha512sums=('0d2962aa10f1b2cef5a18f97aba32c015960d5aa70ada9ca4d63db18b24a68d08033036ed5f2b93f0d618bb946e7a792fdfcabca655b21b6aa479042bb07f43a') +b2sums=('aea56b52ef7f9bea12497e419818936d2fcc1b6feaaaa3eb289555d3e5219fffa7011ecd05603fbdd7c104b2795aa0b0f4941069e97f80c91f6978327aa823bb') build() { cd ${pkgbase}-${pkgver} - python setup.py build + python -m build --wheel --no-isolation make -C docs man text SPHINXBUILD=sphinx-build } @@ -29,7 +30,7 @@ package() { cd ${pkgbase}-${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.md -t "${pkgdir}/usr/share/doc/${pkgname}" install -Dm 644 docs/_build/text/index.txt "${pkgdir}/usr/share/doc/${pkgname}/DOCUMENTATION"
