SHA256
1
0
forked from pool/streamlink

Accepting request 1181944 from multimedia:apps

OBS-URL: https://build.opensuse.org/request/show/1181944
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/streamlink?expand=0&rev=13
This commit is contained in:
Ana Guerrero 2024-06-21 14:03:33 +00:00 committed by Git OBS Bridge
commit 1fc1f64321
8 changed files with 155 additions and 62 deletions

3
_multibuild Normal file
View File

@ -0,0 +1,3 @@
<multibuild>
<package>test</package>
</multibuild>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b5fb719f4251a692c88788a1d46e2cd0fa2231960c52b281cb8210871c722e76
size 716194

View File

@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQSJpO+lZTuJnmYReZka62QA7aJ9qQUCZWZDiwAKCRAa62QA7aJ9
qSbJAP495YUlpC/ZrLX5GfRMSzw/V7i/BCO3yXSLV42owWYgQAEAw7cFhOCuNurG
R6i6PSPyOvgzIA+xKe+lCVdJOYwgrQM=
=B7x4
-----END PGP SIGNATURE-----

3
streamlink-6.8.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4c437efac282b4df026519f2069e278911656fe2cf48d732302bbd466f86399d
size 748765

View File

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQSJpO+lZTuJnmYReZka62QA7aJ9qQUCZnGA1gAKCRAa62QA7aJ9
qeOvAQCeJQj6U96U+VAsn6PLX4KFFgdKGYSkITDdwG9AN4/XBQD5AUQfF5XqMuVO
K4tqBI+KB7AK9a6M4aJzFH15NBfxowM=
=OdMY
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,74 @@
-------------------------------------------------------------------
Mon Jun 17 20:55:32 UTC 2024 - Richard Rahl <rrahl0@disroot.org>
- update to 6.8.1:
* Fixed: failed HTTPAdapter tests on some OpenSSL configurations
- update to 6.8.0:
* sha256 checksum to log message when side-loading plugins
* SSLContextAdapter to streamlink.session.http
* Deprecated: old re-exports in streamlink.plugins package
* Updated plugins: bilibili, chzzk cnbce, kick, tf1, tvp, welt
-------------------------------------------------------------------
Mon May 13 21:29:51 UTC 2024 - Richard Rahl <rrahl0@disroot.org>
- update to 6.7.4:
* Updated plugins
* Build: removed exceptiongroup dependency on Python >= 3.11
-------------------------------------------------------------------
Tue May 7 07:29:47 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Fix the testsuite, pytest >= 8 is required.
-------------------------------------------------------------------
Mon Apr 22 12:52:19 UTC 2024 - Richard Rahl <rrahl0@disroot.org>
- update to 6.7.3:
* Fixed: file output paths being able to exceed max file/directory name length
* Fixed: propagation of KeyboardInterrupt/SystemExit in streamlink.webbrowser
* Fixed: compatibility with exceptiongroup<=1.1.1
* Fixed: plugin.api.validate.parse_qsd input type validation
* Updated plugins
* Tests: fixed test failure when running tests from the bdist build directory
- add mpv as an alternative
- disable tests for now, as they break for no apparent reason
-------------------------------------------------------------------
Sat Jan 27 13:41:21 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 6.5.1:
* Fixed: file output path log message on py38/py39
* Improved: warning message when using quoted player paths (in
config files)
* artetv: updated API response validation schema
* atresplayer: updated API response validation schema
* bigo: reimplemented plugin
* bilibili: fixed stream resolving issues on channels with
custom layouts
* huya: added stream CDN availability check
* twitch: disabled Chromium headless mode on client-integrity
token acquirement
* vidio: fixed missing API request cookies
* zattoo: fixed audio/video sync issues
- add keyring for gpg validation
-------------------------------------------------------------------
Wed Jan 10 03:40:38 UTC 2024 - Tejas Guruswamy <tejas.guruswamy@opensuse.org>
- Update to version 6.5.0
* Fixed: UserWarning being emitted by recent pycountry releases when parsing certain language codes (#5722)
* Fixed: trace logging setup in WebsocketClient implementation (#5705)
* Updated plugins:
* btv: switched to HLS multivariant playlists (#5698)
* gulli: rewritten plugin (#5725)
* twitch: removed/disabled --twitch-disable-reruns (#5704)
* twitch: enabled check_streams HLS option, to ensure early stream availability without querying the delayed Twitch API (#5708)
* twitch: removed unnecessary Twitch API error messages for offline channels (#5709)
* wasd: removed plugin (#5711)
* Build: added support for versioningit >=3.0.0, with backward compatibility (#5721)
-------------------------------------------------------------------
Sun Dec 3 02:09:01 UTC 2023 - Tejas Guruswamy <tejas.guruswamy@opensuse.org>
@ -56,7 +127,7 @@ Mon Oct 23 09:25:38 UTC 2023 - Hakim Zulkufli <hakim.zulkufli@gmail.com>
+ Docs: split up, updated and improved API docs (#5398)
+ Build: moved project metadata to pyproject.toml (PEP621) (#5438)
+ Dependencies: added trio (#5386), trio-websocket and typing-extensions (#5388), and removed importlib_metadata (#5302)
-------------------------------------------------------------------
Mon Jun 5 08:25:35 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

18
streamlink.keyring Normal file
View File

@ -0,0 +1,18 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: Hostname:
Version: Hockeypuck 2.2
xjMEZLWhshYJKwYBBAHaRw8BAQdAu0sD5Ez8mfroVXpEohGHAeH1H2xduEHsYHkG
IciKHdzNMlN0cmVhbWxpbmsgc2lnbmluZyBrZXkgPHN0cmVhbWxpbmtAcHJvdG9u
bWFpbC5jb20+wpAEExYIADgWIQTNrEG5EiRw+vNXqdNERIopjVw2GAUCZLWhsgIb
AwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRBERIopjVw2GH2MAQCxW0AG6K8A
P7hUfQHU7eMCBlNxhr1JcCcxl2ajcaOojAD9E+klQNd7VIFH3NcVlw42ADfFGdph
t6uwU8886DclIgPOMwRktaJCFgkrBgEEAdpHDwEBB0CgjJ8c9OXf+00EpqZb6Oxk
hIDDbLJKG04d7eRigLUYt8LANQQYFggAJhYhBM2sQbkSJHD681ep00REiimNXDYY
BQJktaJCAhsCBQkDwmcAAIEJEEREiimNXDYYdiAEGRYIAB0WIQSJpO+lZTuJnmYR
eZka62QA7aJ9qQUCZLWiQgAKCRAa62QA7aJ9qXDFAP48Ey3Xmp1BV6WhGNXTpB0d
8bJGoB/8tU0+69IyJH0SmQD9HWnTyGB3CMJucvIo7Nk4eBUX8E85ihoS7+IXzUcV
QwSt4AEApftOu4JXMHIHlh6tJsYaFkzdaGmjAW0BzeNt307O044A/3uRa2taEy1v
iAHLt0/6i6k4jqUh85TUDiqID4pS1O0O
=owHP
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -1,7 +1,7 @@
#
# spec file for package streamlink
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,49 +16,52 @@
#
%define pythons python3
%{?sle15_python_module_pythons}
Name: streamlink
Version: 6.4.2
%global flavor @BUILD_FLAVOR@%nil
%if "%{flavor}" == "test"
%define psuffix -test
%else
%define psuffix %nil
%endif
Name: streamlink%{psuffix}
Version: 6.8.1
Release: 0
Summary: Program to pipe streams from services into a video player
License: BSD-2-Clause
Group: Development/Languages/Python
License: Apache-2.0 AND BSD-2-Clause
URL: https://streamlink.github.io/
Source: https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
Source1: https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz.asc
BuildRequires: %{python_module Sphinx >= 4}
BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module pip >= 9}
BuildRequires: %{python_module requests >= 2.26}
Source: https://github.com/%{name}/%{name}/releases/download/%{version}/streamlink-%{version}.tar.gz
Source1: https://github.com/%{name}/%{name}/releases/download/%{version}/streamlink-%{version}.tar.gz.asc
Source2: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xcdac41b9122470faf357a9d344448a298d5c3618#/streamlink.keyring
BuildRequires: fdupes
BuildRequires: python-rpm-macros
#BuildRequires: %#{python_module versioningit >= 2.0.0}
BuildRequires: %{python_module wheel}
BuildRequires: python3-PySocks >= 1.5.6
BuildRequires: python3-Sphinx >= 4
BuildRequires: python3-certifi
BuildRequires: python3-devel >= 3.8
BuildRequires: python3-isodate
BuildRequires: python3-lxml >= 4.6.4
BuildRequires: python3-mypy
BuildRequires: python3-pip >= 9
BuildRequires: python3-pycountry
BuildRequires: python3-pycryptodome >= 3.4.3
BuildRequires: python3-requests >= 2.26
BuildRequires: python3-setuptools
BuildRequires: python3-trio >= 0.22.0
BuildRequires: python3-trio-typing
BuildRequires: python3-trio-websocket >= 0.9.0
BuildRequires: python3-typing_extensions >= 4.0.0
BuildRequires: python3-urllib3 >= 1.26.0
BuildRequires: python3-versioningit >= 2.0.0
BuildRequires: python3-websocket-client >= 1.2.1
BuildRequires: python3-wheel
# SECTION TEST REQUIREMENTS
BuildRequires: %{python_module pytest >= 6.0.0}
BuildRequires: %{python_module freezegun >= 1.0.0}
BuildRequires: %{python_module pytest >= 6.0.0}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest-trio}
BuildRequires: %{python_module requests-mock}
# /SECTION
BuildRequires: %{python_module PySocks >= 1.5.6}
BuildRequires: %{python_module certifi}
BuildRequires: %{python_module isodate}
BuildRequires: %{python_module lxml >= 4.6.4}
BuildRequires: %{python_module pycountry}
BuildRequires: %{python_module pycryptodome >= 3.4.3}
BuildRequires: %{python_module trio >= 0.22.0}
BuildRequires: %{python_module trio-websocket >= 0.9.0}
BuildRequires: %{python_module typing-extensions >= 4.0.0}
BuildRequires: %{python_module urllib3 >= 1.26.0}
BuildRequires: %{python_module websocket-client >= 1.2.1}
BuildConflicts: %{python_module PySocks = 1.5.7}
%if "%{flavor}" == "test"
BuildRequires: python3-freezegun >= 1.0.0
BuildRequires: python3-pytest >= 8.0.0
BuildRequires: python3-pytest-asyncio
BuildRequires: python3-pytest-trio
BuildRequires: python3-requests-mock
BuildRequires: streamlink = %{version}
%endif
Requires: python3-PySocks >= 1.5.6
Requires: python3-certifi
@ -74,7 +77,7 @@ Requires: python3-urllib3 >= 1.26.0
Requires: python3-websocket-client >= 1.2.1
Conflicts: python3-PySocks = 1.5.7
Recommends: vlc
Recommends: (vlc or mpv)
Suggests: ffmpeg
BuildArch: noarch
@ -85,26 +88,23 @@ avoid resource-heavy and unoptimized websites, while still allowing the user to
enjoy various streamed content.
%prep
%setup -q
%autosetup -n streamlink-%{version}
%build
%pyproject_wheel
%python3_build
%if "%{flavor}" != "test"
%install
%pyproject_install
find %{buildroot}{%{python3_sitelib},%{python_sitelib}} -type f -name '*.py' | while read py; do
if [[ "$(head -c2 "$py"; echo)" == "#!" ]]; then
chmod a+x "$py"
else
chmod a-x "$py"
fi
done
%python3_install --root %{buildroot}
%fdupes -s %{buildroot}
%endif
%if "%{flavor}" == "test"
%check
%pytest
pytest
%endif
%if "%{flavor}" != "test"
%files
%license LICENSE
%doc AUTHORS CHANGELOG.md MANIFEST.in README.md
@ -117,5 +117,6 @@ done
%dir %{_datadir}/zsh
%dir %{_datadir}/zsh/site-functions
%{_datadir}/zsh/site-functions/_streamlink
%endif
%changelog