void-packages/srcpkgs/streamlink/template

25 lines
1.0 KiB
Bash

# Template file for 'streamlink'
pkgname=streamlink
version=5.2.1
revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel python3-versioningit"
depends="python3-lxml python3-pycryptodome python3-pycountry
python3-pysocks python3-requests python3-websocket-client python3-isodate
python3-urllib3 python3-certifi"
checkdepends="$depends python3-pytest python3-mock python3-requests-mock
python3-freezegun python3-pytest-asyncio"
short_desc="Utility extracting streams from services, forked from livestreamer"
maintainer="Michal Vasilek <michal@vasilek.cz>"
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=fd87051f9b7dc7d12c98aee83ef4840a684bdb2a476203efb0c74bd48ba911fc
make_check_pre="env PYTHONPATH=src"
make_check=ci-skip # some tests fail when running as root
post_install() {
vlicense LICENSE
}