streamlink: update to 0.9.0.
This commit is contained in:
parent
4aae6c4504
commit
4cf9627db8
|
@ -1,11 +1,13 @@
|
|||
# Template file for 'streamlink'
|
||||
pkgname=streamlink
|
||||
version=0.8.1
|
||||
version=0.9.0
|
||||
revision=1
|
||||
noarch=yes
|
||||
build_style=python3-module
|
||||
pycompile_module="streamlink streamlink_cli"
|
||||
hostmakedepends="python3-setuptools"
|
||||
checkdepends="python3-crypto python3-pycountry python3-pysocks python3-websocket-client
|
||||
python3-pytest python3-requests"
|
||||
depends="python3-setuptools python3-requests python3-crypto python3-pycountry
|
||||
python3-pysocks python3-websocket-client"
|
||||
short_desc="Utility extracting streams from services, forked from livestreamer"
|
||||
|
@ -13,11 +15,18 @@ maintainer="wkuipers <wietse@kuiprs.nl>"
|
|||
license="2-clause-BSD"
|
||||
homepage="https://streamlink.github.io/"
|
||||
distfiles="https://github.com/streamlink/streamlink/releases/download/${version}/streamlink-${version}.tar.gz"
|
||||
checksum=c0a487fa1c6b1d07008a1a4d5739df68a9e0c59cf06054715c13c1e3bed5a436
|
||||
checksum=8c01c23a3e02d75a09232ac471a7c277a699455293a99e8a2ec0846a1b4a6819
|
||||
|
||||
export STREAMLINK_USE_PYCRYPTO=1
|
||||
export STREAMLINK_USE_PYCOUNTRY=1
|
||||
|
||||
do_check() {
|
||||
# in python3 mock is unittest.mock
|
||||
sed -i 's|mock|unittest.mock|g' tests/test_stream_streamprocess.py
|
||||
|
||||
PYTHONPATH="${PWD}/build/lib" python3 -m pytest
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user