Accepting request 982363 from multimedia:apps

OBS-URL: https://build.opensuse.org/request/show/982363
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/streamlink?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2022-06-13 11:02:51 +00:00 committed by Git OBS Bridge
commit a4fa10a4e2
7 changed files with 90 additions and 52 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.1.0.tar.gz Normal file
View File

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

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4reUx8LDcWLl4qCX49ueKC45D6AFAmKVBcEACgkQ49ueKC45
D6BA0g//d7uOL0YVy1ByneYIAIVKH3O1q4NtEUikRcZCqshb4lnVqRvqnJvXuXu7
LAAFNM/v5hMr2bZzCJqArBhzhB6pqcixLzng6nGWPu9qFQDY/2d68rR9KtCVE80j
15l50DD49MJgUlp7ZtAlTIYdgcOi9QlozwF1/WIfEy0l4pCkZfjcdkXRW8FZoONf
RhfRHKKdQGfjU54j2bb/a3AOH6/sxUX6BRbFK4ynKIADaPIjrYxG/chblw1cO9g+
Gh5nVgGargbnj0x07EWAiTCzZEm4Gmgntp5RvqM36RMjZHEf19wvDALM4U7eRZC1
ual4qDNJTA4DZSmBrkpIx3i4kVFDYx2pXdZ7tGvYVAA9pATOg0S9kBgcF/OyEllG
F2WnFW+ABWg0jJYsHTrx7e44HTfPrAjfH2EKrcekRu0Gq1U+yPdgH+JKvPPdhi3o
ZM75IoEdQZOVbB3IQ9VopiG4pmsMcgPNHvsDwgKDH4dEOZcl/JvXTdX4ROK/sxPP
H0PRarhFvW1pdTnmtd41NasHdt31x27Ba1zAhCRplxxI/0Kh4z+jQ0QerBvl/tvr
lthkt2f2YeB3nPSPGaRBPIr6XJlKMvhuq/bv6u4DdM63kaIfLZ6bCCpqz8TXk0DR
QD0fiWjYtf4UsodUdiXfRi+OviEeqUWIa2DW1zQ9Pai/wq3iEfE=
=ic+V
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,47 @@
-------------------------------------------------------------------
Thu Jun 9 16:06:20 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to version 4.1.0
* Improved: decryption of HLS streams (#4533)
* Improved: HLS playlist parsing (#4540, #4552)
* Improved: string representations of Stream implementations
(#4521)
* Fixed: new YouTube consent dialog (#4515)
* Fixed: crunchyroll plugin (#4510)
* Fixed: nicolive email logins (#4553)
* Fixed: threading issue when closing segmented streams (#4517)
* Removed: suppression of InsecureRequestWarning (#4525)
* New plugins: blazetv (#4548), hiplayer (#4507), useetv (#4536)
* Removed plugins: rotana (#4512)
- The real name of the patch was python-requests-version.patch
- Update requirements.
-------------------------------------------------------------------
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.1.0
Release: 0
Summary: Program to pipe streams from services into a video player
License: BSD-2-Clause
@ -26,33 +27,36 @@ 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-requests >= 2.21
BuildRequires: python3-setuptools
BuildRequires: python3-devel >= 3.7
BuildRequires: python3-pip
BuildRequires: python3-requests >= 2.26
BuildRequires: python3-versioningit
BuildRequires: python3-wheel
# TEST REQUIREMENTS
BuildRequires: python3-pytest
BuildRequires: python3-PySocks
BuildRequires: python3-PySocks >= 1.5.6
BuildRequires: python3-freezegun
BuildRequires: python3-isodate
BuildRequires: python3-lxml >= 4.6.4
BuildRequires: python3-pycountry
BuildRequires: python3-pycryptodome
BuildRequires: python3-requests-mock
BuildRequires: python3-websocket-client
BuildRequires: python3-websocket-client >= 1.2.1
BuildConflicts: python3-PySocks = 1.5.7
Requires: python3-PySocks
Requires: python3-PySocks >= 1.5.6
Requires: python3-isodate
Requires: python3-lxml >= 4.6.4
Requires: python3-pycountry
Requires: python3-pycryptodome
Requires: python3-requests >= 2.21
Requires: python3-websocket-client >= 0.58
Requires: python3-pycryptodome >= 3.4.3
Requires: python3-requests >= 2.26
Requires: python3-websocket-client >= 1.2.1
Conflicts: python3-PySocks = 1.5.7
Recommends: vlc
Suggests: ffmpeg
@ -69,16 +73,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
@ -96,7 +96,13 @@ done
%license LICENSE
%doc AUTHORS CHANGELOG.md MANIFEST.in README.md
%{_bindir}/%{name}
%{python3_sitelib}/%{name}*/
%{python3_sitelib}/%{name}
%{python3_sitelib}/%{name}_cli
%{python3_sitelib}/%{name}-%{version}*-info
%_mandir/man*/*
%{_datadir}/bash-completion/completions/streamlink
%dir %{_datadir}/zsh
%dir %{_datadir}/zsh/site-functions
%{_datadir}/zsh/site-functions/_streamlink
%changelog