Accepting request 1201906 from home:StevenK:branches:utilities
- Update to 2.12.1: * Use tempdir for downloading * Set albumartist metadata for playlists * Migrate from cgi.parse_header to email.message.Message due to PEP 594 * Use maintained dependencies * More consistent tag mapping * Added '--add-description' option * Add -q <search_query> command line argument - Switch to pyproject macros. - List directories in %files explicitly. OBS-URL: https://build.opensuse.org/request/show/1201906 OBS-URL: https://build.opensuse.org/package/show/utilities/scdl?expand=0&rev=19
This commit is contained in:
@@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 19 03:38:55 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 2.12.1:
|
||||
* Use tempdir for downloading
|
||||
* Set albumartist metadata for playlists
|
||||
* Migrate from cgi.parse_header to email.message.Message due to PEP 594
|
||||
* Use maintained dependencies
|
||||
* More consistent tag mapping
|
||||
* Added '--add-description' option
|
||||
* Add -q <search_query> command line argument
|
||||
- Switch to pyproject macros.
|
||||
- List directories in %files explicitly.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 4 12:09:00 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package scdl
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,25 +16,28 @@
|
||||
#
|
||||
|
||||
|
||||
%define pythons python3
|
||||
Name: scdl
|
||||
Version: 2.7.3
|
||||
Version: 2.12.1
|
||||
Release: 0
|
||||
Summary: Souncloud Music Downloader
|
||||
License: GPL-2.0-only
|
||||
Group: Productivity/Multimedia/Other
|
||||
URL: https://github.com/flyingrub/scdl
|
||||
URL: https://github.com/scdl-org/scdl
|
||||
Source: https://files.pythonhosted.org/packages/source/s/scdl/scdl-%{version}.tar.gz
|
||||
BuildRequires: python3-clint
|
||||
BuildRequires: python3-docopt
|
||||
BuildRequires: python3-mutagen
|
||||
BuildRequires: python3-requests
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-termcolor
|
||||
Requires: python3-clint
|
||||
Requires: python3-docopt
|
||||
Requires: python3-mutagen
|
||||
Requires: python3-requests
|
||||
Requires: python3-termcolor
|
||||
BuildRequires: python3-wheel
|
||||
Requires: ffmpeg
|
||||
Requires: python-docopt-ng
|
||||
Requires: python-filelock >= 3.0
|
||||
Requires: python-mutagen >= 1.45
|
||||
Requires: python-pathvalidate
|
||||
Requires: python-requests
|
||||
Requires: python-soundcloud-v2 >= 1.5.2
|
||||
Requires: python-termcolor
|
||||
Requires: python-tqdm
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@@ -46,15 +49,22 @@ sed -i '1s/^#!.*//' scdl/scdl.py
|
||||
chmod -x README.md
|
||||
|
||||
%build
|
||||
python3 setup.py build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%pyproject_install
|
||||
# do not install tests
|
||||
rm -r %{buildroot}%{python3_sitelib}/tests
|
||||
%fdupes %{buildroot}%{python3_sitelib}
|
||||
|
||||
%check
|
||||
exit 0
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python3_sitelib}/*
|
||||
%{python3_sitelib}/scdl
|
||||
%{python3_sitelib}/scdl-%{version}.dist-info
|
||||
%{_bindir}/scdl
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f0130ee7f5c9740933fc4d590d76af26e74d48e8997582dc655324d52f20f675
|
||||
size 30362
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:60284b7b058040d4847f2e4b0ab906b10e959d51f976a0188641e8e10685474f
|
||||
size 21303
|
||||
Reference in New Issue
Block a user