pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wip/streamlink: update to streamlink-7.0.0



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Sat Nov 9 10:53:50 2024 +0200
Changeset:	50d9dea801675411294cc5cf83937afa8221a2bb

Modified Files:
	streamlink/COMMIT_MSG
	streamlink/Makefile
	streamlink/PLIST
	streamlink/distinfo
	streamlink/patches/patch-build__backend_onbuild.py

Log Message:
wip/streamlink: update to streamlink-7.0.0

Changelog:

== streamlink 7.0.0 (2024-11-04)

- BREAKING: dropped support for EOL Python 3.8 (Win 7/8 are now
            unsupported)
- BREAKING/CLI: removed deprecated config file and plugin config
            file paths
- BREAKING/CLI: removed deprecated plugin sideloading paths
- BREAKING/CLI: removed deprecated `--force-progress` CLI argument
- BREAKING/CLI: removed deprecated stream-type related CLI arguments
  - `--hls-segment-attempts`
  - `--hls-segment-threads`
  - `--hls-segment-timeout`
  - `--hls-timeout`
  - `--http-stream-timeout`
- BREAKING/API: removed deprecated stream-type related session options
  - `hls-segment-attempts`
  - `hls-segment-threads`
  - `hls-segment-timeout`
  - `hls-timeout`
  - `dash-segment-attempts`
  - `dash-segment-threads`
  - `dash-segment-timeout`
  - `dash-timeout`
  - `http-stream-timeout`
- BREAKING/API: removed deprecated import paths for `HTTPSession` and
                `HTTPAdapter`s
- BREAKING/API: removed deprecated import paths for `NoPluginError`,
                `NoStreamsError`, `PluginError` and `Plugin`
- BREAKING/packaging: dropped "32 bit" Windows x86 and Linux AppImage
                      i686 builds
- Removed: flawed implementation of VLC-specific player variables
- Deprecated: `--verbose-player` CLI argument in favor of
              `--player-verbose`
- Deprecated: `--fifo` CLI argument in favor of `--player-fifo`
- Added: warning messages for deprecated/suppressed plugin arguments
- Fixed: errors on missing `stdin` file descriptor
- Fixed: `--interface` not having an effect on custom `HTTPAdapter`s
- Updated plugins:
  - afreeca: renamed to soop, overhauled plugin and deprecated old
             plugin CLI arguments
  - ruv: rewritten and fixed plugin
  - tv3cat: updated plugin matchers
- Docs: updated documentation of various CLI arguments
- Chore: updated typing annotations (PEP 563, PEP 585, PEP 604,
         PEP 613)
- Chore: reformatted the whole code base using ruff
- Build: bumped `trio` dependency to `>=0.25.0,<1` on Python >= 3.13

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=50d9dea801675411294cc5cf83937afa8221a2bb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 streamlink/COMMIT_MSG                              | 51 +++++++++++++++++-
 streamlink/Makefile                                |  2 +-
 streamlink/PLIST                                   | 60 +++++++++++-----------
 streamlink/distinfo                                |  8 +--
 streamlink/patches/patch-build__backend_onbuild.py | 18 +++----
 5 files changed, 94 insertions(+), 45 deletions(-)

diffs:
diff --git a/streamlink/COMMIT_MSG b/streamlink/COMMIT_MSG
index 115621a1e8..b61d9ac1cb 100644
--- a/streamlink/COMMIT_MSG
+++ b/streamlink/COMMIT_MSG
@@ -1,7 +1,56 @@
-multimedia/streamlink: update to streamlink-6.11.0
+multimedia/streamlink: update to streamlink-7.0.0
 
 Changelog:
 
+== streamlink 7.0.0 (2024-11-04)
+
+- BREAKING: dropped support for EOL Python 3.8 (Win 7/8 are now
+            unsupported)
+- BREAKING/CLI: removed deprecated config file and plugin config
+            file paths
+- BREAKING/CLI: removed deprecated plugin sideloading paths
+- BREAKING/CLI: removed deprecated `--force-progress` CLI argument
+- BREAKING/CLI: removed deprecated stream-type related CLI arguments
+  - `--hls-segment-attempts`
+  - `--hls-segment-threads`
+  - `--hls-segment-timeout`
+  - `--hls-timeout`
+  - `--http-stream-timeout`
+- BREAKING/API: removed deprecated stream-type related session options
+  - `hls-segment-attempts`
+  - `hls-segment-threads`
+  - `hls-segment-timeout`
+  - `hls-timeout`
+  - `dash-segment-attempts`
+  - `dash-segment-threads`
+  - `dash-segment-timeout`
+  - `dash-timeout`
+  - `http-stream-timeout`
+- BREAKING/API: removed deprecated import paths for `HTTPSession` and
+                `HTTPAdapter`s
+- BREAKING/API: removed deprecated import paths for `NoPluginError`,
+                `NoStreamsError`, `PluginError` and `Plugin`
+- BREAKING/packaging: dropped "32 bit" Windows x86 and Linux AppImage
+                      i686 builds
+- Removed: flawed implementation of VLC-specific player variables
+- Deprecated: `--verbose-player` CLI argument in favor of
+              `--player-verbose`
+- Deprecated: `--fifo` CLI argument in favor of `--player-fifo`
+- Added: warning messages for deprecated/suppressed plugin arguments
+- Fixed: errors on missing `stdin` file descriptor
+- Fixed: `--interface` not having an effect on custom `HTTPAdapter`s
+- Updated plugins:
+  - afreeca: renamed to soop, overhauled plugin and deprecated old
+             plugin CLI arguments
+  - ruv: rewritten and fixed plugin
+  - tv3cat: updated plugin matchers
+- Docs: updated documentation of various CLI arguments
+- Chore: updated typing annotations (PEP 563, PEP 585, PEP 604,
+         PEP 613)
+- Chore: reformatted the whole code base using ruff
+- Build: bumped `trio` dependency to `>=0.25.0,<1` on Python >= 3.13
+
+
 == streamlink 6.11.0 (2024-10-01)
 
 - Deprecated:
diff --git a/streamlink/Makefile b/streamlink/Makefile
index aaf238488b..a85faa36ab 100644
--- a/streamlink/Makefile
+++ b/streamlink/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.41 2023/11/07 22:38:02 wiz Exp $
 
-DISTNAME=	streamlink-6.11.0
+DISTNAME=	streamlink-7.0.0
 CATEGORIES=	multimedia
 MASTER_SITES=	${MASTER_SITE_GITHUB:=streamlink/}
 GITHUB_RELEASE=	${PKGVERSION_NOREV}
diff --git a/streamlink/PLIST b/streamlink/PLIST
index de54b25bd0..f41e2ece2a 100644
--- a/streamlink/PLIST
+++ b/streamlink/PLIST
@@ -48,36 +48,21 @@ ${PYSITELIB}/streamlink/plugin/__init__.pyo
 ${PYSITELIB}/streamlink/plugin/api/__init__.py
 ${PYSITELIB}/streamlink/plugin/api/__init__.pyc
 ${PYSITELIB}/streamlink/plugin/api/__init__.pyo
-${PYSITELIB}/streamlink/plugin/api/http_session.py
-${PYSITELIB}/streamlink/plugin/api/http_session.pyc
-${PYSITELIB}/streamlink/plugin/api/http_session.pyo
 ${PYSITELIB}/streamlink/plugin/api/useragents.py
 ${PYSITELIB}/streamlink/plugin/api/useragents.pyc
 ${PYSITELIB}/streamlink/plugin/api/useragents.pyo
-${PYSITELIB}/streamlink/plugin/api/validate/__init__.py
-${PYSITELIB}/streamlink/plugin/api/validate/__init__.pyc
-${PYSITELIB}/streamlink/plugin/api/validate/__init__.pyo
-${PYSITELIB}/streamlink/plugin/api/validate/_exception.py
-${PYSITELIB}/streamlink/plugin/api/validate/_exception.pyc
-${PYSITELIB}/streamlink/plugin/api/validate/_exception.pyo
-${PYSITELIB}/streamlink/plugin/api/validate/_schemas.py
-${PYSITELIB}/streamlink/plugin/api/validate/_schemas.pyc
-${PYSITELIB}/streamlink/plugin/api/validate/_schemas.pyo
-${PYSITELIB}/streamlink/plugin/api/validate/_validate.py
-${PYSITELIB}/streamlink/plugin/api/validate/_validate.pyc
-${PYSITELIB}/streamlink/plugin/api/validate/_validate.pyo
-${PYSITELIB}/streamlink/plugin/api/validate/_validators.py
-${PYSITELIB}/streamlink/plugin/api/validate/_validators.pyc
-${PYSITELIB}/streamlink/plugin/api/validate/_validators.pyo
-${PYSITELIB}/streamlink/plugin/api/websocket.py
-${PYSITELIB}/streamlink/plugin/api/websocket.pyc
-${PYSITELIB}/streamlink/plugin/api/websocket.pyo
+${PYSITELIB}/streamlink/plugin/api/validate.py
+${PYSITELIB}/streamlink/plugin/api/validate.pyc
+${PYSITELIB}/streamlink/plugin/api/validate.pyo
 ${PYSITELIB}/streamlink/plugin/api/webbrowser/__init__.py
 ${PYSITELIB}/streamlink/plugin/api/webbrowser/__init__.pyc
 ${PYSITELIB}/streamlink/plugin/api/webbrowser/__init__.pyo
 ${PYSITELIB}/streamlink/plugin/api/webbrowser/aws_waf.py
 ${PYSITELIB}/streamlink/plugin/api/webbrowser/aws_waf.pyc
 ${PYSITELIB}/streamlink/plugin/api/webbrowser/aws_waf.pyo
+${PYSITELIB}/streamlink/plugin/api/websocket.py
+${PYSITELIB}/streamlink/plugin/api/websocket.pyc
+${PYSITELIB}/streamlink/plugin/api/websocket.pyo
 ${PYSITELIB}/streamlink/plugin/plugin.py
 ${PYSITELIB}/streamlink/plugin/plugin.pyc
 ${PYSITELIB}/streamlink/plugin/plugin.pyo
@@ -91,9 +76,6 @@ ${PYSITELIB}/streamlink/plugins/abematv.pyo
 ${PYSITELIB}/streamlink/plugins/adultswim.py
 ${PYSITELIB}/streamlink/plugins/adultswim.pyc
 ${PYSITELIB}/streamlink/plugins/adultswim.pyo
-${PYSITELIB}/streamlink/plugins/afreeca.py
-${PYSITELIB}/streamlink/plugins/afreeca.pyc
-${PYSITELIB}/streamlink/plugins/afreeca.pyo
 ${PYSITELIB}/streamlink/plugins/albavision.py
 ${PYSITELIB}/streamlink/plugins/albavision.pyc
 ${PYSITELIB}/streamlink/plugins/albavision.pyo
@@ -151,6 +133,9 @@ ${PYSITELIB}/streamlink/plugins/cdnbg.pyo
 ${PYSITELIB}/streamlink/plugins/ceskatelevize.py
 ${PYSITELIB}/streamlink/plugins/ceskatelevize.pyc
 ${PYSITELIB}/streamlink/plugins/ceskatelevize.pyo
+${PYSITELIB}/streamlink/plugins/chzzk.py
+${PYSITELIB}/streamlink/plugins/chzzk.pyc
+${PYSITELIB}/streamlink/plugins/chzzk.pyo
 ${PYSITELIB}/streamlink/plugins/cinergroup.py
 ${PYSITELIB}/streamlink/plugins/cinergroup.pyc
 ${PYSITELIB}/streamlink/plugins/cinergroup.pyo
@@ -166,9 +151,6 @@ ${PYSITELIB}/streamlink/plugins/cnbce.pyo
 ${PYSITELIB}/streamlink/plugins/cnews.py
 ${PYSITELIB}/streamlink/plugins/cnews.pyc
 ${PYSITELIB}/streamlink/plugins/cnews.pyo
-${PYSITELIB}/streamlink/plugins/chzzk.py
-${PYSITELIB}/streamlink/plugins/chzzk.pyc
-${PYSITELIB}/streamlink/plugins/chzzk.pyo
 ${PYSITELIB}/streamlink/plugins/dailymotion.py
 ${PYSITELIB}/streamlink/plugins/dailymotion.pyc
 ${PYSITELIB}/streamlink/plugins/dailymotion.pyo
@@ -373,6 +355,9 @@ ${PYSITELIB}/streamlink/plugins/sbscokr.pyo
 ${PYSITELIB}/streamlink/plugins/showroom.py
 ${PYSITELIB}/streamlink/plugins/showroom.pyc
 ${PYSITELIB}/streamlink/plugins/showroom.pyo
+${PYSITELIB}/streamlink/plugins/soop.py
+${PYSITELIB}/streamlink/plugins/soop.pyc
+${PYSITELIB}/streamlink/plugins/soop.pyo
 ${PYSITELIB}/streamlink/plugins/sportal.py
 ${PYSITELIB}/streamlink/plugins/sportal.pyc
 ${PYSITELIB}/streamlink/plugins/sportal.pyo
@@ -630,6 +615,21 @@ ${PYSITELIB}/streamlink/utils/times.pyo
 ${PYSITELIB}/streamlink/utils/url.py
 ${PYSITELIB}/streamlink/utils/url.pyc
 ${PYSITELIB}/streamlink/utils/url.pyo
+${PYSITELIB}/streamlink/validate/__init__.py
+${PYSITELIB}/streamlink/validate/__init__.pyc
+${PYSITELIB}/streamlink/validate/__init__.pyo
+${PYSITELIB}/streamlink/validate/_exception.py
+${PYSITELIB}/streamlink/validate/_exception.pyc
+${PYSITELIB}/streamlink/validate/_exception.pyo
+${PYSITELIB}/streamlink/validate/_schemas.py
+${PYSITELIB}/streamlink/validate/_schemas.pyc
+${PYSITELIB}/streamlink/validate/_schemas.pyo
+${PYSITELIB}/streamlink/validate/_validate.py
+${PYSITELIB}/streamlink/validate/_validate.pyc
+${PYSITELIB}/streamlink/validate/_validate.pyo
+${PYSITELIB}/streamlink/validate/_validators.py
+${PYSITELIB}/streamlink/validate/_validators.pyc
+${PYSITELIB}/streamlink/validate/_validators.pyo
 ${PYSITELIB}/streamlink/webbrowser/__init__.py
 ${PYSITELIB}/streamlink/webbrowser/__init__.pyc
 ${PYSITELIB}/streamlink/webbrowser/__init__.pyo
@@ -705,6 +705,9 @@ ${PYSITELIB}/streamlink_cli/__init__.pyo
 ${PYSITELIB}/streamlink_cli/__main__.py
 ${PYSITELIB}/streamlink_cli/__main__.pyc
 ${PYSITELIB}/streamlink_cli/__main__.pyo
+${PYSITELIB}/streamlink_cli/_parser.py
+${PYSITELIB}/streamlink_cli/_parser.pyc
+${PYSITELIB}/streamlink_cli/_parser.pyo
 ${PYSITELIB}/streamlink_cli/argparser.py
 ${PYSITELIB}/streamlink_cli/argparser.pyc
 ${PYSITELIB}/streamlink_cli/argparser.pyo
@@ -738,9 +741,6 @@ ${PYSITELIB}/streamlink_cli/output/http.pyo
 ${PYSITELIB}/streamlink_cli/output/player.py
 ${PYSITELIB}/streamlink_cli/output/player.pyc
 ${PYSITELIB}/streamlink_cli/output/player.pyo
-${PYSITELIB}/streamlink_cli/_parser.py
-${PYSITELIB}/streamlink_cli/_parser.pyc
-${PYSITELIB}/streamlink_cli/_parser.pyo
 ${PYSITELIB}/streamlink_cli/py.typed
 ${PYSITELIB}/streamlink_cli/streamrunner.py
 ${PYSITELIB}/streamlink_cli/streamrunner.pyc
diff --git a/streamlink/distinfo b/streamlink/distinfo
index c62af58918..664843bec5 100644
--- a/streamlink/distinfo
+++ b/streamlink/distinfo
@@ -1,7 +1,7 @@
 $NetBSD: distinfo,v 1.25 2023/05/08 19:24:46 yhardy Exp $
 
-BLAKE2s (streamlink-6.11.0.tar.gz) = 0f7a68cee3de07dc824511d95859052dae4ea6d05dc57bcecd283a92a8a7b737
-SHA512 (streamlink-6.11.0.tar.gz) = e6d6e49d2df0aa76ebca76c0b3ada085eac59553423a5ccaa3d5cb62f6be0a679da36c4f78a3e1fea48b22144e705b8de9e46fc146c1c93889ef0c056d59fc7b
-Size (streamlink-6.11.0.tar.gz) = 763094 bytes
-SHA1 (patch-build__backend_onbuild.py) = c548d70a6cda4fc8cd68ef76b8865233e8337bdb
+BLAKE2s (streamlink-7.0.0.tar.gz) = 0116a36f5f98bd9fbeb57a20b5308ce2a222f27255caa6716a549013fb1e49b8
+SHA512 (streamlink-7.0.0.tar.gz) = 0d0834b19718862ac7efd16680920ec632b9c2db512c57e9eb4bc9bc6a27f7cbf0ceba557bbeb4c55a5e9680b5519961e526209ccc4b8499273daaf1cd837e4f
+Size (streamlink-7.0.0.tar.gz) = 765957 bytes
+SHA1 (patch-build__backend_onbuild.py) = c73f4a88f76e5ae6db0b0b993206d270f36115ec
 SHA1 (patch-setup.py) = 20f12c6ca3d9b82d83d41280992c1988cc77ead5
diff --git a/streamlink/patches/patch-build__backend_onbuild.py b/streamlink/patches/patch-build__backend_onbuild.py
index f526280ba9..9f97d020c8 100644
--- a/streamlink/patches/patch-build__backend_onbuild.py
+++ b/streamlink/patches/patch-build__backend_onbuild.py
@@ -2,24 +2,24 @@ $NetBSD$
 
 Match the call parameters with how it is used by our py-versioningit package.
 
---- build_backend/onbuild.py.orig	2023-12-16 06:18:37.000000000 +0000
+--- build_backend/onbuild.py.orig	2024-11-04 16:33:10.000000000 +0000
 +++ build_backend/onbuild.py
-@@ -18,11 +18,12 @@ except ImportError:  # pragma: no cover
+@@ -22,11 +22,12 @@ except ImportError:  # pragma: no cover
  def onbuild(
      *,
      is_source: bool,
--    template_fields: Dict[str, Any],
--    params: Dict[str, Any],
-+    template_fields: Optional[Dict[str, Any]] = {},
-+    params: Optional[Dict[str, Any]] = {},
+-    template_fields: dict[str, Any],
+-    params: dict[str, Any],
++    template_fields: Optional[dict[str, Any]] = {},
++    params: Optional[dict[str, Any]] = {},
      # backward compatibility for `versioningit <3.0.0`
-     build_dir: Optional[Union[str, Path]] = None,
-     file_provider: Optional[SetuptoolsFileProvider] = None,
+     build_dir: str | Path | None = None,
+     file_provider: SetuptoolsFileProvider | None = None,
 +    version: Optional[str] = None
  ):
      """
      Remove the ``versioningit`` build-requirement from Streamlink's source distribution.
-@@ -45,7 +46,8 @@ def onbuild(
+@@ -49,7 +50,8 @@ def onbuild(
          raise RuntimeError("Missing file_provider or build_dir")
  
      pkg_dir: Path = base_dir / "src" if is_source else base_dir


Home | Main Index | Thread Index | Old Index