[arch-commits] Commit in python-wsaccel/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Dec 10 09:16:08 UTC 2020


    Date: Thursday, December 10, 2020 @ 09:16:07
  Author: felixonmars
Revision: 772995

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-10 09:15:56 UTC (rev 772994)
+++ PKGBUILD	2020-12-10 09:16:07 UTC (rev 772995)
@@ -1,30 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-wsaccel
-pkgver=0.6.3
-_commit=f16d0b8cd9b54b5b2d7698a5b41d5c38e1564fb6
-pkgrel=1
-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")
-sha512sums=('119adb53dc97b3a5c7b684ee2f793e195f9500f0df56ba58fded203e5b8fea45cee614d2a2c010d5918ee21d46b38aaa1c80ac018f1c7a333d18460501391398')
-
-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
-}

Copied: python-wsaccel/repos/community-x86_64/PKGBUILD (from rev 772994, python-wsaccel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-10 09:16:07 UTC (rev 772995)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-wsaccel
+pkgver=0.6.3
+pkgrel=2
+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