From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 43B1D13835A for ; Mon, 28 Dec 2020 20:06:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6754CE092F; Mon, 28 Dec 2020 20:06:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 50404E092F for ; Mon, 28 Dec 2020 20:06:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C90F034133A for ; Mon, 28 Dec 2020 20:06:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3675849 for ; Mon, 28 Dec 2020 20:06:29 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1609185566.b85e23e7be4b831bbb154d60cb8cbdf6e91c0e45.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/youtube-dl/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/youtube-dl/Manifest net-misc/youtube-dl/youtube-dl-2020.12.29.ebuild X-VCS-Directories: net-misc/youtube-dl/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b85e23e7be4b831bbb154d60cb8cbdf6e91c0e45 X-VCS-Branch: master Date: Mon, 28 Dec 2020 20:06:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 275eb91f-792f-4ef0-a5ec-f27e9e88b215 X-Archives-Hash: d8b426f62ab3a4fa9660208f838e8367 commit: b85e23e7be4b831bbb154d60cb8cbdf6e91c0e45 Author: Michał Górny gentoo org> AuthorDate: Mon Dec 28 19:59:26 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Dec 28 19:59:26 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b85e23e7 net-misc/youtube-dl: Bump to 2020.12.29 Signed-off-by: Michał Górny gentoo.org> net-misc/youtube-dl/Manifest | 1 + net-misc/youtube-dl/youtube-dl-2020.12.29.ebuild | 71 ++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/net-misc/youtube-dl/Manifest b/net-misc/youtube-dl/Manifest index 62b871acb7c..2761442f676 100644 --- a/net-misc/youtube-dl/Manifest +++ b/net-misc/youtube-dl/Manifest @@ -1,2 +1,3 @@ DIST youtube-dl-2020.12.22.tar.gz 3238866 BLAKE2B 8f2f07c59b4d64ed9176bdbfcb858c4f90d7acfe97fad02bf98c517e46fca049421deb764a039466557cfda20d3921535e0e0ae0be4c9afe514a2242a18a45b5 SHA512 2acd7256d3479387db25cc85882da77996cb8fe09a6c6400a9580c1c10317ab72ee18b0e1c2429f533992c41e172f2bbd8c9570daed01578aa971b1ba9d3fbc2 DIST youtube-dl-2020.12.26.tar.gz 3246941 BLAKE2B 7e2c3cea21e10458c1ee3718e9e039301590d8213367229818f36df488865eca7d1e76a27dfc1d4374d15314f271b12fc2c548f43927c724a936399fffa5ac19 SHA512 6a577aa435639af7c5e60183d7548d5f0a74cdea3cb87edaa81dc20ce5ca788ba99f731cbaacffdae74cc10d530e6b8d5b0cfccaf4cb9c2f4cc4f9c540b2d175 +DIST youtube-dl-2020.12.29.tar.gz 3246557 BLAKE2B 94ad5b81e9bfd17a1b05725920dab04f9d2e6e6655cf5df3bd42c443207253251b26f8c969a4baaabce7eb44e4cd2ec04d4ed20ad56569b540f2eba8796da3f9 SHA512 361bb9d60ca1b45887e56d346121412d4a23a7245d2960afdfca55e96d1134ef68126fd1aa5630e6067002de9e704cb70688d12d6e997413f221d28dced4fa81 diff --git a/net-misc/youtube-dl/youtube-dl-2020.12.29.ebuild b/net-misc/youtube-dl/youtube-dl-2020.12.29.ebuild new file mode 100644 index 00000000000..04afa74ada0 --- /dev/null +++ b/net-misc/youtube-dl/youtube-dl-2020.12.29.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=(python3_{6..9}) + +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit bash-completion-r1 distutils-r1 readme.gentoo-r1 + +DESCRIPTION="Download videos from YouTube.com (and more sites...)" +HOMEPAGE="https://youtube-dl.org/ https://github.com/ytdl-org/youtube-dl/" +SRC_URI="https://youtube-dl.org/downloads/${PV}/${P}.tar.gz" +S=${WORKDIR}/${PN} + +LICENSE="public-domain" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" +SLOT="0" + +RDEPEND=" + dev-python/pycryptodome[${PYTHON_USEDEP}] +" + +distutils_enable_tests nose + +src_prepare() { + sed -i -e '/flake8/d' Makefile || die + distutils-r1_src_prepare +} + +python_test() { + emake offlinetest +} + +python_install_all() { + doman youtube-dl.1 + + newbashcomp youtube-dl.bash-completion youtube-dl + + insinto /usr/share/zsh/site-functions + newins youtube-dl.zsh _youtube-dl + + insinto /usr/share/fish/vendor_completions.d + doins youtube-dl.fish + + distutils-r1_python_install_all + + rm -r "${ED}"/usr/etc || die + rm -r "${ED}"/usr/share/doc/youtube_dl || die +} + +pkg_postinst() { + elog "youtube-dl(1) / https://bugs.gentoo.org/355661 /" + elog "https://github.com/rg3/youtube-dl/blob/master/README.md#faq :" + elog + elog "youtube-dl works fine on its own on most sites. However, if you want" + elog "to convert video/audio, you'll need ffmpeg (media-video/ffmpeg)." + elog "On some sites - most notably YouTube - videos can be retrieved in" + elog "a higher quality format without sound. youtube-dl will detect whether" + elog "ffmpeg is present and automatically pick the best option." + elog + elog "Videos or video formats streamed via RTMP protocol can only be" + elog "downloaded when rtmpdump (media-video/rtmpdump) is installed." + elog + elog "Downloading MMS and RTSP videos requires either mplayer" + elog "(media-video/mplayer) or mpv (media-video/mpv) to be installed." + elog + elog "If you want youtube-dl to embed thumbnails from the metadata into the" + elog "resulting MP4 files, consider installing media-video/atomicparsley" +}