streamlink/streamlink.spec
Tejas Guruswamy ff0b3549f3 Accepting request 1119762 from home:hzu
- Update to version 6.2.1:
  + Added: official support for Python 3.12 (#5576)
  + Fixed plugins: goodgame (#5557), nos (#5565), pandalive (#5569), wwenetwork (#5559)
  + Build: added custom setuptools build-backend override which fixes issues with building Windows-specific wheels (#5558)
- Update to version 6.2.0:
  + Added: --player-env CLI argument (#5535)
  + Added: OpenSSL version to debug log output (#5506)
  + Updated: segmented stream internals and typing (#5504, #5507)
  + Updated: internal HLS tag parsing setup and parser state (#5513, #5521)
  + Fixed: HLS streams not ending on playlist reload with endlist tag and no new segments (#5538)
  + Fixed: missing file encoding when writing a log file (#5532)
  + Added plugins: piaulizaportal (#5508)
  + Fixed plugins: hiplayer (#5534), nicolive (#5529), pluto (#5551)
  + Docs: added list of supported metadata variables for each plugin (#5517, #5519)
- Update to version 6.1.0:
  + Added: --hls-segment-queue-threshold for being able to configure when to stop HLS streams early on missing segments (#5478)
  + Fixed: config file parsing issues and made parsing argument values more strict (#5484)
  + Fixed: race condition when reading and validating the FFmpeg version string (#5480)
  + Fixed plugins: atresplayer (#5477)
  + Docs: added code examples for the removal of Streamlink.{g,s}et_plugin_option (#5497)
  + Build: fixed entry-points config issues with setuptools 68.1.0 (#5500)
- Update to version 6.0.1:
  + Added: missing options argument to Streamlink.streams() (#5469)
  + Fixed: migration docs and the 6.0.0 changelog of the Streamlink.{g,s}et_plugin_option() removal (#5471)
  + Fixed plugins: huya (#5467)
  + Docs: updated build-dependencies and the furo theme (#5464, #5465)
- Update to version 6.0.0:
  + BREAKING: dropped support for Python 3.7 (#5302)
  + BREAKING: turned --player CLI argument into a player-path-only argument (#5305, #5310)
  + BREAKING: removed deprecated {filename} variable from --player-args (#5310)
  + BREAKING/API: removed support for the deprecated Plugin.can_handle_url() / Plugin.priority() classmethods (#5403)
  + BREAKING/API: removed deprecated compatibility wrapper for the Plugin constructor (#5402)
  + BREAKING/API: removed Streamlink.{g,s}et_plugin_option() (#5033)
  + BREAKING/API: removed deprecated global plugin arguments (#5033)
  + BREAKING/API: removed deprecated streamlink.plugin.api.validate.text (#5404)
  + BREAKING/API: fixed/changed signatures of HTTPStream, HLSStream and HLSStream.parse_variant_playlist() (#5429)
  + BREAKING/packaging: new signing key 44448A298D5C3618 (#5449)
  + Added: experimental streamlink.webbrowser API for extracting data from websites using the system's Chromium-based web browser (#5380, #5381, #5386, #5388, #5410)
  + See the --webbrowser, --webbrowser-executable and related CLI arguments for more
  + Added: client-integrity token support to Twitch plugin using the streamlink.webbrowser API (currently only used as a fallback when acquiring the access token fails) (#5414)
  + Added: {playertitleargs} variable to --player-args (#5310)
  + Added: with_{video,audio}_only parameters to DASHStream.parse_manifest() (#5340)
  + Changed: HLS streams to stop early on missing EXT-X-ENDLIST tag when polling the playlist doesn't yield new segments for twice its targetduration value (#5330)
  + Fixed: regex of optional protocol plugin parameters (#5367)
  + Fixed plugins: lrt (#5444), mediavitrina (#5376), mitele (#5436), NRK (#5408), pluzz (#5369), rtvs (#5443), showroom (#5390), turkuvaz (#5374), vimeo (#5335), youtube (#5351)
  + Docs: added migrations page for further guidance on resolving breaking changes (#5433)
  + 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)

OBS-URL: https://build.opensuse.org/request/show/1119762
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/streamlink?expand=0&rev=32
2023-10-24 21:40:46 +00:00

119 lines
3.7 KiB
RPMSpec

#
# spec file for package streamlink
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define pythons python3
Name: streamlink
Version: 6.2.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}/releases/download/%{version}/%{name}-%{version}.tar.gz
Source1: https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz.asc
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-Sphinx >= 4
BuildRequires: python3-devel >= 3.8
BuildRequires: python3-pip >= 9
BuildRequires: python3-requests >= 2.26
BuildRequires: python3-versioningit >= 2.0.0
BuildRequires: python3-wheel
# TEST REQUIREMENTS
BuildRequires: python3-pytest >= 6.0.0
BuildRequires: python3-PySocks >= 1.5.6
BuildRequires: python3-certifi
BuildRequires: python3-freezegun >= 1.0.0
BuildRequires: python3-isodate
BuildRequires: python3-lxml >= 4.6.4
BuildRequires: python3-pycountry
BuildRequires: python3-pycryptodome >= 3.4.3
BuildRequires: python3-pytest >= 6.0.0
BuildRequires: python3-pytest-asyncio
BuildRequires: python3-pytest-trio
BuildRequires: python3-requests-mock
BuildRequires: python3-trio >= 0.22.0
BuildRequires: python3-trio-websocket >= 0.9.0
BuildRequires: python3-typing-extensions >= 4.0.0
BuildRequires: python3-urllib3 >= 1.26.0
BuildRequires: python3-websocket-client >= 1.2.1
BuildConflicts: python3-PySocks = 1.5.7
Requires: python3-PySocks >= 1.5.6
Requires: python3-certifi
Requires: python3-isodate
Requires: python3-lxml >= 4.6.4
Requires: python3-pycountry
Requires: python3-pycryptodome >= 3.4.3
Requires: python3-requests >= 2.26
Requires: python3-trio >= 0.22.0
Requires: python3-trio-websocket >= 0.9.0
Requires: python3-typing-extensions >= 4.0.0
Requires: python3-urllib3 >= 1.26.0
Requires: python3-websocket-client >= 1.2.1
Conflicts: python3-PySocks = 1.5.7
Recommends: vlc
Suggests: ffmpeg
BuildArch: noarch
%description
Streamlink is a command-line utility which pipes video streams from various
services into a video player, such as VLC. The main purpose of Streamlink is to
avoid resource-heavy and unoptimized websites, while still allowing the user to
enjoy various streamed content.
%prep
%setup -q
%build
%pyproject_wheel
%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
%fdupes -s %{buildroot}
%check
%pytest
%files
%license LICENSE
%doc AUTHORS CHANGELOG.md MANIFEST.in README.md
%{_bindir}/%{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