[arch-commits] Commit in python-wsaccel/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Dec 10 09:15:57 UTC 2020


    Date: Thursday, December 10, 2020 @ 09:15:56
  Author: felixonmars
Revision: 772994

upgpkg: python-wsaccel 0.6.3-2: use tag instead of commit

Modified:
  python-wsaccel/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-10 09:15:48 UTC (rev 772993)
+++ PKGBUILD	2020-12-10 09:15:56 UTC (rev 772994)
@@ -2,8 +2,7 @@
 
 pkgname=python-wsaccel
 pkgver=0.6.3
-_commit=f16d0b8cd9b54b5b2d7698a5b41d5c38e1564fb6
-pkgrel=1
+pkgrel=2
 pkgdesc='Accelerator for ws4py and AutobahnPython'
 arch=('x86_64')
 url='https://github.com/methane/wsaccel'
@@ -10,21 +9,21 @@
 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')
+checkdepends=('python-pytest')
+source=("https://github.com/methane/wsaccel/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('0fe97c7fa94cec1b9cf019507f55ce633a9b4bda86329937cddcfa25ba94755010813688cda77ee4fea1c50918e45cd50770bb27e7583e630c46e84d27c155da')
 
 build() {
-  cd wsaccel-$_commit
+  cd wsaccel-$pkgver
   python setup.py build
 }
 
 check() {
-  cd wsaccel-$_commit
-  python setup.py pytest
+  cd wsaccel-$pkgver
+  PYTHONPATH="$PWD/build/lib.linux-x86_64-3.9" pytest
 }
 
 package() {
-  cd wsaccel-$_commit
+  cd wsaccel-$pkgver
   python setup.py install --root="$pkgdir" -O1
 }



More information about the arch-commits mailing list