From: "Rui Huang" <vowstar@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-misc/youtube-dl/
Date: Thu, 2 Nov 2023 09:21:40 +0000 (UTC) [thread overview]
Message-ID: <1698915102.a90f3650cf16f5f4ced1c891ad8ac681959b7673.vowstar@gentoo> (raw)
Message-ID: <20231102092140.iZtrXEFmDCN_36_4uBZJ_KnCzxaWjCAX1uFfaccVT7M@z> (raw)
commit: a90f3650cf16f5f4ced1c891ad8ac681959b7673
Author: Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Thu Nov 2 08:50:24 2023 +0000
Commit: Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Thu Nov 2 08:51:42 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a90f3650
net-misc/youtube-dl: fix QA for net-misc/yt-dlg, add 2021.12.17
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
net-misc/youtube-dl/Manifest | 1 +
net-misc/youtube-dl/metadata.xml | 9 +++++
net-misc/youtube-dl/youtube-dl-2021.12.17.ebuild | 44 ++++++++++++++++++++++++
3 files changed, 54 insertions(+)
diff --git a/net-misc/youtube-dl/Manifest b/net-misc/youtube-dl/Manifest
new file mode 100644
index 0000000000..a0a1ab7aa2
--- /dev/null
+++ b/net-misc/youtube-dl/Manifest
@@ -0,0 +1 @@
+DIST youtube-dl-2021.12.17.tar.gz 3332299 BLAKE2B 5c798ad1f54f06cc42fd9a538536310e1084a02ec96969ff8e85ef0c6487ef54f34d58858512ade8b279929d8ebb9dda48175302fa23af9833c2301daa1d49c2 SHA512 bfc8280703b08f66e1108e9ebd9ab4689f064ac7cef03bd3d1fd2bc64928570e4376e389c9bc188eafdbcd74444cfc8aeccc83ee362ad4f478910efef3573ddb
diff --git a/net-misc/youtube-dl/metadata.xml b/net-misc/youtube-dl/metadata.xml
new file mode 100644
index 0000000000..f4fbb6fe29
--- /dev/null
+++ b/net-misc/youtube-dl/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="github">ytdl-org/youtube-dl</remote-id>
+ <remote-id type="pypi">youtube-dl</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-misc/youtube-dl/youtube-dl-2021.12.17.ebuild b/net-misc/youtube-dl/youtube-dl-2021.12.17.ebuild
new file mode 100644
index 0000000000..f8943d44b7
--- /dev/null
+++ b/net-misc/youtube-dl/youtube-dl-2021.12.17.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-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 bash-completion-r1 distutils-r1
+
+DESCRIPTION="youtube-dl fork with additional features and fixes"
+HOMEPAGE="https://ytdl-org.github.io/youtube-dl"
+SRC_URI="https://github.com/ytdl-org/${PN}/releases/download/${PV}/${P}.tar.gz"
+S="${WORKDIR}/${PN}"
+
+LICENSE="Unlicense"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
+# Disable test suite because it is two slow and require network access
+RESTRICT="test"
+
+RDEPEND="
+ dev-python/pycryptodome[${PYTHON_USEDEP}]
+ !net-misc/yt-dlp
+"
+
+src_prepare() {
+ distutils-r1_src_prepare
+ sed -i 's|etc/bash_completion.d|share/bash-completion/completions|' setup.py || die
+ sed -i 's|etc/fish/completions|share/fish/vendor_completions.d|' setup.py || die
+ sed -i '/youtube-dl.bash-completion/d' setup.py || die
+ sed -i '/README.txt/d' setup.py || die
+}
+
+python_install_all() {
+ dodoc "${S}"/{AUTHORS,ChangeLog,README.*}
+ doman "${S}"/youtube-dl.1
+ newbashcomp "${S}"/youtube-dl.bash-completion youtube-dl
+
+ insinto /usr/share/fish/vendor_completions.d
+ doins "${S}"/youtube-dl.fish
+
+ insinto /usr/share/zsh/site-functions
+ doins "${S}"/youtube-dl.zsh
+}
next reply other threads:[~2023-11-02 9:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-02 9:14 Rui Huang [this message]
2023-11-02 9:21 ` [gentoo-commits] repo/proj/guru:master commit in: net-misc/youtube-dl/ Rui Huang
-- strict thread matches above, loose matches on Subject: below --
2023-11-06 10:52 [gentoo-commits] repo/proj/guru:dev " Rui Huang
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=1698915102.a90f3650cf16f5f4ced1c891ad8ac681959b7673.vowstar@gentoo \
--to=vowstar@gmail.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