Compare commits

..

2 Commits

Author SHA1 Message Date
Maciej Barć
85890fa762
net-misc/ytmdl: bump to 2021.03.04
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt@riseup.net>
2021-05-07 09:43:56 +02:00
Maciej Barć
4b6c038d76
net-misc/ytmdl: bump python compat
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt@riseup.net>
2021-05-07 09:42:46 +02:00
3 changed files with 54 additions and 1 deletions

View File

@ -1 +1,2 @@
DIST ytmdl-2021.01.14.tar.gz 2318705 BLAKE2B 9098b3bc96ad7dbe831f03b27887a4319628704331511349014a4700a0ea589717182f0d02dfcd67d8b657485fd10c75a929410278813412880085bbedbd606c SHA512 d00ac433d5ae9fa36fb7283ac404e96184780f0de25073a344b152917a8132949f3baebbf503060e7606ecf5ff7b6f0f5d61539c44016d8aef8a5527cb4da1be DIST ytmdl-2021.01.14.tar.gz 2318705 BLAKE2B 9098b3bc96ad7dbe831f03b27887a4319628704331511349014a4700a0ea589717182f0d02dfcd67d8b657485fd10c75a929410278813412880085bbedbd606c SHA512 d00ac433d5ae9fa36fb7283ac404e96184780f0de25073a344b152917a8132949f3baebbf503060e7606ecf5ff7b6f0f5d61539c44016d8aef8a5527cb4da1be
DIST ytmdl-2021.03.04.tar.gz 2320226 BLAKE2B 8fe9277d4c5c04a13293b5f508da5469e23a52ca5abb91e81c20585e4496cd05ffb7a1564d1fccceabba5a684cf0d53a92d52d485d69a1c5fdb68c5d497973ed SHA512 021f2a1eb062f0d136b501b548cb3b4f4d5ae8c50d96506f4ae9022a54eda7f826d33fc142dfa30dba41331b5708d2c5e20938b78ec12e44a82da9e415438f36

View File

@ -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
}

View File

@ -3,7 +3,7 @@
EAPI=7 EAPI=7
PYTHON_COMPAT=( python3_{7..8} ) PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1 inherit distutils-r1