Date: Saturday, November 16, 2019 @ 23:42:19 Author: anthraxx Revision: 529843
archrelease: copy trunk to community-any Added: python-engineio/repos/community-any/PKGBUILD (from rev 529842, python-engineio/trunk/PKGBUILD) Deleted: python-engineio/repos/community-any/PKGBUILD ----------+ PKGBUILD | 89 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-11-16 23:42:14 UTC (rev 529842) +++ PKGBUILD 2019-11-16 23:42:19 UTC (rev 529843) @@ -1,45 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> - -pkgname=python-engineio -pkgver=3.3.1 -pkgrel=2 -pkgdesc='Python implementation of the Engine.IO realtime server' -url='https://github.com/miguelgrinberg/python-engineio' -arch=('any') -license=('MIT') -depends=('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=(${pkgname}-${pkgver}.tar.gz::https://github.com/miguelgrinberg/python-engineio/archive/v${pkgver}.tar.gz) -sha256sums=('177371619e0fc4f062135e2caa0e14b52abe1e8767c28c000ed646939eede05c') -sha512sums=('d8328624034712a08c72f92c13295ecef21a2375504baab3ff0e3d2731cb442ad6b05df4a01fa698a289b1d802e5adc0b2bd657f01bba86a5fdad3e9708899e5') - -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" - rm -r "${pkgdir}"/usr/lib/python*/site-packages/tests -} - -# vim: ts=2 sw=2 et: Copied: python-engineio/repos/community-any/PKGBUILD (from rev 529842, python-engineio/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-11-16 23:42:19 UTC (rev 529843) @@ -0,0 +1,44 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> + +pkgname=python-engineio +pkgver=3.10.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-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) +sha256sums=('5d341c762eda03b68f7b8299add72ada7565747774ab9ec6b7faa03baa1da2f5') +sha512sums=('e76260db9a52fa655dc536594eb49c74055b246f6af98f989b7de823833058502ec764ae38b55c15917485a60f81a1d16d8bf98ddc58d624d401557d81eebee9') + +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: