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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E284B158086 for ; Sat, 11 Dec 2021 07:17:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8CCDD2BC00E; Sat, 11 Dec 2021 07:17:26 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E69512BC001 for ; Sat, 11 Dec 2021 07:17:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D1077343510 for ; Sat, 11 Dec 2021 07:17:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DEB1814D for ; Sat, 11 Dec 2021 07:17:19 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1639207032.27c7d8d0f78cb04724a9dd12402e6580d65ed626.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/yle-dl/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/yle-dl/Manifest media-video/yle-dl/yle-dl-20211207.ebuild X-VCS-Directories: media-video/yle-dl/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 27c7d8d0f78cb04724a9dd12402e6580d65ed626 X-VCS-Branch: master Date: Sat, 11 Dec 2021 07:17:19 +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: 606e77a5-fe99-41a2-9be4-68cd5d83b4b5 X-Archives-Hash: f70087ed0f35d6636ad29285ead81221 commit: 27c7d8d0f78cb04724a9dd12402e6580d65ed626 Author: Joonas Niilola gentoo org> AuthorDate: Sat Dec 11 07:12:58 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sat Dec 11 07:17:12 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27c7d8d0 media-video/yle-dl: add 20211207 Signed-off-by: Joonas Niilola gentoo.org> media-video/yle-dl/Manifest | 1 + media-video/yle-dl/yle-dl-20211207.ebuild | 54 +++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/media-video/yle-dl/Manifest b/media-video/yle-dl/Manifest index 3c262d898b7c..218a8e70a02c 100644 --- a/media-video/yle-dl/Manifest +++ b/media-video/yle-dl/Manifest @@ -1,2 +1,3 @@ DIST yle-dl-20210917.tar.gz 66746 BLAKE2B 91849a5d88615fc01f12ac19cd6c5bc3acf40548c5c024eff6141b6996d0b7b2c9363d1a2d2820cd61f99105fdd1bca835506ba199bf05d2a3b537dc88f41f10 SHA512 a26d4516f932561fe49da4a2c5e7dbc5eb65bcc4e5a7073f3636b70825c54fa9ba74feea55b3f6fcc538f4a300f99262eb4f26ba1e73efd56ff612a86971ac81 DIST yle-dl-20211203.tar.gz 67057 BLAKE2B 79646d1251ae6e7d99d2b85d5a30d932ff1c8733d4403628561cb5261764349af7a284505b8c1afe2247730e4f1fc523e1d2e862a8df728a26c77102caf412fc SHA512 c407d185a5c703a6e840d1e9c375b492cb2154d568f35f9e33bba06aa79469c4a5c51ea52d6dd67f8757a171fc7344a476c3214339cf3387276a790a9ae574f0 +DIST yle-dl-20211207.tar.gz 67400 BLAKE2B fdbc79b73b2cc8759d02a8ecc3854e64234fea67f2fd99ab281534f626da7cd6e9bb0694f10435a8db3ba462963f6b44ef190e296a5be4d8c786cb57b352d77e SHA512 146e86f5e9a901681cbfe23fc015df28e34889e043ed116ab906dba739594d1ce56d10c169079699ff95b44f97bd307a704568e029b4037b97e8c74e5ade1cc6 diff --git a/media-video/yle-dl/yle-dl-20211207.ebuild b/media-video/yle-dl/yle-dl-20211207.ebuild new file mode 100644 index 000000000000..afbe7baaaff1 --- /dev/null +++ b/media-video/yle-dl/yle-dl-20211207.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Download media files from Yle Areena" +HOMEPAGE="https://aajanki.github.io/yle-dl/ https://github.com/aajanki/yle-dl" +SRC_URI="https://github.com/aajanki/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# Requires an active internet connection during tests, +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND="media-video/ffmpeg + net-misc/wget + >=dev-python/attrs-18.1.0[${PYTHON_USEDEP}] + >=dev-python/configargparse-0.13.0[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/progress[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}]" +BDEPEND="test? ( + ${RDEPEND} + media-video/ffmpeg[gnutls] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + )" + +distutils_enable_tests setup.py + +DOCS=( COPYING ChangeLog README.fi README.md yledl.conf.sample ) + +src_install() { + docompress -x "/usr/share/doc/${PF}/yledl.conf.sample" + distutils-r1_src_install +} + +pkg_postinst() { + elog "Sample configuration file has been installed to " + elog " /usr/share/doc/yle-dl-${PVR}/yledl.conf.sample" + elog + optfeature "youtube-dl download engine" net-misc/youtube-dl net-misc/yt-dlp +}