diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-08-16 17:04:33 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2024-08-16 18:21:46 +0200 |
commit | afd9e64067a13788211185d63fc6e6e566a61995 (patch) | |
tree | 97219937dfa796fabbe887d63ddc52c305857ef7 /net-misc | |
parent | dev-lang/boogie: drop old 3.1.6 (diff) | |
download | gentoo-afd9e64067a13788211185d63fc6e6e566a61995.tar.gz gentoo-afd9e64067a13788211185d63fc6e6e566a61995.tar.bz2 gentoo-afd9e64067a13788211185d63fc6e6e566a61995.zip |
net-misc/ytmdl: bump to 2024.08.15.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/ytmdl/Manifest | 1 | ||||
-rw-r--r-- | net-misc/ytmdl/ytmdl-2024.08.15.1.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/net-misc/ytmdl/Manifest b/net-misc/ytmdl/Manifest index b45bb8516bfa..fd4268f43313 100644 --- a/net-misc/ytmdl/Manifest +++ b/net-misc/ytmdl/Manifest @@ -1 +1,2 @@ DIST ytmdl-2024.04.14.gh.tar.gz 1120264 BLAKE2B 018942cb9fa2534d225ba66e73e6b117581ce86cdc13b9bd3a39475dcde76d57fa97731264e3bf54863e0ab613a93861d51d7f0c678d332f029446cfaaa75820 SHA512 2d8b2e2189c6f0483dd32466f98281d8f173ad5d8a717ff9d828a7b08fc7f6313f108fb11da4b18ae66336c754c1c00f14010fe823c0a182387578db01795760 +DIST ytmdl-2024.08.15.1.gh.tar.gz 1120362 BLAKE2B ae6bdb8b610f585da7ed15cda298edbbed6a1274459ebb6f13e1afa3a7ed6666e49d7461cf197aa2ac46ca9f989d2d802dd89e83848204395e228d90cc6b9ed0 SHA512 431672b12f4366afd1b6a9dde9e52c14c51db53a7f41eb49a6680590bcf9ec0ca6736506c509262b99ffcf713f940bbb7c903937761ea16bc8dcdc6084201071 diff --git a/net-misc/ytmdl/ytmdl-2024.08.15.1.ebuild b/net-misc/ytmdl/ytmdl-2024.08.15.1.ebuild new file mode 100644 index 000000000000..b5a601e050f4 --- /dev/null +++ b/net-misc/ytmdl/ytmdl-2024.08.15.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..12} ) + +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}.git" +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}" +} |