diff --git a/net-misc/ytmdl/Manifest b/net-misc/ytmdl/Manifest index 5e7d9fa..ff6c3b7 100644 --- a/net-misc/ytmdl/Manifest +++ b/net-misc/ytmdl/Manifest @@ -1,2 +1,3 @@ DIST ytmdl-2021.03.04.tar.gz 2320226 BLAKE2B 8fe9277d4c5c04a13293b5f508da5469e23a52ca5abb91e81c20585e4496cd05ffb7a1564d1fccceabba5a684cf0d53a92d52d485d69a1c5fdb68c5d497973ed SHA512 021f2a1eb062f0d136b501b548cb3b4f4d5ae8c50d96506f4ae9022a54eda7f826d33fc142dfa30dba41331b5708d2c5e20938b78ec12e44a82da9e415438f36 DIST ytmdl-2021.05.26.tar.gz 2321313 BLAKE2B 249cd769ceecb94d726eba3e520a2d467f255e7949160bb587a555572cea9c0475a4ac1795ca48915b6ee3b9f9a20c3f6b1be0ea8ef04aed43708967ea79d986 SHA512 504b6abcc14f718b7d3a1a40d763623aa38137388805a8a74778923eaafda90a072e2475a9fdd39f7071fad0fa06d45f7124a191c4c87f49d83849f55e3e2c84 +DIST ytmdl-2021.06.26.tar.gz 1112653 BLAKE2B 81e81d9646b6fd9b66c23592bb75bb285ac654355d6032a89ba427ed33e1511ef8609100a0c1a217cb126943fbec9f3b63d41e704763d45fce894e0fe6fb27fc SHA512 6eba2264663fab4c1125f4f430c2f8a98df90ea4f8d8e9da8a0d45fa0aff17a18b86798f657661d7458a789272fbd504454c341f59ee9ff9d4a3d8d07497b536 diff --git a/net-misc/ytmdl/ytmdl-2021.06.26.ebuild b/net-misc/ytmdl/ytmdl-2021.06.26.ebuild new file mode 100644 index 0000000..429dabe --- /dev/null +++ b/net-misc/ytmdl/ytmdl-2021.06.26.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8,9} ) + +inherit distutils-r1 + +DESCRIPTION="A simple app to get songs from youtube in mp3 format" +HOMEPAGE="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}.tar.gz" + KEYWORDS="~amd64" +fi + +RESTRICT="mirror" +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + >=dev-python/requests-2.22.0[${PYTHON_USEDEP}] + dev-python/PySocks[${PYTHON_USEDEP}] + dev-python/beautifulsoup:4[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/ffmpeg-python[${PYTHON_USEDEP}] + dev-python/itunespy[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pycountry[${PYTHON_USEDEP}] + dev-python/pydes[${PYTHON_USEDEP}] + dev-python/python-musicbrainz-ngs[${PYTHON_USEDEP}] + dev-python/pyxdg[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + dev-python/simber[${PYTHON_USEDEP}] + dev-python/unidecode[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] + dev-python/youtube-search[${PYTHON_USEDEP}] + media-libs/mutagen[${PYTHON_USEDEP}] + net-misc/downloader-cli[${PYTHON_USEDEP}] + net-misc/youtube-dl[${PYTHON_USEDEP}] +" + +src_prepare() { + # https://pypi.org/project/bs4 + sed -i 's/bs4/beautifulsoup4/' setup.py + + distutils-r1_src_prepare +}