From 85890fa76272aa8454f8b04755d4bd433621d97b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Fri, 7 May 2021 09:43:56 +0200 Subject: [PATCH] net-misc/ytmdl: bump to 2021.03.04 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Maciej Barć --- net-misc/ytmdl/Manifest | 1 + net-misc/ytmdl/ytmdl-2021.03.04.ebuild | 52 ++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 net-misc/ytmdl/ytmdl-2021.03.04.ebuild diff --git a/net-misc/ytmdl/Manifest b/net-misc/ytmdl/Manifest index 951cfbe..4d760ad 100644 --- a/net-misc/ytmdl/Manifest +++ b/net-misc/ytmdl/Manifest @@ -1 +1,2 @@ DIST ytmdl-2021.01.14.tar.gz 2318705 BLAKE2B 9098b3bc96ad7dbe831f03b27887a4319628704331511349014a4700a0ea589717182f0d02dfcd67d8b657485fd10c75a929410278813412880085bbedbd606c SHA512 d00ac433d5ae9fa36fb7283ac404e96184780f0de25073a344b152917a8132949f3baebbf503060e7606ecf5ff7b6f0f5d61539c44016d8aef8a5527cb4da1be +DIST ytmdl-2021.03.04.tar.gz 2320226 BLAKE2B 8fe9277d4c5c04a13293b5f508da5469e23a52ca5abb91e81c20585e4496cd05ffb7a1564d1fccceabba5a684cf0d53a92d52d485d69a1c5fdb68c5d497973ed SHA512 021f2a1eb062f0d136b501b548cb3b4f4d5ae8c50d96506f4ae9022a54eda7f826d33fc142dfa30dba41331b5708d2c5e20938b78ec12e44a82da9e415438f36 diff --git a/net-misc/ytmdl/ytmdl-2021.03.04.ebuild b/net-misc/ytmdl/ytmdl-2021.03.04.ebuild new file mode 100644 index 0000000..61cf523 --- /dev/null +++ b/net-misc/ytmdl/ytmdl-2021.03.04.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_{7..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 +}