commit: 55832e344598211cd4f5449b6b5bd0bf54854641 Author: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com> AuthorDate: Sat Dec 18 17:07:48 2021 +0000 Commit: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com> CommitDate: Sat Dec 18 17:08:12 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=55832e34
media-sound/spotify_dl: bump to 7.6.0-r1 The -r1 uses the backported commit to remove the dependency from youtube-dl. Both versions are kept, to allow users to install the one they prefer. Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com> .../files/spotify_dl-7.6.0-switch-to-yt-dlp.patch | 22 ++++++++++++++ media-sound/spotify_dl/spotify_dl-7.6.0-r1.ebuild | 34 ++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/media-sound/spotify_dl/files/spotify_dl-7.6.0-switch-to-yt-dlp.patch b/media-sound/spotify_dl/files/spotify_dl-7.6.0-switch-to-yt-dlp.patch new file mode 100644 index 000000000..7cabedc8d --- /dev/null +++ b/media-sound/spotify_dl/files/spotify_dl-7.6.0-switch-to-yt-dlp.patch @@ -0,0 +1,22 @@ +From f52a1ff5a6064597aca8a77a05cad9c3d049f75d Mon Sep 17 00:00:00 2001 +From: Sathyajith Bhat <[email protected]> +Date: Sun, 17 Oct 2021 16:31:18 +0000 +Subject: [PATCH] switch to yt_dlp from youtube_dl + +--- + spotify_dl/youtube.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/spotify_dl/youtube.py b/spotify_dl/youtube.py +index e9a09d4..84cc5a9 100644 +--- a/spotify_dl/youtube.py ++++ b/spotify_dl/youtube.py +@@ -2,7 +2,7 @@ + from os import path + + import mutagen +-import youtube_dl ++import yt_dlp as youtube_dl + from mutagen.easyid3 import EasyID3 + from mutagen.id3 import APIC, ID3 + from mutagen.mp3 import MP3 diff --git a/media-sound/spotify_dl/spotify_dl-7.6.0-r1.ebuild b/media-sound/spotify_dl/spotify_dl-7.6.0-r1.ebuild new file mode 100644 index 000000000..bf476439f --- /dev/null +++ b/media-sound/spotify_dl/spotify_dl-7.6.0-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) + +inherit distutils-r1 + +MY_PN="${PN/_/-}" + +DESCRIPTION="Downloads songs from a Spotify Playlist/Track/Album that you provide" +HOMEPAGE="https://github.com/SathyaBhat/spotify-dl/" +SRC_URI="https://github.com/SathyaBhat/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RESTRICT="test" # tests require network access + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND=" + dev-python/spotipy[${PYTHON_USEDEP}] + media-libs/mutagen[${PYTHON_USEDEP}] + dev-python/sentry-sdk[${PYTHON_USEDEP}] + dev-python/peewee[${PYTHON_USEDEP}] + >=net-misc/yt-dlp-2021.10.10[${PYTHON_USEDEP}] +" + +PATCHES=( + "${FILESDIR}"/"${P}"-switch-to-yt-dlp.patch +)
