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 1EFB1139360 for ; Mon, 9 Aug 2021 14:26:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D260CE0844; Mon, 9 Aug 2021 14:26:37 +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 B20B4E0844 for ; Mon, 9 Aug 2021 14:26:37 +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 52521340988 for ; Mon, 9 Aug 2021 14:26:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A3A71744 for ; Mon, 9 Aug 2021 14:26:34 +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: <1628519122.493de83fe32a2d05b39e04f0529d041b71b4de04.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-20210808.ebuild X-VCS-Directories: media-video/yle-dl/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 493de83fe32a2d05b39e04f0529d041b71b4de04 X-VCS-Branch: master Date: Mon, 9 Aug 2021 14:26:34 +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: a38bbb26-6ebc-4c43-aaf5-469cc59e6cad X-Archives-Hash: 873c0f6edf8f80b3ad6a1364697dbb33 commit: 493de83fe32a2d05b39e04f0529d041b71b4de04 Author: Joonas Niilola gentoo org> AuthorDate: Mon Aug 9 14:03:59 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Mon Aug 9 14:25:22 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=493de83f media-video/yle-dl: add 20210808 Signed-off-by: Joonas Niilola gentoo.org> media-video/yle-dl/Manifest | 1 + media-video/yle-dl/yle-dl-20210808.ebuild | 54 +++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/media-video/yle-dl/Manifest b/media-video/yle-dl/Manifest index 28f085a2a29..65cdb2255a6 100644 --- a/media-video/yle-dl/Manifest +++ b/media-video/yle-dl/Manifest @@ -1 +1,2 @@ DIST yle-dl-20210704.tar.gz 65583 BLAKE2B f347bf8198a0e645dc960fa4e7a6bc5f90081b9936f8462d0b13c92fcf7005e31837b01d8a830b17c1f962e6f7b4afbdc18a3227c6caa5d2eb3389f7fcbe66de SHA512 fd91960221476ed4e1d5de79132687da88ff19e66d1f75e940e8aa00e742139ff4b2d0d67b32f86f6b7bd326520d0287f3495607f68a7f1f3634493d63282c55 +DIST yle-dl-20210808.tar.gz 66360 BLAKE2B 6c6baa1f90dc7f1a58e5883611a61b01f78eee4cf377e1d7a38f88acc966462482daa35e6f87b264bcd34bc6ed4a668377c236ea5660cfc25560aae359013c72 SHA512 38da5d14e9485ada768dd6c05ea93dbfa948b581167029313feb365b89c5f2a81836d5a8739f8a77fe77178c7d9731292578370a868e8c8058a37a98606e6e32 diff --git a/media-video/yle-dl/yle-dl-20210808.ebuild b/media-video/yle-dl/yle-dl-20210808.ebuild new file mode 100644 index 00000000000..3644998c1d0 --- /dev/null +++ b/media-video/yle-dl/yle-dl-20210808.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_{7..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-${PV}/yledl.conf.sample" + elog + optfeature "youtube-dl download engine" net-misc/youtube-dl +}