summaryrefslogtreecommitdiff
path: root/network/youtube-dl
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2015-11-19 02:59:59 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-21 11:44:13 +0700
commit0b431da6325e8dcdb4a96905e3f5c345686614e0 (patch)
tree716e4394748b328b2e9d8dd2c86dbe8ec756a600 /network/youtube-dl
parent84d5afa8d124c7f3a89f5880424091d05cf23df4 (diff)
downloadslackbuilds-0b431da6325e8dcdb4a96905e3f5c345686614e0.tar.gz
network/youtube-dl: Updated for version 2015.11.18.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'network/youtube-dl')
-rw-r--r--network/youtube-dl/youtube-dl.SlackBuild7
-rw-r--r--network/youtube-dl/youtube-dl.info6
2 files changed, 9 insertions, 4 deletions
diff --git a/network/youtube-dl/youtube-dl.SlackBuild b/network/youtube-dl/youtube-dl.SlackBuild
index 521c141352..a7265b38bd 100644
--- a/network/youtube-dl/youtube-dl.SlackBuild
+++ b/network/youtube-dl/youtube-dl.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=youtube-dl
-VERSION=${VERSION:-2015.11.10}
+VERSION=${VERSION:-2015.11.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -77,6 +77,11 @@ patch -p1 < $CWD/setup.patch
make
python setup.py install --root=$PKG
+# Python 3 support.
+if $(python3 -c 'import sys' 2>/dev/null); then
+ python3 setup.py install --root=$PKG
+fi
+
# enable bash and fish completion file
chmod 0755 $PKG/etc/bash_completion.d/${PRGNAM}.bash-completion
chmod 0755 $PKG/etc/fish/completions/${PRGNAM}.fish
diff --git a/network/youtube-dl/youtube-dl.info b/network/youtube-dl/youtube-dl.info
index 902be31416..53196fac97 100644
--- a/network/youtube-dl/youtube-dl.info
+++ b/network/youtube-dl/youtube-dl.info
@@ -1,8 +1,8 @@
PRGNAM="youtube-dl"
-VERSION="2015.11.10"
+VERSION="2015.11.18"
HOMEPAGE="https://rg3.github.io/youtube-dl"
-DOWNLOAD="https://github.com/rg3/youtube-dl/archive/2015.11.10.tar.gz"
-MD5SUM="d9cc5193d1264e91fc8b5919708c4592"
+DOWNLOAD="https://github.com/rg3/youtube-dl/archive/2015.11.18.tar.gz"
+MD5SUM="d0601d936f6783084daa1e496755e506"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""