[arch-commits] Commit in python-socketio/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Nov 10 03:59:25 UTC 2020


    Date: Tuesday, November 10, 2020 @ 03:59:25
  Author: felixonmars
Revision: 748318

archrelease: copy trunk to community-staging-any

Added:
  python-socketio/repos/community-staging-any/
  python-socketio/repos/community-staging-any/PKGBUILD
    (from rev 748313, python-socketio/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: python-socketio/repos/community-staging-any/PKGBUILD (from rev 748313, python-socketio/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 03:59:25 UTC (rev 748318)
@@ -0,0 +1,39 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=python-socketio
+pkgver=4.6.0
+pkgrel=2
+pkgdesc='Python implementation of the Socket.IO realtime server'
+url='https://github.com/miguelgrinberg/python-socketio'
+arch=('any')
+license=('MIT')
+depends=('python' 'python-six' 'python-engineio')
+makedepends=('python-setuptools' 'python-sphinx' 'python-tornado')
+optdepends=('python-tornado: tornado asyncio webserver')
+checkdepends=('python-pytest' 'python-mock')
+options=('!makeflags')
+source=(https://github.com/miguelgrinberg/python-socketio/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('715f0529c44c8c2d895fdc8430acc80b37d8cf772be09bb37d215a85be11e3c2853b7d2cfb0836930695c18db5df6f5b54eb945d84db5980830c8e0773e972da')
+b2sums=('6148e661a21bb0076046d3ce35a9c18e2d9dd0fc50b7abef6f3446ba829a925812d1127f967bf709b6fbce3089143588c595d1c92e348e53c9ad1cebf9e31b11')
+
+build() {
+  cd ${pkgbase}-${pkgver}
+  python setup.py build
+  make -C docs man text SPHINXBUILD=sphinx-build
+}
+
+check() {
+  cd ${pkgbase}-${pkgver}
+  py.test -k 'not test_logger'
+}
+
+package() {
+  cd ${pkgbase}-${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/index.txt "${pkgdir}/usr/share/doc/${pkgname}/DOCUMENTATION"
+  install -Dm 644 docs/_build/man/python-socketio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list