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

Levente Polyak anthraxx at gemini.archlinux.org
Thu Feb 24 22:34:50 UTC 2022


    Date: Thursday, February 24, 2022 @ 22:34:50
  Author: anthraxx
Revision: 1136517

upgpkg: python-flask-socketio 5.1.1-1

Modified:
  python-flask-socketio/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-24 22:20:14 UTC (rev 1136516)
+++ PKGBUILD	2022-02-24 22:34:50 UTC (rev 1136517)
@@ -2,34 +2,35 @@
 
 pkgname=python-flask-socketio
 _pkgname=Flask-SocketIO
-pkgver=5.1.0
-pkgrel=3
+pkgver=5.1.1
+pkgrel=1
 pkgdesc='Socket.IO integration for Flask applications'
 url='https://flask-socketio.readthedocs.org/'
 arch=('any')
 license=('MIT')
 depends=('python' 'python-flask' 'python-eventlet' 'python-socketio')
-makedepends=('python-setuptools' 'python-sphinx')
-checkdepends=('python-coverage' 'python-pytest')
+makedepends=('python-setuptools' 'python-sphinx' 'python-build' 'python-installer' 'python-wheel')
+checkdepends=('python-coverage' 'python-pytest' 'python-tox-current-env' 'flake8')
 options=('!makeflags')
 source=(https://github.com/miguelgrinberg/Flask-SocketIO/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('701279d7cb98305e92a96950e9c91e06ba6528faea136c62bedd1882dfc39b9dad0b30b80c8138289933fed74d2b2949fb9236adb0ea8bf5d96ba7fd487c6a44')
-b2sums=('2306f1f886bbbec9b3dbe6ef6f93df7727adb3f486ea23c42b74949807439d738bc5523020e97a654bb23a19b648e10d26410edc6b767c3ae8f09441e3058b1c')
+sha512sums=('12510b0d853a03d613782a7ed23cf791a3c6c5f8c55e78308c3e635be22384ba7bb207811846d14252fcf4ff21ab42c27f6390382baabf393f1eba24b6a80861')
+b2sums=('4a6a8fffcf27b350616ee4017569b2d55cb352d4b3d71739aee4e872e016e6adc349bf3e79f3b3fcc20e63ab1bec4ebf08776fa32a8972a0d2769672cc448e5f')
 
 build() {
   cd ${_pkgname}-${pkgver}
-  python setup.py build
+  python -m build --wheel --no-isolation
   make -C docs man text SPHINXBUILD=sphinx-build
 }
 
 check() {
   cd ${_pkgname}-${pkgver}
-  py.test test_socketio.py
+  PYTHONPATH="build/lib" pytest test_socketio.py
 }
 
 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.md -t "${pkgdir}/usr/share/doc/${pkgname}"
   install -Dm 644 docs/_build/text/index.txt -t "${pkgdir}/usr/share/doc/${pkgname}"



More information about the arch-commits mailing list