media-sound/spotify_dl: drop 7.6.0-r1

The -r1 was created to let users remove youtube-dl from their system.
With the release of 8.0.0 this is no longer necessary.

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Nicola Smaniotto <smaniotto.nicola@gmail.com>
This commit is contained in:
Nicola Smaniotto
2022-01-27 14:41:35 +01:00
parent cfcfbcbb92
commit de4ecc390b
2 changed files with 0 additions and 56 deletions

View File

@@ -1,22 +0,0 @@
From f52a1ff5a6064597aca8a77a05cad9c3d049f75d Mon Sep 17 00:00:00 2001
From: Sathyajith Bhat <sathya@sathyasays.com>
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

View File

@@ -1,34 +0,0 @@
# 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
)