Accepting request 894934 from multimedia:apps

OBS-URL: https://build.opensuse.org/request/show/894934
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/streamlink?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2021-05-23 21:30:44 +00:00 committed by Git OBS Bridge
commit 9f683fd5bf
5 changed files with 68 additions and 4 deletions

View File

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

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

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

View File

@ -0,0 +1,22 @@
From 05c3daad638073efb520ca3c27201cb41c341bc3 Mon Sep 17 00:00:00 2001
From: Alexis Murzeau <amubtdx@gmail.com>
Date: Fri, 26 Mar 2021 22:58:52 +0100
Subject: [PATCH] build: include .removed file in build
This file is required by tests when executing them with the build dir.
---
setup.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/setup.py b/setup.py
index ac1bc9294a..9db3a46a50 100644
--- a/setup.py
+++ b/setup.py
@@ -98,6 +98,7 @@ def is_wheel_for_windows():
license="Simplified BSD",
packages=find_packages("src"),
package_dir={"": "src"},
+ package_data={"streamlink.plugins": [".removed"]},
entry_points=entry_points,
data_files=data_files,
install_requires=deps,

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Wed May 19 22:13:33 UTC 2021 - Tejas Guruswamy <tejas.guruswamy@opensuse.org>
- Update to 2.1.1
* Added: --interface, -4 / --ipv4 and -6 / --ipv6 (#3483)
* Added: --niconico-purge-credentials (#3434)
* Added: --twitcasting-password (#3505)
* Added: Linux AppImages (#3611)
* Added: pre-built man page to bdist wheels and sdist tarballs (#3459, #3510)
* Added: plugin for ahaber.com.tr and atv.com.tr (#3484), nimo.tv (#3508)
* Fixed: --player-http / --player-continuous-http HTTP server being bound to all interfaces (#3450)
* Fixed: handling of languages without alpha_2 code when using pycountry (#3518)
* Fixed: memory leak when calling streamlink.streams() (#3486)
* Fixed: race condition in HLS related tests (#3454)
* Fixed: --player-fifo issues on Windows with VLC or MPV (#3619)
* Fixed: various plugins issues (see detailed changelog down below)
* Removed: Windows portable (RosadinTV) (#3535)
* Removed: plugin for micous.com (#3457), ntvspor.net (#3485), btsports (#3636)
* Dependencies: set websocket-client to >=0.58.0 (#3634)
- Fix tests at build time (streamlink-fix_removed_plugin_test.patch, #3653)
-------------------------------------------------------------------
Thu Feb 18 22:14:02 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@ -16,26 +16,43 @@
#
%define pythons python3
Name: streamlink
Version: 2.0.0
Version: 2.1.1
Release: 0
Summary: Program to pipe streams from services into a video player
License: BSD-2-Clause
Group: Development/Languages/Python
URL: https://streamlink.github.io/
Source: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM streamlink-fix_removed_plugin_test.patch https://github.com/streamlink/streamlink/pull/3653
Patch0: streamlink-fix_removed_plugin_test.patch
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-Sphinx
BuildRequires: python3-devel >= 3.4
BuildRequires: python3-requests >= 1.0
BuildRequires: python3-setuptools
# TEST REQUIREMENTS
BuildRequires: python3-pytest
BuildRequires: python3-PySocks
BuildRequires: python3-freezegun
BuildRequires: python3-isodate
BuildRequires: python3-pycountry
BuildRequires: python3-pycryptodome
BuildRequires: python3-requests-mock
BuildRequires: python3-websocket-client
Requires: python3-PySocks
Requires: python3-isodate
Requires: python3-pycountry
Requires: python3-pycryptodome
Requires: python3-requests >= 1.0
Requires: python3-websocket-client
Recommends: vlc
Suggests: ffmpeg
Suggests: rtmpdump
@ -51,6 +68,7 @@ Streamlink is a fork of the livestreamer project.
%prep
%setup -q
%patch0 -p1
%build
%python3_build
@ -70,6 +88,9 @@ find %{buildroot}{%{python3_sitelib},%{python_sitelib}} -type f -name '*.py' | w
done
%fdupes -s %{buildroot}
%check
%pytest
%files
%license LICENSE
%doc AUTHORS CHANGELOG.md MANIFEST.in README.md