diff options
author | Josip Ponjavic | 2021-10-20 00:16:51 +0200 |
---|---|---|
committer | Josip Ponjavic | 2021-10-20 00:16:51 +0200 |
commit | dda72ef1cfe48e09f7a3150afb7be4441c822fcb (patch) | |
tree | 3af6123a946badc506a3f4172ff64461f4fe0b33 /PKGBUILD | |
parent | f9859ceec403a50621951c5f9699e57284ef6418 (diff) | |
download | aur-dda72ef1cfe48e09f7a3150afb7be4441c822fcb.tar.gz |
upgpkg: 2.4.0.r53.g765f969d-2 simplify tests
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -2,7 +2,7 @@ pkgname=streamlink-git pkgver=2.4.0.r53.g765f969d -pkgrel=1 +pkgrel=2 pkgdesc='CLI program that launches streams from various streaming services in a custom video player (livestreamer fork)' arch=('any') url='https://streamlink.github.io/' @@ -30,9 +30,7 @@ build() { check() { cd "${pkgname%-*}" - pyver=$(python -c "import sys; print('{}.{}'.format(*sys.version_info[:2]))") - python setup.py install --root="$PWD/tmp_install" --skip-build - PYTHONPATH="$PWD/tmp_install/usr/lib/python$pyver/site-packages" pytest + PYTHONPATH="./build/lib:$PYTHONPATH" python -m pytest } package() { |