diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-15 12:04:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-15 12:04:03 +0100 |
commit | 7fa8a1e3f149eea4c844c47cfe26136ed7614c58 (patch) | |
tree | e514d1b9999d088064bee1e34a3a3c500d6d7a07 /net-misc/ytmdl | |
parent | d993571e2ee444d08f4e9e90d493ee37338657e3 (diff) |
gentoo auto-resync : 15:04:2024 - 12:04:02
Diffstat (limited to 'net-misc/ytmdl')
-rw-r--r-- | net-misc/ytmdl/Manifest | 2 | ||||
-rw-r--r-- | net-misc/ytmdl/ytmdl-2024.04.14.ebuild | 63 |
2 files changed, 65 insertions, 0 deletions
diff --git a/net-misc/ytmdl/Manifest b/net-misc/ytmdl/Manifest index 98472152b943..539e66e14c66 100644 --- a/net-misc/ytmdl/Manifest +++ b/net-misc/ytmdl/Manifest @@ -1,4 +1,6 @@ AUX ytmdl-2023.11.26-data_files.patch 208 BLAKE2B 51cb77162812f798ce73d3d71d7a1ad113c047b3ed1e75747d09017b400353dc1fd7bd13ab180ad2e33f4d5c52c65330ff841240677b89da45c85e57a4328993 SHA512 66e6b4177c64232878c5ff04d09a931e0d3a51d0f797f5e2186d3c2870f606c6ac54a367abf90fb3805018f01f6ddb79065aa3a543171f1d1cbcc06e813f910c 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 EBUILD ytmdl-2023.11.26-r1.ebuild 1645 BLAKE2B 32762cca3ee9918b8f206f10353242c41b22ab82ad6226c1e7f2038c2bf6773578c008dd5ecc26b48677f706354ff64ce073da8173e481d7592136625595f34b SHA512 b2b3b90c78bf4b6b07e38e1e625dd6e67ece37e64bc8e9bda10fc797651f2bf88a6b06841b1e0dd817185d0262bf41e88d93a1704c199904bab416c5ea25df1b +EBUILD ytmdl-2024.04.14.ebuild 1645 BLAKE2B 96462c1dfeabb5978dbbed84031339acfaabb4c3b523eb4f85ebf3f65200701018cf59ca3809f011af84574a5312e26ef35097cfe1ab66013b9545d801cf080a SHA512 e42eed2725161b02bd80d254ae13998e0bf91508e5152c9d5d2ae20a9def96a81146e8fc16eae9c617e77d200fc38a7140369ca3823f225de069be5bf6a12ff6 MISC metadata.xml 450 BLAKE2B 9901cfebf346a8874315680cdef3ff19d49a84a812358aa122b99645ccde78f8c3b3ea42b1d16bdfcf9f670a694ebcbd9ce50cbcaefcef11c97eeee85264b442 SHA512 32a761ea39aaf5654523a09bfd5bfc6f4052cd35248439bb46175409085cb13b5fbb0097269785ae11df5701fa785ee564d756af5b00b4ab8112cdf3381f45e3 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}" +} |