net-misc/youtube-dl: treeclean

Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
David Roman
2024-09-05 10:39:01 +02:00
parent 4e433ea46f
commit 0e64aabe52
4 changed files with 0 additions and 55 deletions

View File

@@ -1 +0,0 @@
DIST youtube-dl-2021.12.17.tar.gz 3332299 BLAKE2B 5c798ad1f54f06cc42fd9a538536310e1084a02ec96969ff8e85ef0c6487ef54f34d58858512ade8b279929d8ebb9dda48175302fa23af9833c2301daa1d49c2 SHA512 bfc8280703b08f66e1108e9ebd9ab4689f064ac7cef03bd3d1fd2bc64928570e4376e389c9bc188eafdbcd74444cfc8aeccc83ee362ad4f478910efef3573ddb

View File

@@ -1,9 +0,0 @@
<?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>

View File

@@ -1,40 +0,0 @@
# 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 distutils-r1 shell-completion
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 "${PN}"
dofishcomp "${S}"/youtube-dl.fish
newzshcomp "${S}"/youtube-dl.zsh "_${PN}"
}