SHA256
1
0
forked from pool/yt-dlp

- Remove python3-yt-dlp

OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=59
This commit is contained in:
Jan Engelhardt 2023-08-16 15:17:23 +00:00 committed by Git OBS Bridge
parent eb37423bef
commit bc945d9e83
2 changed files with 4 additions and 64 deletions

View File

@ -1,64 +0,0 @@
#
# spec file for package python-yt-dlp
#
# 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 modname yt-dlp
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-yt-dlp
Version: 2023.07.06
Release: 0
Summary: Enhanced fork of youtube-dl, a video site downloader for offline watching
License: CC-BY-SA-3.0 AND SUSE-Public-Domain
Group: Productivity/Networking/Web/Utilities
URL: https://github.com/yt-dlp/yt-dlp
Source: https://github.com/yt-dlp/yt-dlp/releases/download/%version/yt-dlp.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module xml}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: ffmpeg
Requires: python-xml
BuildArch: noarch
%python_subpackages
%description
yt-dlp is a python module to retrieve videos from
YouTube.com and other video sites for later watching.
%prep
%autosetup -n %modname
%build
# remove shebang
#sed -e '1d' -i yt_dlp/__init__.py yt_dlp/__main__.py \
# yt_dlp/YoutubeDL.py yt_dlp/utils.py
%python_build
%install
%python_install
rm -rf %buildroot/%_bindir/yt-dlp %buildroot/%_bindir \
%buildroot/%_prefix/%_sysconfdir \
%buildroot/%_datadir %buildroot/%_mandir
%python_expand %fdupes %buildroot/%{$python_sitelib}
%files %python_files
%license LICENSE
%doc README.txt
%python_sitelib/yt_dlp
%python_sitelib/yt_dlp-*-py%python_version.egg-info
%changelog

View File

@ -6,6 +6,10 @@ Fri Jul 7 04:49:22 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
* yt: Avoid false DRM detection * yt: Avoid false DRM detection
* yt: Process post_live over 2 hours * yt: Process post_live over 2 hours
* yt: Support shorts-only playlists * yt: Support shorts-only playlists
- Remove python3-yt-dlp, python-setuptools runtime is just broken
and cannot cope with Unicode in .py files:
``UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbb in
position 14: invalid start byte``
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 22 11:57:58 UTC 2023 - Jan Engelhardt <jengelh@inai.de> Thu Jun 22 11:57:58 UTC 2023 - Jan Engelhardt <jengelh@inai.de>