Date: Monday, June 7, 2021 @ 19:31:42 Author: anthraxx Revision: 958086
archrelease: copy trunk to community-any Added: python-engineio/repos/community-any/PKGBUILD (from rev 958085, python-engineio/trunk/PKGBUILD) Deleted: python-engineio/repos/community-any/PKGBUILD ----------+ PKGBUILD | 88 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-06-07 19:31:38 UTC (rev 958085) +++ PKGBUILD 2021-06-07 19:31:42 UTC (rev 958086) @@ -1,44 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> - -pkgname=python-engineio -pkgver=4.1.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=('5dea0ffc24138664216eefd6f917280d6199e4c2661a2e41622bb7f4cf03467d60d555e5c28ba23c35f59ae8b549902d235308242bbc5607ac91fd61580e0c4f') -b2sums=('5ab267aba4dc6e49d26166b661da5b40961d328efb92dbcb653a405f62956f33b28dbf48cd891d0e74314da998be477f917dd6eabdf154877cd80077e4172c9f') - -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/1/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 958085, python-engineio/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-06-07 19:31:42 UTC (rev 958086) @@ -0,0 +1,44 @@ +# 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: