aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/youtube-dl/0001-devscripts-create-github-release-do-not-import-base6.patch24
-rw-r--r--community/youtube-dl/APKBUILD8
2 files changed, 29 insertions, 3 deletions
diff --git a/community/youtube-dl/0001-devscripts-create-github-release-do-not-import-base6.patch b/community/youtube-dl/0001-devscripts-create-github-release-do-not-import-base6.patch
new file mode 100644
index 0000000000..6c49bd4077
--- /dev/null
+++ b/community/youtube-dl/0001-devscripts-create-github-release-do-not-import-base6.patch
@@ -0,0 +1,24 @@
+From bee22b310ce2ac3dc3e0a334b423bbc810417a60 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
+Date: Sun, 5 Jan 2020 14:05:55 +0100
+Subject: [PATCH] [devscripts/create-github-release] do not import base64
+
+Without this change `make offlinetest` fails with:
+
+ ./devscripts/create-github-release.py:4:1: F401 'base64' imported but unused
+---
+ devscripts/create-github-release.py | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/devscripts/create-github-release.py b/devscripts/create-github-release.py
+index 6464ef322..2ddfa1096 100644
+--- a/devscripts/create-github-release.py
++++ b/devscripts/create-github-release.py
+@@ -1,7 +1,6 @@
+ #!/usr/bin/env python
+ from __future__ import unicode_literals
+
+-import base64
+ import io
+ import json
+ import mimetypes
diff --git a/community/youtube-dl/APKBUILD b/community/youtube-dl/APKBUILD
index 213e0cd3ee..29a5408998 100644
--- a/community/youtube-dl/APKBUILD
+++ b/community/youtube-dl/APKBUILD
@@ -3,7 +3,7 @@
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=youtube-dl
-pkgver=2019.12.25
+pkgver=2020.01.01
pkgrel=0
pkgdesc="Command-line program to download videos from YouTube"
url="https://youtube-dl.org/"
@@ -15,7 +15,8 @@ subpackages="$pkgname-doc
$pkgname-zsh-completion:zshcomp
$pkgname-bash-completion:bashcomp
$pkgname-fish-completion:fishcomp"
-source="https://github.com/rg3/youtube-dl/releases/download/$pkgver/youtube-dl-$pkgver.tar.gz"
+source="https://github.com/rg3/youtube-dl/releases/download/$pkgver/youtube-dl-$pkgver.tar.gz
+ 0001-devscripts-create-github-release-do-not-import-base6.patch"
builddir="$srcdir/$pkgname"
prepare() {
@@ -64,4 +65,5 @@ fishcomp() {
"$subpkgdir"/usr/share/fish/completions/
}
-sha512sums="951219648597d5e19fd3bcb3c64d8641bffd63cf3c6b4b30332d9148ad8b12c1be252e4cacbcd8169ce502b0fe20b2ff7163620382769b5e83e82d155e4f38c8 youtube-dl-2019.12.25.tar.gz"
+sha512sums="035d44aa4989067587d3c5a8d1bb4214bb7bfa16b91562c730fcf93de1578de75ddf12c8a0900643578546a4230da776b8b83f69378525c1480e9e0061f492cf youtube-dl-2020.01.01.tar.gz
+ccdf23dd5284f760120aae257e5f534ed785091e6db4eb2c8e0e95f50bfa9da0a2440e92e47ab5625cc59032557bdcaa009e6a6c129057a3a665b7f9521d125a 0001-devscripts-create-github-release-do-not-import-base6.patch"