Date: Thursday, November 24, 2022 @ 10:03:41
Author: alerque
Revision: 1352116
upgpkg: python-lupa 1.14.1-1
Modified:
python-lupa/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-24 10:03:04 UTC (rev 1352115)
+++ PKGBUILD 2022-11-24 10:03:41 UTC (rev 1352116)
@@ -3,7 +3,7 @@
_pkgname=lupa
pkgname=python-lupa
-pkgver=1.13
+pkgver=1.14.1
pkgrel=1
pkgdesc='Python wrapper around Lua and LuaJIT'
arch=(x86_64)
@@ -14,7 +14,7 @@
python-setuptools)
_archive="$_pkgname-$pkgver"
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_archive.tar.gz")
-sha256sums=('e1d94ac2a630d271027dac2c21d1428771d9ea9d4d88f15f20a7781340f02a4e')
+sha256sums=('d0fd4e60ad149fe25c90530e2a0e032a42a6f0455f29ca0edb8170d6ec751c6e')
prepare() {
cd "$_archive"
@@ -30,7 +30,9 @@
check() {
cd "$_archive"
- python setup.py test
+ local _pyver=cpython-$(python -c 'import sys; print("".join(map(str,
sys.version_info[:2])))')
+ cd "$PWD/build/lib.linux-$CARCH-$_pyver"
+ python -m unittest discover
}
package() {