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

Felix Yan felixonmars at archlinux.org
Mon Nov 9 15:58:31 UTC 2020


    Date: Monday, November 9, 2020 @ 15:58:31
  Author: felixonmars
Revision: 747273

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 747272, python-wsaccel/trunk/PKGBUILD)

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

Copied: python-wsaccel/repos/community-staging-x86_64/PKGBUILD (from rev 747272, python-wsaccel/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-11-09 15:58:31 UTC (rev 747273)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-wsaccel
+pkgver=0.6.2
+_commit=f16d0b8cd9b54b5b2d7698a5b41d5c38e1564fb6
+pkgrel=7
+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-runner')
+source=("$pkgname-$_commit.tar.gz::https://github.com/methane/wsaccel/archive/$_commit.tar.gz")
+md5sums=('f06b48bcdccc4713ad75234d87679eba')
+
+build() {
+  cd wsaccel-$_commit
+  python setup.py build
+}
+
+check() {
+  cd wsaccel-$_commit
+  python setup.py pytest
+}
+
+package() {
+  cd wsaccel-$_commit
+  python setup.py install --root="$pkgdir" -O1
+}



More information about the arch-commits mailing list