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 A0128159C9C for ; Mon, 5 Aug 2024 10:30:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D9262BC070; Mon, 5 Aug 2024 10:30:44 +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 pigeon.gentoo.org (Postfix) with ESMTPS id 3653D2BC06E for ; Mon, 5 Aug 2024 10:30:44 +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 0BD06340C39 for ; Mon, 5 Aug 2024 10:30:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6F3C61E9D for ; Mon, 5 Aug 2024 10:30:41 +0000 (UTC) From: "Rui Huang" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rui Huang" Message-ID: <1722850333.f08c6128d20d0f0d81078c5acdce33ceb0672de9.vowstar@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: net-misc/yt-dlg/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-misc/yt-dlg/Manifest net-misc/yt-dlg/yt-dlg-2024.03.19.ebuild X-VCS-Directories: net-misc/yt-dlg/ X-VCS-Committer: vowstar X-VCS-Committer-Name: Rui Huang X-VCS-Revision: f08c6128d20d0f0d81078c5acdce33ceb0672de9 X-VCS-Branch: master Date: Mon, 5 Aug 2024 10:30:41 +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: aee3f2d3-e003-41dd-8d3f-747cce9d4d37 X-Archives-Hash: 56344d0b1d2843fae5fde48ca899a1cd commit: f08c6128d20d0f0d81078c5acdce33ceb0672de9 Author: David Roman gmail com> AuthorDate: Mon Aug 5 09:32:13 2024 +0000 Commit: Rui Huang gmail com> CommitDate: Mon Aug 5 09:32:13 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f08c6128 net-misc/yt-dlg: add 2024.03.19 Signed-off-by: David Roman gmail.com> net-misc/yt-dlg/Manifest | 1 + net-misc/yt-dlg/yt-dlg-2024.03.19.ebuild | 50 ++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/net-misc/yt-dlg/Manifest b/net-misc/yt-dlg/Manifest index 9831e9e51..b9d70a9ed 100644 --- a/net-misc/yt-dlg/Manifest +++ b/net-misc/yt-dlg/Manifest @@ -1 +1,2 @@ DIST yt-dlg-2023.08.16.gh.tar.gz 1481142 BLAKE2B d64bd9e52531c1c66ef83e18d960dc63200cfd7185af9b14339a5fd852a36966e8cbbd769ecc65e457d52fb0a46f84f84147116a8771d18ea80237d03ec0ab20 SHA512 efc7aaa88b18bc58466fbc0fa62d7b26f857bf759cb7960f3728a351e66d2dc4d13ae8002fce140e03f9e0ff89940686a3753c24796e78777b33928d86fcdedc +DIST yt-dlg-2024.03.19.gh.tar.gz 1481178 BLAKE2B aca69edf26d906a28fd60c7d2b8c450f74dbbd3c21d8f63866807886e2fe95f71a13039e6d666ffe29d52dfe0db596f5ace9a5a5feea6785affe5c2e1f28a94c SHA512 c151bed0e45398de8080219895a686dadaebdc9b47631eee52861ec5ee35665983ef36f09f11acd44e163acb215d50f1c3cc52094e6ab4f220372e487c412fee diff --git a/net-misc/yt-dlg/yt-dlg-2024.03.19.ebuild b/net-misc/yt-dlg/yt-dlg-2024.03.19.ebuild new file mode 100644 index 000000000..40b8d3514 --- /dev/null +++ b/net-misc/yt-dlg/yt-dlg-2024.03.19.ebuild @@ -0,0 +1,50 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +inherit desktop distutils-r1 xdg + +DESCRIPTION="A cross platform front-end GUI of the popular youtube-dl written in wxPython." +HOMEPAGE="https://yt-dlg.github.io/yt-dlg/" +# Using latest commit from Mars 19, 2024 as of August 5, 2024. +# Latest releases and tags are from 2021 and are probably deprecated and incompatible with current Python versions. +# Same applies for the dependencies of yt-dlp. +SHA="264699bb425efd988523ebb8bbfb8f67d009f884" +SRC_URI="https://github.com/yt-dlg/yt-dlg/archive/${SHA}.tar.gz -> ${P}.gh.tar.gz" + +S="${WORKDIR}/${PN}-${SHA}" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="ffmpeg" + +DEPEND="${PYTHON_DEPS} + >=dev-python/wxpython-4.2.0:*[${PYTHON_USEDEP}] + net-misc/yt-dlp[${PYTHON_USEDEP}] + >=dev-python/PyPubSub-4.0.3 + ffmpeg? ( media-video/ffmpeg ) +" +RDEPEND="${DEPEND}" + +# I don't know how to enable the test phase. +distutils_enable_tests pytest + +DOCS=( README.md ) + +python_test() { + local tests=( ditem dlist parsers utils widgets ) + local current_test + for current_test in tests; do + "${EPYTHON}" "tests/test_${curent_test}.py" || die "Tests fail with ${EPYTHON}" + done +} + +src_install() { + distutils-r1_src_install + domenu yt-dlg.desktop +}