void-packages/srcpkgs/streamlink/template

25 lines
1.0 KiB
Bash

# Template file for 'streamlink'
pkgname=streamlink
version=5.5.1
revision=2
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=b2b4fe8d6436dbe7bcec78de2d4bb780156388561435b61a1963156e9fc5fbd0
make_check_pre="env PYTHONPATH=src"
make_check=ci-skip # some tests fail when running as root
post_install() {
vlicense LICENSE
}