summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-04-14 23:01:14 +0200
committerMaciej Barć <xgqt@gentoo.org>2024-04-14 23:57:34 +0200
commitb455ee0a351473063762b0a3c62a46f9a208e8cf (patch)
tree6eb3b2ced87773ba2525d96e757ad8789fad660f /net-misc
parentapp-emacs/elpa-mirror: bump to 2.3.0 (diff)
downloadgentoo-b455ee0a351473063762b0a3c62a46f9a208e8cf.tar.gz
gentoo-b455ee0a351473063762b0a3c62a46f9a208e8cf.tar.bz2
gentoo-b455ee0a351473063762b0a3c62a46f9a208e8cf.zip
net-misc/ytmdl: bump to 2024.04.14
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/ytmdl/Manifest1
-rw-r--r--net-misc/ytmdl/ytmdl-2024.04.14.ebuild63
2 files changed, 64 insertions, 0 deletions
diff --git a/net-misc/ytmdl/Manifest b/net-misc/ytmdl/Manifest
index 7892c1e81b09..782f9f3833f9 100644
--- a/net-misc/ytmdl/Manifest
+++ b/net-misc/ytmdl/Manifest
@@ -1 +1,2 @@
DIST ytmdl-2023.11.26.gh.tar.gz 1120208 BLAKE2B 145f8e24305f4978f1ed0655e5511c6b17b94ea23301309c31bbafaec60b2184216ef0866aed478eda95763ab4ec0cd43eac176acf849871e58c3505b09ea231 SHA512 df8ed294f0092d4078fba8b64abcd2524e0d8331a42dfee6e1869e3a418cf2d54f95d7c300d83e4392295ea4116ec989d418b0292b0895ef474bf93338a980e7
+DIST ytmdl-2024.04.14.gh.tar.gz 1120264 BLAKE2B 018942cb9fa2534d225ba66e73e6b117581ce86cdc13b9bd3a39475dcde76d57fa97731264e3bf54863e0ab613a93861d51d7f0c678d332f029446cfaaa75820 SHA512 2d8b2e2189c6f0483dd32466f98281d8f173ad5d8a717ff9d828a7b08fc7f6313f108fb11da4b18ae66336c754c1c00f14010fe823c0a182387578db01795760
diff --git a/net-misc/ytmdl/ytmdl-2024.04.14.ebuild b/net-misc/ytmdl/ytmdl-2024.04.14.ebuild
new file mode 100644
index 000000000000..605d4eb28f65
--- /dev/null
+++ b/net-misc/ytmdl/ytmdl-2024.04.14.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_{10..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}"
+}