From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 finch.gentoo.org (Postfix) with ESMTPS id E84521584F2 for ; Mon, 17 Mar 2025 07:50:35 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id CB41F3430FB for ; Mon, 17 Mar 2025 07:50:35 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id AB14811037F; Mon, 17 Mar 2025 07:50:34 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 bobolink.gentoo.org (Postfix) with ESMTPS id A392811037F for ; Mon, 17 Mar 2025 07:50:34 +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 5FBAF3430FB for ; Mon, 17 Mar 2025 07:50:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C16191D72 for ; Mon, 17 Mar 2025 07:50:32 +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: <1742197830.d0ba4c6759e4cdfbc97c1ff5467d999746d59b33.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-20250316.ebuild X-VCS-Directories: media-video/yle-dl/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: d0ba4c6759e4cdfbc97c1ff5467d999746d59b33 X-VCS-Branch: master Date: Mon, 17 Mar 2025 07:50:32 +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: 5e148c15-d834-4adb-8e5b-52e05b848c19 X-Archives-Hash: 37d1765badc4fe355ce56c856d2cdfb4 commit: d0ba4c6759e4cdfbc97c1ff5467d999746d59b33 Author: Joonas Niilola gentoo org> AuthorDate: Mon Mar 17 07:50:01 2025 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Mon Mar 17 07:50:30 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0ba4c67 media-video/yle-dl: add 20250316 Signed-off-by: Joonas Niilola gentoo.org> media-video/yle-dl/Manifest | 1 + media-video/yle-dl/yle-dl-20250316.ebuild | 60 +++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/media-video/yle-dl/Manifest b/media-video/yle-dl/Manifest index c167199e15b5..0a6d220f6188 100644 --- a/media-video/yle-dl/Manifest +++ b/media-video/yle-dl/Manifest @@ -1,2 +1,3 @@ DIST yle-dl-20250126.tar.gz 80360 BLAKE2B adbdbd962ffd652c465fdf78e7eb64681435d3b04ace670fd425dd852968150481722ee82dfb5c57931bd35cf1006d887a3d842af6c47a1ff072a6303205150d SHA512 567d634aaf33833e79faaa700eb79f85c9bbd353005c0261012301b07dcdd6a5722a3a220b6acbcf8a28255010058ec34dd4b60b7b30a04d8ffaba663412f474 DIST yle-dl-20250227.tar.gz 80954 BLAKE2B 6f9dd4d5c98a4fd3c1c0bead3de3f23fa46f8a11a5463d6df57b7c897bd108d0fb3b55170d3827d081313125b55c0bff5442e87725ac77272627328cc7c46113 SHA512 1e4d7e9c57a7e1ce2cdd08c08785f0da7efb5adcd5d429eee829d409d775d082e14a00a9fa330dbc13e60fee84212090f033075f14ced3e543f911b3aefc425f +DIST yle-dl-20250316.tar.gz 81041 BLAKE2B fd4c935ead73df123fe6182c0f1697451b8a32318f2ded8cad9a3009e33a6b38d2330fdc2785e59eff3397b7e184b6d741ed40b7fb52aeadc9836496118f8c04 SHA512 47e8ef7812c82e0b321ddca77b7989c8dbcf1cdd26d35fc82d45c6c71cfc6ef023a77666425185a4cd688a1b675b2471b51bdefa073b2d3d67d4a9bbf2586f2e diff --git a/media-video/yle-dl/yle-dl-20250316.ebuild b/media-video/yle-dl/yle-dl-20250316.ebuild new file mode 100644 index 000000000000..ae3ae91864ce --- /dev/null +++ b/media-video/yle-dl/yle-dl-20250316.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +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/releases/${PV}.tar.gz -> ${P}.tar.gz" + +S="${WORKDIR}/${PN}-releases-${PV}" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# Requires an active internet connection during tests to test-download different media formats +# from Yle Areena. +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.sv.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 "automatically detect filesystems that require restricted character sets" dev-python/psutil + optfeature "store metadata as extended file attributes" dev-python/pyxattr + optfeature "youtube-dl download engine" net-misc/yt-dlp +}