From: "Benoît Dufour" <benoit.dufour@mail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/yt-dlg/
Date: Wed, 1 Nov 2023 23:19:51 +0000 (UTC) [thread overview]
Message-ID: <1698880757.b5d1550306cd7d6be97793a366cbdfd6ccda0479.benoit.dufour@gentoo> (raw)
commit: b5d1550306cd7d6be97793a366cbdfd6ccda0479
Author: Benoît Dufour <benoit.dufour <AT> mail <DOT> com>
AuthorDate: Wed Nov 1 23:19:17 2023 +0000
Commit: Benoît Dufour <benoit.dufour <AT> mail <DOT> com>
CommitDate: Wed Nov 1 23:19:17 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b5d15503
net-misc/yt-dlg: new package, add 2023.08.16
Signed-off-by: Benoît Dufour <benoit.dufour <AT> mail.com>
net-misc/yt-dlg/Manifest | 1 +
net-misc/yt-dlg/yt-dlg-2023.08.16.ebuild | 57 ++++++++++++++++++++++++++++++++
2 files changed, 58 insertions(+)
diff --git a/net-misc/yt-dlg/Manifest b/net-misc/yt-dlg/Manifest
new file mode 100644
index 0000000000..f6dd7950d9
--- /dev/null
+++ b/net-misc/yt-dlg/Manifest
@@ -0,0 +1 @@
+DIST yt-dlg-2023.08.16.tar.gz 1481142 BLAKE2B d64bd9e52531c1c66ef83e18d960dc63200cfd7185af9b14339a5fd852a36966e8cbbd769ecc65e457d52fb0a46f84f84147116a8771d18ea80237d03ec0ab20 SHA512 efc7aaa88b18bc58466fbc0fa62d7b26f857bf759cb7960f3728a351e66d2dc4d13ae8002fce140e03f9e0ff89940686a3753c24796e78777b33928d86fcdedc
diff --git a/net-misc/yt-dlg/yt-dlg-2023.08.16.ebuild b/net-misc/yt-dlg/yt-dlg-2023.08.16.ebuild
new file mode 100644
index 0000000000..325aa2bc68
--- /dev/null
+++ b/net-misc/yt-dlg/yt-dlg-2023.08.16.ebuild
@@ -0,0 +1,57 @@
+# 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 August 16, 2023 as of November 1, 2023.
+# 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="692e5c5deee95c721a4ad92ecae7ca86de8bef35"
+SRC_URI="https://github.com/yt-dlg/yt-dlg/archive/${SHA}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="ffmpeg test"
+
+
+
+# net-misc/youtube-dl isn't available in gentoo anymore but I kept it as a dependency option just in case someone still use it or yt-dlp gets merged to youtube-dl.
+DEPEND="${PYTHON_DEPS}
+ >=dev-python/wxpython-4.2.0:*[${PYTHON_USEDEP}]
+ || (
+ net-misc/youtube-dl[${PYTHON_USEDEP}]
+ net-misc/yt-dlp[${PYTHON_USEDEP}]
+ )
+ >=dev-python/PyPubSub-4.0.3
+ ffmpeg? ( media-video/ffmpeg )
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+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
+}
+
+# I don't know how to enable the test phase.
+distutils_enable_tests pytest
+
+S="${WORKDIR}/${PN}-${SHA}"
+
+DOCS=( README.md )
+
+src_install() {
+ distutils-r1_src_install
+ domenu yt-dlg.desktop
+}
next reply other threads:[~2023-11-01 23:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-01 23:19 Benoît Dufour [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-11-02 9:21 [gentoo-commits] repo/proj/guru:master commit in: net-misc/yt-dlg/ Rui Huang
2023-11-02 9:14 ` [gentoo-commits] repo/proj/guru:dev " Rui Huang
2024-08-05 9:35 David Roman
2024-08-05 9:35 David Roman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1698880757.b5d1550306cd7d6be97793a366cbdfd6ccda0479.benoit.dufour@gentoo \
--to=benoit.dufour@mail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox