Date: Tuesday, July 19, 2022 @ 20:59:53 Author: arojas Revision: 1254741
archrelease: copy trunk to community-any Added: python-flask-socketio/repos/community-any/PKGBUILD (from rev 1254740, python-flask-socketio/trunk/PKGBUILD) Deleted: python-flask-socketio/repos/community-any/PKGBUILD ----------+ PKGBUILD | 80 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-07-19 20:59:44 UTC (rev 1254740) +++ PKGBUILD 2022-07-19 20:59:53 UTC (rev 1254741) @@ -1,40 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> - -pkgname=python-flask-socketio -_pkgname=Flask-SocketIO -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' '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=('12510b0d853a03d613782a7ed23cf791a3c6c5f8c55e78308c3e635be22384ba7bb207811846d14252fcf4ff21ab42c27f6390382baabf393f1eba24b6a80861') -b2sums=('4a6a8fffcf27b350616ee4017569b2d55cb352d4b3d71739aee4e872e016e6adc349bf3e79f3b3fcc20e63ab1bec4ebf08776fa32a8972a0d2769672cc448e5f') - -build() { - cd ${_pkgname}-${pkgver} - python -m build --wheel --no-isolation - make -C docs man text SPHINXBUILD=sphinx-build -} - -check() { - cd ${_pkgname}-${pkgver} - PYTHONPATH="build/lib" pytest test_socketio.py -} - -package() { - cd ${_pkgname}-${pkgver} - 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}" - install -Dm 644 docs/_build/man/flask-socketio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1" -} - -# vim: ts=2 sw=2 et: Copied: python-flask-socketio/repos/community-any/PKGBUILD (from rev 1254740, python-flask-socketio/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-07-19 20:59:53 UTC (rev 1254741) @@ -0,0 +1,40 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> + +pkgname=python-flask-socketio +_pkgname=Flask-SocketIO +pkgver=5.2.0 +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' 'python-build' 'python-installer' 'python-wheel') +checkdepends=('python-coverage' 'python-pytest' 'python-tox-current-env' 'flake8' 'python-redis') +options=('!makeflags') +source=(https://github.com/miguelgrinberg/Flask-SocketIO/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha512sums=('4e68280988787b6d2b9860cb27a65a5ee6d8ceaa2462ea10e7fc08ce180d6c4a53f2746f18e1c04eb6cb0f0428499a6ee3bb41fca9740a76ee77785018c5b887') +b2sums=('d300ce88e40a5c3748ff364bd6ae6edd42aaa6d94c9b4f8725cbe66cbbb3c57b0856d3d34117c37af9b820738f7b1781719c9aafb85fb3706dc7546d8aabb8e9') + +build() { + cd ${_pkgname}-${pkgver} + python -m build --wheel --no-isolation + make -C docs man text SPHINXBUILD=sphinx-build +} + +check() { + cd ${_pkgname}-${pkgver} + PYTHONPATH="build/lib" pytest test_socketio.py +} + +package() { + cd ${_pkgname}-${pkgver} + 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}" + install -Dm 644 docs/_build/man/flask-socketio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1" +} + +# vim: ts=2 sw=2 et: