For anyone else having trouble with check() failing with error: invalid command 'test', here is a simple patch that does not skip the tests:
diff --git i/PKGBUILD w/PKGBUILD
index 0ae9fea..a55e194 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -30,7 +30,7 @@ build() {
check() {
cd "$pkgname-$pkgver"
- python setup.py test
+ python -m unittest -v
}
package() {
Pinned Comments
roddhjav commented on 2018-02-25 15:24 (UTC) (edited on 2022-06-06 19:14 (UTC) by roddhjav)
To install the package first import my PGP key:
Alternatively this key can also be found on https://pujol.io/keys: