vp-build/srcpkgs/streamlink/template

24 lines
980 B
Bash

# Template file for 'streamlink'
pkgname=streamlink
version=5.0.0
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"
checkdepends="$depends python3-pytest python3-mock python3-requests-mock
python3-freezegun"
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=eb66819cacfb55e766f70275b467a91693ef5e1a253017d65377f18b0e810d1b
make_check_pre="env PYTHONPATH=src"
make_check=ci-skip # some tests fail when running as root
post_install() {
vlicense LICENSE
}