summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJosip Ponjavic2021-10-20 00:16:51 +0200
committerJosip Ponjavic2021-10-20 00:16:51 +0200
commitdda72ef1cfe48e09f7a3150afb7be4441c822fcb (patch)
tree3af6123a946badc506a3f4172ff64461f4fe0b33 /PKGBUILD
parentf9859ceec403a50621951c5f9699e57284ef6418 (diff)
downloadaur-dda72ef1cfe48e09f7a3150afb7be4441c822fcb.tar.gz
upgpkg: 2.4.0.r53.g765f969d-2 simplify tests
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 2 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index da345fdd5fa2..9278221465aa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {