From bbabb335029f35e98a7c07740992bdc3cad478e5 Mon Sep 17 00:00:00 2001 From: bastimeyer Date: Wed, 17 Dec 2025 21:51:34 +0100 Subject: [PATCH] streamlink: update to 8.1.0 Patch pyproject.toml: Downgrade pytest minversion to 8.3.0 and remove addopts field which loads plugins explicitly via `--disable-plugin-autoload` and `-p`. --- .../streamlink/patches/pytest-lt-8.4.0.patch | 18 ++++++++++++++++++ srcpkgs/streamlink/template | 6 +++--- 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/streamlink/patches/pytest-lt-8.4.0.patch diff --git a/srcpkgs/streamlink/patches/pytest-lt-8.4.0.patch b/srcpkgs/streamlink/patches/pytest-lt-8.4.0.patch new file mode 100644 index 00000000000000..ebbd88aa84144d --- /dev/null +++ b/srcpkgs/streamlink/patches/pytest-lt-8.4.0.patch @@ -0,0 +1,18 @@ +diff --git a/pyproject.toml b/pyproject.toml +index 74ca2694..8309e6c3 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -192,12 +192,7 @@ method = { module = "build_backend.onbuild", value = "onbuild" } + # https://docs.pytest.org/en/latest/reference/customize.html#configuration + # https://docs.pytest.org/en/latest/reference/reference.html#ini-options-ref + [tool.pytest.ini_options] +-minversion = "8.4.0" +-addopts = """ +---disable-plugin-autoload +--p trio +--p requests_mock +-""" ++minversion = "8.3.0" + testpaths = [ + "build_backend", + "tests", diff --git a/srcpkgs/streamlink/template b/srcpkgs/streamlink/template index dfc1f7c400e463..9d1c82f2632161 100644 --- a/srcpkgs/streamlink/template +++ b/srcpkgs/streamlink/template @@ -1,7 +1,7 @@ # Template file for 'streamlink' pkgname=streamlink -version=7.5.0 -revision=2 +version=8.1.0 +revision=1 build_style=python3-pep517 hostmakedepends="python3-wheel python3-versioningit" depends="python3-lxml python3-pycryptodome python3-pycountry @@ -14,7 +14,7 @@ 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=c091bc77a3cc8e129a232db3e2c8d8bae2dfef96813fcdec62ee020794068fb9 +checksum=acd297219a0cbaaffe4e292290554b9c45408fa9f6e4dc1211d1ccd1f4a44039 make_check_pre="env PYTHONPATH=src" post_install() {