Accepting request 980842 from home:MasterPatricko

- Update to version 4.0.1
  + Major breaking changes! Please review the changelog thoroughly.
    https://streamlink.github.io/changelog.html#streamlink-4-0-0-2022-05-01
  + dropped support for Python 3.6 (#4442)
  + removed streamlink.plugin.api.utils module (#4467)
- Update to version 3.0.3
  + Major breaking changes! Please review the changelog thoroughly.
    https://streamlink.github.io/changelog.html#streamlink-3-0-3-2021-11-27
  + dropped support for RTMP, HDS and AkamaiHD streams
  + removed related CLI arguments
  + switched from HTTP to HTTPS for all kinds of scheme-less input URLs.
  + changed Session.resolve_url() and Session.resolve_url_no_redirect()
streamlink now only builds on TW

OBS-URL: https://build.opensuse.org/request/show/980842
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/streamlink?expand=0&rev=23
This commit is contained in:
Takashi Iwai 2022-06-09 12:10:36 +00:00 committed by Git OBS Bridge
parent 599586295b
commit 304624348b
7 changed files with 57 additions and 43 deletions

View File

@ -1,12 +0,0 @@
diff -Nur streamlink-2.3.0/setup.py streamlink-2.3.0-patched/setup.py
--- streamlink-2.3.0/setup.py 2021-07-26 02:24:06.000000000 +0200
+++ streamlink-2.3.0-patched/setup.py 2021-08-30 16:54:33.133224469 +0200
@@ -12,7 +12,7 @@
deps = [
# Temporarily set requests to 2.25.1 on Windows to fix issues with randomly failing tests
# Don't force an older requests version on non-Windows systems due to packaging reasons
- "requests>=2.26.0,<3.0 ; platform_system!='Windows'",
+ "requests>=2.21.0,<3.0 ; platform_system!='Windows'",
"requests==2.25.1 ; platform_system=='Windows'",
"isodate",
"websocket-client>=0.58.0",

View File

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

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4reUx8LDcWLl4qCX49ueKC45D6AFAmD+ANYACgkQ49ueKC45
D6DzLBAA9lvMUfJDyHrI+62CFHK6UDTwI+73d9Y9cKO1oUYLf5uWYPdDJKXPY8RT
U+yIQZN8TmQO6GvY2JLmNbzSZ585MywQgnZflj137X2+G/zC39BhngnZnTUZyW2g
0AXFieP/VD4p8yjiZ1hkNOdVYCLjARyRP9xvwQAbLjFRPtpKzMSzo41vOSY6wMqo
QcQuOmNDNBdoLkd2KHZSkzjEYZ3Uq1bNj3qqsQ4hcP4lzBVElHWNctVZhaBkRT6V
U/ZN5aWpIPYgtM7uoRReK1DO4kVogcWaAwjsMdBJmsmq4AFYQwo0CYrUXd1jc/Fb
APOvTYKTHSuvovpuo6km9pugImQapWdlDuerHJzXGZtKPeciK4MN+VRFds+lx/fJ
drk9pGR5oUCKP7jt0hvOHmWBjNsJHo42DT8meq1CYLE52FSS/9R2Yjp8uirAkVNV
dgFlJ7XWr3CD3BQVYoU+DX2xb94217Il454x3vdjy2/eIt0co4pEEfpeIEti1PLH
6uwbIXjXefMU8Y/rWHrdREnRwgIm+NS1v5iK9mB4IOaXyLXYJZ7C5r9/kHNQurFj
mdssMhgH8Wt1PTdTSGQqtV/A+hAD/wwdICPnXXtCnoOjAIbb4Pv82+FeN5TufPw1
p1REoKMEoHYXMReoWvD20cJjKN9rWdXaG1bmc6OZe8PYYMuUl3c=
=nJUs
-----END PGP SIGNATURE-----

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

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

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4reUx8LDcWLl4qCX49ueKC45D6AFAmJux2kACgkQ49ueKC45
D6C7+Q/+NHDJF2esVhs9p1sqeli82UbeCms02ouydT5d7xWeGSDt02lJTrZO6LL1
T6DPSbWPGkTdIs2uFu9YZuqD/miyqCTS1DzbsdQL/vlrmCHH9/CF++oUGSmc3zZ8
WfNGftAWhs0rHGvcgeDZl6Bywwidw3z4dyR0A7Lw5Sir/mpQUehLTs+M0IAFRPS4
+I5/BnYjtzdtrCYyjlFhxJr+ZemZO6fKsZFLvkq2gV3Iu8TONJEk93uPkyBkSZvR
G5Gp7KSOA6DHeThwI91crNwMZQguQax09A8Pkcda+9ErtB94NVvVpFrkizb+7h5k
leDyRwGxmPWac2TmHQzK4UT/dLNNnj9gLO82GvPacObKFBA9UFk+uPnMmyIxMmqq
0oKrdAtmjfWR94UIt00TUoFU/HbHLqeeIfPQwk2Kkq2ZTibJDjjrDUPXXkXb67GK
Xj9mYN9uJbttb1VFOqlRFW/P5ZQsUCUHFXbohZZ9yp1n/ncqrWRIatOvhLVQs0w5
fsQT8EmLiuYWfskxnw0q43I5gEMBMdlgfVXayicoVepwSMpfG807FE4dXr4I3cSa
fGlpGlVy/1y/xjTW3s4Dj55z5TM/MWsvoXSSt7xQ1wxRZntJB16SPWtP6OKxwn2e
ZlTdV38zUXY96dSWgNYGT9mPYT4KSos/cl9iMXwbVL5/rZykjDU=
=yOOC
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Sat May 21 23:29:02 UTC 2022 - Tejas Guruswamy <tejas.guruswamy@opensuse.org>
- Dropped python-version-requests.patch
+ streamlink now only builds on TW where we have requests-2.27
-------------------------------------------------------------------
Sat May 21 20:29:03 UTC 2022 - Tejas Guruswamy <tejas.guruswamy@opensuse.org>
- Update to version 4.0.1
+ Major breaking changes! Please review the changelog thoroughly.
https://streamlink.github.io/changelog.html#streamlink-4-0-0-2022-05-01
+ dropped support for Python 3.6 (#4442)
+ removed streamlink.plugin.api.utils module (#4467)
-------------------------------------------------------------------
Sat Jan 15 02:02:26 UTC 2022 - Tejas Guruswamy <tejas.guruswamy@opensuse.org>
- Update to version 3.0.3
+ Major breaking changes! Please review the changelog thoroughly.
https://streamlink.github.io/changelog.html#streamlink-3-0-3-2021-11-27
+ dropped support for RTMP, HDS and AkamaiHD streams
+ removed related CLI arguments
+ switched from HTTP to HTTPS for all kinds of scheme-less input URLs.
+ changed Session.resolve_url() and Session.resolve_url_no_redirect()
-------------------------------------------------------------------
Mon Aug 30 15:51:53 UTC 2021 - Simon Puchert <simonpuchert@alice.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package streamlink
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,8 +17,9 @@
%define pythons python3
Name: streamlink
Version: 2.3.0
Version: 4.0.1
Release: 0
Summary: Program to pipe streams from services into a video player
License: BSD-2-Clause
@ -26,16 +27,15 @@ Group: Development/Languages/Python
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
# Revert the increased requirements for now since we don't have
# python-requests 2.26 yet.
Patch0: python-requests-version.patch
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-Sphinx
BuildRequires: python3-devel >= 3.6
BuildRequires: python3-pip
BuildRequires: python3-requests >= 2.21
BuildRequires: python3-setuptools
BuildRequires: python3-versioningit
BuildRequires: python3-wheel
# TEST REQUIREMENTS
BuildRequires: python3-pytest
@ -69,16 +69,12 @@ Streamlink is a fork of the livestreamer project.
%prep
%setup -q
%patch0 -p1
%build
%python3_build
%pyproject_wheel
%install
export STREAMLINK_USE_PYCOUNTRY="true"
%python3_install \
--root=%{buildroot} \
--prefix=%{_prefix}
%pyproject_install
find %{buildroot}{%{python3_sitelib},%{python_sitelib}} -type f -name '*.py' | while read py; do
if [[ "$(head -c2 "$py"; echo)" == "#!" ]]; then
@ -98,5 +94,9 @@ done
%{_bindir}/%{name}
%{python3_sitelib}/%{name}*/
%_mandir/man*/*
%{_datadir}/bash-completion/completions/streamlink
%dir %{_datadir}/zsh
%dir %{_datadir}/zsh/site-functions
%{_datadir}/zsh/site-functions/_streamlink
%changelog