pkgsrc-WIP-changes archive

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

streamlink: update to streamlink-6.5.0



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Sat Dec 23 12:23:16 2023 +0200
Changeset:	b12d10e3f2e50127c727427dfaea0feb65361015

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

Log Message:
streamlink: update to streamlink-6.5.0

== streamlink 6.5.0 (2023-12-16)

Release highlights:

- Fixed: `UserWarning` being emitted by recent `pycountry` releases when
  parsing certain language codes
- Fixed: trace logging setup in `WebsocketClient` implementation
- Updated plugins:
  - btv: switched to HLS multivariant playlists
  - gulli: rewritten plugin
  - twitch: removed/disabled `--twitch-disable-reruns`
  - twitch: enabled `check_streams` HLS option, to ensure early stream
            availability without querying the delayed Twitch API
  - twitch: removed unnecessary Twitch API error messages for offline channels
  - wasd: removed plugin
- Build: added support for `versioningit >=3.0.0`, with backward compatibility

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

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

diffstat:
 streamlink/COMMIT_MSG                              | 20 +++++++++++++++++++-
 streamlink/Makefile                                |  2 +-
 streamlink/PLIST                                   |  3 ---
 streamlink/distinfo                                |  8 ++++----
 streamlink/patches/patch-build__backend_onbuild.py | 20 +++++++++++++-------
 5 files changed, 37 insertions(+), 16 deletions(-)

diffs:
diff --git a/streamlink/COMMIT_MSG b/streamlink/COMMIT_MSG
index c53c4ff63f..0cad505eb3 100644
--- a/streamlink/COMMIT_MSG
+++ b/streamlink/COMMIT_MSG
@@ -1,7 +1,25 @@
-multimedia/streamlink: update to streamlink-6.4.0
+multimedia/streamlink: update to streamlink-6.5.0
 
 Changelog:
 
+== streamlink 6.5.0 (2023-12-16)
+
+Release highlights:
+
+- Fixed: `UserWarning` being emitted by recent `pycountry` releases when
+  parsing certain language codes
+- Fixed: trace logging setup in `WebsocketClient` implementation
+- Updated plugins:
+  - btv: switched to HLS multivariant playlists
+  - gulli: rewritten plugin
+  - twitch: removed/disabled `--twitch-disable-reruns`
+  - twitch: enabled `check_streams` HLS option, to ensure early stream
+            availability without querying the delayed Twitch API
+  - twitch: removed unnecessary Twitch API error messages for offline channels
+  - wasd: removed plugin
+- Build: added support for `versioningit >=3.0.0`, with backward compatibility
+
+
 = streamlink 6.4.1 (2023-11-22)
 
 Patch release:
diff --git a/streamlink/Makefile b/streamlink/Makefile
index 3360c9d474..6a64aee9b6 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.4.1
+DISTNAME=	streamlink-6.5.0
 CATEGORIES=	multimedia
 MASTER_SITES=	${MASTER_SITE_GITHUB:=streamlink/}
 GITHUB_RELEASE=	${PKGVERSION_NOREV}
diff --git a/streamlink/PLIST b/streamlink/PLIST
index ff09870f4a..b3ec258c8b 100644
--- a/streamlink/PLIST
+++ b/streamlink/PLIST
@@ -496,9 +496,6 @@ ${PYSITELIB}/streamlink/plugins/vkplay.pyo
 ${PYSITELIB}/streamlink/plugins/vtvgo.py
 ${PYSITELIB}/streamlink/plugins/vtvgo.pyc
 ${PYSITELIB}/streamlink/plugins/vtvgo.pyo
-${PYSITELIB}/streamlink/plugins/wasd.py
-${PYSITELIB}/streamlink/plugins/wasd.pyc
-${PYSITELIB}/streamlink/plugins/wasd.pyo
 ${PYSITELIB}/streamlink/plugins/webtv.py
 ${PYSITELIB}/streamlink/plugins/webtv.pyc
 ${PYSITELIB}/streamlink/plugins/webtv.pyo
diff --git a/streamlink/distinfo b/streamlink/distinfo
index b03acac439..036f16a7b2 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.4.1.tar.gz) = 8b6155ddbc766f23b7f40f9a7b55e38714a03e36447d8dd496c4e9a5d12f26d3
-SHA512 (streamlink-6.4.1.tar.gz) = 8886b990637e9f4e87b4fcdc00c2d3e11203746e7256c0d85aee3128f65baaf37ea730c2626c3ec8f0f5ee0042bbd271c4a6290bd346d59915f2f554602f0db4
-Size (streamlink-6.4.1.tar.gz) = 715775 bytes
-SHA1 (patch-build__backend_onbuild.py) = bb629b2eec33852fe97901458238f1bbe09568e7
+BLAKE2s (streamlink-6.5.0.tar.gz) = 2e078595ef83a1b930cdc09d1e53f2eaafe8ccf3d60a7e542b7508b4b346e596
+SHA512 (streamlink-6.5.0.tar.gz) = affd45d1b17704768a405b389f9696090917e5cc73b0e22455e7f944eb0798dae7b23f73a728d3641fb43a5104e731816442be0e6f05a04a5bfe132c28d5491c
+Size (streamlink-6.5.0.tar.gz) = 715983 bytes
+SHA1 (patch-build__backend_onbuild.py) = c548d70a6cda4fc8cd68ef76b8865233e8337bdb
 SHA1 (patch-setup.py) = 3fe1a417ba929a95956dd9d70e470fb0e289d718
diff --git a/streamlink/patches/patch-build__backend_onbuild.py b/streamlink/patches/patch-build__backend_onbuild.py
index 2ac327b858..f526280ba9 100644
--- a/streamlink/patches/patch-build__backend_onbuild.py
+++ b/streamlink/patches/patch-build__backend_onbuild.py
@@ -2,24 +2,30 @@ $NetBSD$
 
 Match the call parameters with how it is used by our py-versioningit package.
 
---- build_backend/onbuild.py.orig	2023-10-26 13:05:52.000000000 +0000
+--- build_backend/onbuild.py.orig	2023-12-16 06:18:37.000000000 +0000
 +++ build_backend/onbuild.py
-@@ -8,8 +8,8 @@ from typing import Any, Dict, Generator,
+@@ -18,11 +18,12 @@ except ImportError:  # pragma: no cover
  def onbuild(
-     build_dir: Union[str, Path],
+     *,
      is_source: bool,
 -    template_fields: Dict[str, Any],
 -    params: Dict[str, Any],
-+    version: str,
-+    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,
++    version: Optional[str] = None
  ):
      """
      Remove the ``versioningit`` build-requirement from Streamlink's source distribution.
-@@ -25,7 +25,6 @@ def onbuild(
+@@ -45,7 +46,8 @@ def onbuild(
+         raise RuntimeError("Missing file_provider or build_dir")
  
-     base_dir: Path = Path(build_dir).resolve()
      pkg_dir: Path = base_dir / "src" if is_source else base_dir
 -    version: str = template_fields["version"]
++    if version == None:
++        version = template_fields["version"]
      cmproxy: Proxy[str]
  
      # Remove versioningit from ``build-system.requires`` in ``pyproject.toml``


Home | Main Index | Thread Index | Old Index