diff options
author | Maciej Barć <xgqt@gentoo.org> | 2022-04-04 00:41:21 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2022-04-05 16:01:00 +0200 |
commit | 06c15415081276f34ed569c4735e021222b4f698 (patch) | |
tree | f87d8a085605260465bbe0c7340c5e4b7f94af3e /net-misc/ytmdl | |
parent | dev-php/pecl-apcu: Drop elog message about apcu_bc (diff) | |
download | gentoo-06c15415081276f34ed569c4735e021222b4f698.tar.gz gentoo-06c15415081276f34ed569c4735e021222b4f698.tar.bz2 gentoo-06c15415081276f34ed569c4735e021222b4f698.zip |
net-misc/ytmdl: new package; add version 2022.3.16
Bug: https://github.com/deepjyoti30/ytmdl/issues/222
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'net-misc/ytmdl')
-rw-r--r-- | net-misc/ytmdl/Manifest | 1 | ||||
-rw-r--r-- | net-misc/ytmdl/files/ytmdl-2022.3.16-setup.py-beautifulsoup4.patch | 12 | ||||
-rw-r--r-- | net-misc/ytmdl/metadata.xml | 13 | ||||
-rw-r--r-- | net-misc/ytmdl/ytmdl-2022.3.16.ebuild | 47 |
4 files changed, 73 insertions, 0 deletions
diff --git a/net-misc/ytmdl/Manifest b/net-misc/ytmdl/Manifest new file mode 100644 index 000000000000..727877db8126 --- /dev/null +++ b/net-misc/ytmdl/Manifest @@ -0,0 +1 @@ +DIST ytmdl-2022.3.16.tar.gz 51115 BLAKE2B 504d0d0de299c8989bb289769cd43645199a7f47b683885efc6eafde5643ed070cc66eeaf7b1c8f42d547b25f830c3bd8feb9abc0124b28d4d1900e5cf785c9d SHA512 5ad67fb981d5f3ea42d2f097cecf982f0971e824c5971aa8fbc664303f436c623ab03a9f0e31dba060b27eb7eb57b88452ba1ede9eb3385dc6acead9fa43e0d0 diff --git a/net-misc/ytmdl/files/ytmdl-2022.3.16-setup.py-beautifulsoup4.patch b/net-misc/ytmdl/files/ytmdl-2022.3.16-setup.py-beautifulsoup4.patch new file mode 100644 index 000000000000..c87655a7cdca --- /dev/null +++ b/net-misc/ytmdl/files/ytmdl-2022.3.16-setup.py-beautifulsoup4.patch @@ -0,0 +1,12 @@ +index 4a50f0f..6decdd4 100755 +--- a/setup.py ++++ b/setup.py +@@ -16,7 +16,7 @@ req_pkgs = [ + 'itunespy', + 'requests', + 'colorama', +- 'bs4', ++ 'beautifulsoup4', + 'downloader-cli', + 'pyxdg', + 'ffmpeg-python', diff --git a/net-misc/ytmdl/metadata.xml b/net-misc/ytmdl/metadata.xml new file mode 100644 index 000000000000..d985beeda195 --- /dev/null +++ b/net-misc/ytmdl/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="person"> + <email>xgqt@gentoo.org</email> + <name>Maciej Barć</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/deepjyoti30/ytmdl/issues/</bugs-to> + <remote-id type="github">deepjyoti30/ytmdl</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-misc/ytmdl/ytmdl-2022.3.16.ebuild b/net-misc/ytmdl/ytmdl-2022.3.16.ebuild new file mode 100644 index 000000000000..6874dc8933da --- /dev/null +++ b/net-misc/ytmdl/ytmdl-2022.3.16.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit bash-completion-r1 distutils-r1 + +DESCRIPTION="Simple app to get songs from youtube in mp3 format" +HOMEPAGE="https://ytmdl.deepjyoti30.dev/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +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/pyDes[${PYTHON_USEDEP}] + dev-python/python-musicbrainzngs[${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}"/${P}-setup.py-beautifulsoup4.patch ) + +src_install() { + distutils-r1_src_install + + newbashcomp ${PN}.bash ${PN} +} |