void-packages/srcpkgs/streamlink/template

25 lines
1.0 KiB
Bash

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