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 166E7158008 for ; Tue, 13 Jun 2023 12:48:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 06ECFE096C; Tue, 13 Jun 2023 12:48:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E5831E096C for ; Tue, 13 Jun 2023 12:48:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 E0AFB3412F2 for ; Tue, 13 Jun 2023 12:48:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 192FAA92 for ; Tue, 13 Jun 2023 12:48:45 +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: <1686660521.8c81325fd4d144054d5b11aa5fd0d06426297f58.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-20230611.ebuild X-VCS-Directories: media-video/yle-dl/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 8c81325fd4d144054d5b11aa5fd0d06426297f58 X-VCS-Branch: master Date: Tue, 13 Jun 2023 12:48:45 +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: e21ded63-f930-4efb-bc59-4231cb78c07a X-Archives-Hash: 56096e41d074dc30e0e1f63b6a55cfce commit: 8c81325fd4d144054d5b11aa5fd0d06426297f58 Author: Joonas Niilola gentoo org> AuthorDate: Tue Jun 13 12:44:50 2023 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Tue Jun 13 12:48:41 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c81325f media-video/yle-dl: add 20230611 Closes: https://bugs.gentoo.org/908028 Signed-off-by: Joonas Niilola gentoo.org> media-video/yle-dl/Manifest | 1 + media-video/yle-dl/yle-dl-20230611.ebuild | 55 +++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/media-video/yle-dl/Manifest b/media-video/yle-dl/Manifest index d52e551198dc..e754f4daffa5 100644 --- a/media-video/yle-dl/Manifest +++ b/media-video/yle-dl/Manifest @@ -1 +1,2 @@ DIST yle-dl-20221231.tar.gz 75559 BLAKE2B 940a7107851ccfee0a93e24fccbac1f58d23a5cd3d6dbdbd5536b2d2c1d797468959453c1727700ae4bbced169e58565384cfbc976b9f89f662447fd51e38daf SHA512 9a08cbbb757cd75a8e2ee61b5c340b9e1bd91f8479f98d434a5e5f716926bfde135f925b5f65a9d043881f6a4e598c4c059aafb1618e5490c46f0f3c6a6dbf2b +DIST yle-dl-20230611.tar.gz 75718 BLAKE2B 5be5b3bde4290f0799e4d2e15e779798467162e7316be4cd5bae463c798fbfac228614c8a1f4e222e045b70aca3584df428d85e6e12b6f208a6e4265199a6310 SHA512 9027a00f7a3b383187ae1de3bcf2145c64b0f618680ec3fe224397ac23cbb43d0f181f64c8cd7f21b9dbbdfd5ea0045458fb6858fd6be2c4b5b04d5df2747f79 diff --git a/media-video/yle-dl/yle-dl-20230611.ebuild b/media-video/yle-dl/yle-dl-20230611.ebuild new file mode 100644 index 000000000000..028b9855367a --- /dev/null +++ b/media-video/yle-dl/yle-dl-20230611.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=flit + +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/yle-dl/archive/refs/tags/${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 pytest + +DOCS=( COPYING ChangeLog README.fi.md 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/yt-dlp +}