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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 20:18:01 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:18:01
  Author: felixonmars
Revision: 1057941

archrelease: copy trunk to community-staging-x86_64

Added:
  python-wsaccel/repos/community-staging-x86_64/
  python-wsaccel/repos/community-staging-x86_64/PKGBUILD
    (from rev 1057939, python-wsaccel/trunk/PKGBUILD)

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

Copied: python-wsaccel/repos/community-staging-x86_64/PKGBUILD (from rev 1057939, python-wsaccel/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-11-30 20:18:01 UTC (rev 1057941)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-wsaccel
+pkgver=0.6.3
+pkgrel=3
+pkgdesc='Accelerator for ws4py and AutobahnPython'
+arch=('x86_64')
+url='https://github.com/methane/wsaccel'
+license=('Apache')
+depends=('python')
+makedepends=('python-setuptools' 'cython')
+checkdepends=('python-pytest')
+source=("https://github.com/methane/wsaccel/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('0fe97c7fa94cec1b9cf019507f55ce633a9b4bda86329937cddcfa25ba94755010813688cda77ee4fea1c50918e45cd50770bb27e7583e630c46e84d27c155da')
+
+build() {
+  cd wsaccel-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd wsaccel-$pkgver
+  PYTHONPATH="$PWD/build/lib.linux-x86_64-3.9" pytest
+}
+
+package() {
+  cd wsaccel-$pkgver
+  python setup.py install --root="$pkgdir" -O1
+}



More information about the arch-commits mailing list