29 lines
1.0 KiB
Bash
29 lines
1.0 KiB
Bash
# Template file for 'streamlink'
|
|
pkgname=streamlink
|
|
version=2.0.0
|
|
revision=1
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-setuptools python3-pycryptodome python3-pycountry
|
|
python3-pysocks python3-requests python3-websocket-client python3-isodate"
|
|
checkdepends="python3-pycryptodome python3-pycountry python3-pysocks
|
|
python3-pytest python3-mock python3-requests-mock python3-websocket-client
|
|
python3-isodate python3-freezegun"
|
|
short_desc="Utility extracting streams from services, forked from livestreamer"
|
|
maintainer="wkuipers <wietse@kuiprs.nl>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://streamlink.github.io/"
|
|
changelog="https://raw.githubusercontent.com/streamlink/streamlink/master/CHANGELOG.md"
|
|
distfiles="https://github.com/streamlink/streamlink/releases/download/${version}/streamlink-${version}.tar.gz"
|
|
checksum=c0ead9e961638d41cab9bd9677cdc701f2313bfd4d23cd8158410932839c62db
|
|
|
|
export STREAMLINK_USE_PYCOUNTRY=1
|
|
|
|
do_check() {
|
|
PYTHONPATH="${PWD}/build/lib" python3 -m pytest
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|