* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/youtube-dl/
@ 2023-11-02 9:14 Rui Huang
2023-11-02 9:21 ` [gentoo-commits] repo/proj/guru:master " Rui Huang
0 siblings, 1 reply; 3+ messages in thread
From: Rui Huang @ 2023-11-02 9:14 UTC (permalink / raw
To: gentoo-commits
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
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: net-misc/youtube-dl/
2023-11-02 9:14 [gentoo-commits] repo/proj/guru:dev commit in: net-misc/youtube-dl/ Rui Huang
@ 2023-11-02 9:21 ` Rui Huang
0 siblings, 0 replies; 3+ messages in thread
From: Rui Huang @ 2023-11-02 9:21 UTC (permalink / raw
To: gentoo-commits
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
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: net-misc/youtube-dl/
@ 2023-11-06 14:38 David Roman
0 siblings, 0 replies; 3+ messages in thread
From: David Roman @ 2023-11-06 14:38 UTC (permalink / raw
To: gentoo-commits
commit: 6cceb97e1a8df0afd6bc044276a6ce9fb3e6a2b1
Author: Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Mon Nov 6 10:50:00 2023 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Nov 6 10:50:00 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6cceb97e
net-misc/youtube-dl: improve ebuild and inherit shell-completion
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
net-misc/youtube-dl/youtube-dl-2021.12.17.ebuild | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/net-misc/youtube-dl/youtube-dl-2021.12.17.ebuild b/net-misc/youtube-dl/youtube-dl-2021.12.17.ebuild
index f8943d44b7..c4e467feac 100644
--- a/net-misc/youtube-dl/youtube-dl-2021.12.17.ebuild
+++ b/net-misc/youtube-dl/youtube-dl-2021.12.17.ebuild
@@ -5,7 +5,7 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
-inherit bash-completion-r1 distutils-r1
+inherit distutils-r1 shell-completion
DESCRIPTION="youtube-dl fork with additional features and fixes"
HOMEPAGE="https://ytdl-org.github.io/youtube-dl"
@@ -34,11 +34,7 @@ src_prepare() {
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
+ newbashcomp "${S}"/youtube-dl.bash-completion "${PN}"
+ dofishcomp "${S}"/youtube-dl.fish
+ newzshcomp "${S}"/youtube-dl.zsh "_${PN}"
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-11-06 14:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-02 9:14 [gentoo-commits] repo/proj/guru:dev commit in: net-misc/youtube-dl/ Rui Huang
2023-11-02 9:21 ` [gentoo-commits] repo/proj/guru:master " Rui Huang
-- strict thread matches above, loose matches on Subject: below --
2023-11-06 14:38 David Roman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox