Date: Wednesday, September 8, 2021 @ 18:33:57 Author: anthraxx Revision: 1012945
archrelease: copy trunk to community-any Added: python-engineio/repos/community-any/PKGBUILD (from rev 1012944, python-engineio/trunk/PKGBUILD) Deleted: python-engineio/repos/community-any/PKGBUILD ----------+ PKGBUILD | 88 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-09-08 18:33:53 UTC (rev 1012944) +++ PKGBUILD 2021-09-08 18:33:57 UTC (rev 1012945) @@ -1,44 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> - -pkgname=python-engineio -pkgver=4.2.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=('02eaa5b03045ac1ba73dbcd8c7c7853526234afb61dee6de45ee18bdf3663a2f82f9a5c969fb679e3eb8ccfe5a959434d574c59648b23d3e8e876d22f90e0591') -b2sums=('140dd21e779fd89f4d94ee3d191f0b661fa9dab2fac86c1023039afbe83d5136206add52ad412148eff69e79c84b7a8ad1744b3b2c69e02a270373c8c4a38488') - -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 1012944, python-engineio/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-09-08 18:33:57 UTC (rev 1012945) @@ -0,0 +1,44 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> + +pkgname=python-engineio +pkgver=4.2.1 +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=('f0ea7cb0a34f49d2e3de58dc1038f41cda099fba0033af7020b9ccacd34fbf44fd1613ef14d4d05013dd99a2d35330769e6c3d2f532556fd39262229e40714f6') +b2sums=('0a634cec9f71a3b8659e5b07cc326fb3d7801c8a834248d6f2ea5a48bcd058f8d0b86c2e43c110ea18ef641e3ace273a2ebd20f350aec9360d38ffe0f32f2778') + +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: