diff options
-rw-r--r-- | network/youtube-dl/youtube-dl.SlackBuild | 7 | ||||
-rw-r--r-- | network/youtube-dl/youtube-dl.info | 6 |
2 files changed, 9 insertions, 4 deletions
diff --git a/network/youtube-dl/youtube-dl.SlackBuild b/network/youtube-dl/youtube-dl.SlackBuild index 521c141352e2..a7265b38bd73 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 902be3141696..53196fac97b4 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="" |