Accepting request 915107 from home:simonpuchert:branches:multimedia:apps
- Add python-requests-version.patch: * Revert a commit that increased the version requirements as the required version is not available in Factory. OBS-URL: https://build.opensuse.org/request/show/915107 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/streamlink?expand=0&rev=22
This commit is contained in:
parent
522a8f333a
commit
599586295b
12
python-requests-version.patch
Normal file
12
python-requests-version.patch
Normal file
@ -0,0 +1,12 @@
|
||||
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",
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 30 15:51:53 UTC 2021 - Simon Puchert <simonpuchert@alice.de>
|
||||
|
||||
- Add python-requests-version.patch:
|
||||
* Revert a commit that increased the version requirements as the
|
||||
required version is not available in Factory.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 16 19:40:16 UTC 2021 - Simon Puchert <simonpuchert@alice.de>
|
||||
|
||||
|
@ -26,6 +26,9 @@ 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
|
||||
@ -66,6 +69,7 @@ Streamlink is a fork of the livestreamer project.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%python3_build
|
||||
|
Loading…
Reference in New Issue
Block a user