From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/youtube-dl/files/, net-misc/youtube-dl/
Date: Sat, 28 Nov 2020 10:20:16 +0000 (UTC) [thread overview]
Message-ID: <1606558808.89753fbdb51079c5017823efca90e13c6181b60c.marecki@gentoo> (raw)
commit: 89753fbdb51079c5017823efca90e13c6181b60c
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 28 10:05:21 2020 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sat Nov 28 10:20:08 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89753fbd
net-misc/youtube-dl-2020.11.26: fix test failure
Backported upstream fix, will no longer be needed come next release.
Closes: https://bugs.gentoo.org/757324
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
...dl-2020.11.26-fix_spreakershowie_test_url.patch | 22 ++++++++++++++++++++++
net-misc/youtube-dl/youtube-dl-2020.11.26.ebuild | 5 +++++
2 files changed, 27 insertions(+)
diff --git a/net-misc/youtube-dl/files/youtube-dl-2020.11.26-fix_spreakershowie_test_url.patch b/net-misc/youtube-dl/files/youtube-dl-2020.11.26-fix_spreakershowie_test_url.patch
new file mode 100644
index 00000000000..c48760a4c41
--- /dev/null
+++ b/net-misc/youtube-dl/files/youtube-dl-2020.11.26-fix_spreakershowie_test_url.patch
@@ -0,0 +1,22 @@
+From 99de2f38d375f794ffdc4f5a110a5227310f3ab0 Mon Sep 17 00:00:00 2001
+From: Remita Amine <remitamine@gmail.com>
+Date: Wed, 25 Nov 2020 21:39:17 +0100
+Subject: [PATCH] [spreaker] fix SpreakerShowIE test URL
+
+---
+ youtube_dl/extractor/spreaker.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/youtube_dl/extractor/spreaker.py b/youtube_dl/extractor/spreaker.py
+index beee6670c..6c7e40ae4 100644
+--- a/youtube_dl/extractor/spreaker.py
++++ b/youtube_dl/extractor/spreaker.py
+@@ -126,7 +126,7 @@ def _real_extract(self, url):
+ class SpreakerShowIE(InfoExtractor):
+ _VALID_URL = r'https?://api\.spreaker\.com/show/(?P<id>\d+)'
+ _TESTS = [{
+- 'url': 'https://www.spreaker.com/show/3-ninjas-podcast',
++ 'url': 'https://api.spreaker.com/show/4652058',
+ 'info_dict': {
+ 'id': '4652058',
+ },
diff --git a/net-misc/youtube-dl/youtube-dl-2020.11.26.ebuild b/net-misc/youtube-dl/youtube-dl-2020.11.26.ebuild
index 47f8343b521..82be3f81052 100644
--- a/net-misc/youtube-dl/youtube-dl-2020.11.26.ebuild
+++ b/net-misc/youtube-dl/youtube-dl-2020.11.26.ebuild
@@ -22,6 +22,11 @@ RDEPEND="
dev-python/pycryptodome[${PYTHON_USEDEP}]
"
+# Only needed by this specific release, already fixed upstream
+PATCHES=(
+ "${FILESDIR}"/${PN}-2020.11.26-fix_spreakershowie_test_url.patch
+)
+
distutils_enable_tests nose
src_prepare() {
next reply other threads:[~2020-11-28 10:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-28 10:20 Marek Szuba [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-12-18 20:26 [gentoo-commits] repo/gentoo:master commit in: net-misc/youtube-dl/files/, net-misc/youtube-dl/ Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1606558808.89753fbdb51079c5017823efca90e13c6181b60c.marecki@gentoo \
--to=marecki@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox