1 |
commit: de4ecc390b682fa1c5fe4c5aced9c8777974d053 |
2 |
Author: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Jan 27 13:41:35 2022 +0000 |
4 |
Commit: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com> |
5 |
CommitDate: Thu Jan 27 13:42:02 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=de4ecc39 |
7 |
|
8 |
media-sound/spotify_dl: drop 7.6.0-r1 |
9 |
|
10 |
The -r1 was created to let users remove youtube-dl from their system. |
11 |
With the release of 8.0.0 this is no longer necessary. |
12 |
|
13 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
14 |
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com> |
15 |
|
16 |
.../files/spotify_dl-7.6.0-switch-to-yt-dlp.patch | 22 -------------- |
17 |
media-sound/spotify_dl/spotify_dl-7.6.0-r1.ebuild | 34 ---------------------- |
18 |
2 files changed, 56 deletions(-) |
19 |
|
20 |
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 |
21 |
deleted file mode 100644 |
22 |
index 7cabedc8d..000000000 |
23 |
--- a/media-sound/spotify_dl/files/spotify_dl-7.6.0-switch-to-yt-dlp.patch |
24 |
+++ /dev/null |
25 |
@@ -1,22 +0,0 @@ |
26 |
-From f52a1ff5a6064597aca8a77a05cad9c3d049f75d Mon Sep 17 00:00:00 2001 |
27 |
-From: Sathyajith Bhat <sathya@××××××××××.com> |
28 |
-Date: Sun, 17 Oct 2021 16:31:18 +0000 |
29 |
-Subject: [PATCH] switch to yt_dlp from youtube_dl |
30 |
- |
31 |
---- |
32 |
- spotify_dl/youtube.py | 2 +- |
33 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
34 |
- |
35 |
-diff --git a/spotify_dl/youtube.py b/spotify_dl/youtube.py |
36 |
-index e9a09d4..84cc5a9 100644 |
37 |
---- a/spotify_dl/youtube.py |
38 |
-+++ b/spotify_dl/youtube.py |
39 |
-@@ -2,7 +2,7 @@ |
40 |
- from os import path |
41 |
- |
42 |
- import mutagen |
43 |
--import youtube_dl |
44 |
-+import yt_dlp as youtube_dl |
45 |
- from mutagen.easyid3 import EasyID3 |
46 |
- from mutagen.id3 import APIC, ID3 |
47 |
- from mutagen.mp3 import MP3 |
48 |
|
49 |
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 |
50 |
deleted file mode 100644 |
51 |
index bf476439f..000000000 |
52 |
--- a/media-sound/spotify_dl/spotify_dl-7.6.0-r1.ebuild |
53 |
+++ /dev/null |
54 |
@@ -1,34 +0,0 @@ |
55 |
-# Copyright 2021 Gentoo Authors |
56 |
-# Distributed under the terms of the GNU General Public License v2 |
57 |
- |
58 |
-EAPI=8 |
59 |
- |
60 |
-PYTHON_COMPAT=( python3_{8..9} ) |
61 |
- |
62 |
-inherit distutils-r1 |
63 |
- |
64 |
-MY_PN="${PN/_/-}" |
65 |
- |
66 |
-DESCRIPTION="Downloads songs from a Spotify Playlist/Track/Album that you provide" |
67 |
-HOMEPAGE="https://github.com/SathyaBhat/spotify-dl/" |
68 |
-SRC_URI="https://github.com/SathyaBhat/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
69 |
- |
70 |
-LICENSE="MIT" |
71 |
-SLOT="0" |
72 |
-KEYWORDS="~amd64" |
73 |
- |
74 |
-RESTRICT="test" # tests require network access |
75 |
- |
76 |
-S="${WORKDIR}/${MY_PN}-${PV}" |
77 |
- |
78 |
-RDEPEND=" |
79 |
- dev-python/spotipy[${PYTHON_USEDEP}] |
80 |
- media-libs/mutagen[${PYTHON_USEDEP}] |
81 |
- dev-python/sentry-sdk[${PYTHON_USEDEP}] |
82 |
- dev-python/peewee[${PYTHON_USEDEP}] |
83 |
- >=net-misc/yt-dlp-2021.10.10[${PYTHON_USEDEP}] |
84 |
-" |
85 |
- |
86 |
-PATCHES=( |
87 |
- "${FILESDIR}"/"${P}"-switch-to-yt-dlp.patch |
88 |
-) |