net-misc/ytmdl - 2024.08.15.1-r3 (gentoo)

Search

Install

Install this version:

emerge -a =net-misc/ytmdl-2024.08.15.1-r3

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-misc/ytmdl-2024.08.15.1-r3

Or alternatively:

emerge --autounmask-write -a =net-misc/ytmdl-2024.08.15.1-r3

Package Information

Description:
Simple app to get songs from youtube in mp3 format
Homepage:
https://ytmdl.deepjyoti30.dev/ https://github.com/deepjyoti30/ytmdl/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
2024.08.15.1-r3 8 amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517="setuptools"
PYTHON_COMPAT=( python3_{13..14} )

inherit bash-completion-r1 distutils-r1 edo

DESCRIPTION="Simple app to get songs from youtube in mp3 format"
HOMEPAGE="https://ytmdl.deepjyoti30.dev/
	https://github.com/deepjyoti30/ytmdl/"

if [[ "${PV}" == *9999* ]] ; then
	inherit git-r3

	EGIT_REPO_URI="https://github.com/deepjyoti30/${PN}"
else
	SRC_URI="https://github.com/deepjyoti30/${PN}/archive/${PV}.tar.gz
		-> ${P}.gh.tar.gz"

	KEYWORDS="amd64 ~x86"
fi

LICENSE="MIT"
SLOT="0"

RDEPEND="
	>=net-misc/yt-dlp-2022.3.8.2[${PYTHON_USEDEP}]
	dev-python/pysocks[${PYTHON_USEDEP}]
	dev-python/beautifulsoup4[${PYTHON_USEDEP}]
	dev-python/colorama[${PYTHON_USEDEP}]
	dev-python/ffmpeg-python[${PYTHON_USEDEP}]
	dev-python/itunespy[${PYTHON_USEDEP}]
	dev-python/musicbrainzngs[${PYTHON_USEDEP}]
	dev-python/pydes[${PYTHON_USEDEP}]
	dev-python/pyxdg[${PYTHON_USEDEP}]
	dev-python/requests[${PYTHON_USEDEP}]
	dev-python/rich[${PYTHON_USEDEP}]
	dev-python/simber[${PYTHON_USEDEP}]
	dev-python/spotipy[${PYTHON_USEDEP}]
	dev-python/unidecode[${PYTHON_USEDEP}]
	dev-python/urllib3[${PYTHON_USEDEP}]
	dev-python/youtube-search-python[${PYTHON_USEDEP}]
	dev-python/ytmusicapi[${PYTHON_USEDEP}]
	media-libs/mutagen[${PYTHON_USEDEP}]
	net-misc/downloader-cli[${PYTHON_USEDEP}]
"

PATCHES=( "${FILESDIR}/${PN}-2023.11.26-data_files.patch" )

python_compile() {
	distutils-r1_python_compile

	edo "${EPYTHON}" ./utils/completion.py
}

src_install() {
	distutils-r1_src_install

	newbashcomp "${PN}.bash" "${PN}"
}

Inherited Eclasses

edo

Dependencies

RDEPEND

	>=net-misc/yt-dlp-2022.3.8.2[]
	dev-python/pysocks[]
	dev-python/beautifulsoup4[]
	dev-python/colorama[]
	dev-python/ffmpeg-python[]
	dev-python/itunespy[]
	dev-python/musicbrainzngs[]
	dev-python/pydes[]
	dev-python/pyxdg[]
	dev-python/requests[]
	dev-python/rich[]
	dev-python/simber[]
	dev-python/spotipy[]
	dev-python/unidecode[]
	dev-python/urllib3[]
	dev-python/youtube-search-python[]
	dev-python/ytmusicapi[]
	media-libs/mutagen[]
	net-misc/downloader-cli[]