[arch-commits] Commit in python-engineio/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 20:38:36 UTC 2020
Date: Monday, November 9, 2020 @ 20:38:36
Author: foutrelis
Revision: 748217
archrelease: copy trunk to community-staging-any
Added:
python-engineio/repos/community-staging-any/
python-engineio/repos/community-staging-any/PKGBUILD
(from rev 748216, python-engineio/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: python-engineio/repos/community-staging-any/PKGBUILD (from rev 748216, python-engineio/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 20:38:36 UTC (rev 748217)
@@ -0,0 +1,44 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=python-engineio
+pkgver=3.13.2
+pkgrel=2
+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=('712b7f9646d0a8aa470d0f373ccfa4baf4e37eba6583def4325037a33e066819f3dbcb8cc6544ba2878a784e8ca22f67f490a7aa18f6c8f45c660900a1946561')
+b2sums=('5b63d660ba82f94dd784f5aea7e651a05cf914049ab99f9aef36972efbe4978832f7225e7d77098d5319f437ac77216c44d11efa5f353745b8d4c285c24560e8')
+
+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:
More information about the arch-commits
mailing list