[arch-commits] Commit in python-socketio/repos/community-any (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at gemini.archlinux.org
Mon Aug 29 21:35:36 UTC 2022


    Date: Monday, August 29, 2022 @ 21:35:36
  Author: anthraxx
Revision: 1286262

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-29 21:35:32 UTC (rev 1286261)
+++ PKGBUILD	2022-08-29 21:35:36 UTC (rev 1286262)
@@ -1,39 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgname=python-socketio
-pkgver=5.6.0
-pkgrel=1
-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' 'python-bidict' 'python-msgpack')
-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=('65512b5d81013b1af636dbf61ed27154796ce86d4a470ecb9a749e722aaf442030a88172cd9ce6600e5c1ebd7d838be8aa26fa5887f4252174020fc926d3a447')
-b2sums=('1642053479c527d3019be67113eb57a6237aec9b6e3e3b58d5d0a5d0c5f2a20090fa2cc94b98b6036a3c96b744ab05ab3abf133e88ab629ceb7ecf2f7fc53794')
-
-build() {
-  cd ${pkgbase}-${pkgver}
-  python setup.py build
-  make -C docs man text SPHINXBUILD=sphinx-build
-}
-
-check() {
-  cd ${pkgbase}-${pkgver}
-  PYTHONPATH=build/lib python setup.py test
-}
-
-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.md -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:

Copied: python-socketio/repos/community-any/PKGBUILD (from rev 1286261, python-socketio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-29 21:35:36 UTC (rev 1286262)
@@ -0,0 +1,40 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=python-socketio
+pkgver=5.7.1
+pkgrel=1
+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' 'python-bidict' 'python-msgpack')
+makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel'
+             '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=('0d2962aa10f1b2cef5a18f97aba32c015960d5aa70ada9ca4d63db18b24a68d08033036ed5f2b93f0d618bb946e7a792fdfcabca655b21b6aa479042bb07f43a')
+b2sums=('aea56b52ef7f9bea12497e419818936d2fcc1b6feaaaa3eb289555d3e5219fffa7011ecd05603fbdd7c104b2795aa0b0f4941069e97f80c91f6978327aa823bb')
+
+build() {
+  cd ${pkgbase}-${pkgver}
+  python -m build --wheel --no-isolation
+  make -C docs man text SPHINXBUILD=sphinx-build
+}
+
+check() {
+  cd ${pkgbase}-${pkgver}
+  PYTHONPATH=build/lib python setup.py test
+}
+
+package() {
+  cd ${pkgbase}-${pkgver}
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.md -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