net-misc/ytmdl: deps and python compat update; bump to 2021.01.14
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
parent
8d734264d4
commit
2d3ad33bc3
@ -1,3 +1,4 @@
|
||||
DIST ytmdl-2020.05.14.tar.gz 350781 BLAKE2B ceaa14bee8805169b4e015a8d2adaca863d0ea75a26b9ab158f05d0f9736326515d33d9202fa9704beb47adcd841c032493bd0bac80acd7b4de1d6f781d0fa9e SHA512 93b43012d7a6c5ac00755f3b748bf6037e314a73ffbe67ff2fc70b6b708e376446103de6f85e4e82984cff321b7c2a99faefa90f3d3c7bd3b01752a69b11fc7f
|
||||
DIST ytmdl-2020.07.09.tar.gz 2209969 BLAKE2B fc758f0968d8165ab354c1aaa4dc1ada50fb6e88854b5db4ed1a7de4a2355796b389568b1f1a2448fa2be24c1fe6197cec509c367bc804c3b243be5268bc634f SHA512 694e801e65820c96291f4e24d3b2505e6c867972fe7b97ddbd3ea442ec5c1d4066f0c7cc7d1fae8a2985b3bdeb7374ea42d7d93dd915973f6abc3412b73223a7
|
||||
DIST ytmdl-2021.01.13.tar.gz 2318711 BLAKE2B ecd9c3b288918e123ff490cfcbcc4171a005e876ff10291d754845c5c7900d11be06b5184c8c79e3aa3007d1080e9e325de3be3c5e48626c39b02a8a38f5782d SHA512 fc1d5a29886dcc84dbc2c163b5ec1ec0bd765f2d243e806965f85e29ebc167ee6663267bf4321ea3f7e6d1e95ae7d7e66119ad1cb9a5a515553860ec29d5f4c5
|
||||
DIST ytmdl-2021.01.14.tar.gz 2318705 BLAKE2B 9098b3bc96ad7dbe831f03b27887a4319628704331511349014a4700a0ea589717182f0d02dfcd67d8b657485fd10c75a929410278813412880085bbedbd606c SHA512 d00ac433d5ae9fa36fb7283ac404e96184780f0de25073a344b152917a8132949f3baebbf503060e7606ecf5ff7b6f0f5d61539c44016d8aef8a5527cb4da1be
|
||||
|
@ -1,7 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<upstream>
|
||||
<remote-id type="github">deepjyoti30/ytmdl</remote-id>
|
||||
</upstream>
|
||||
<maintainer type="person">
|
||||
<email>xgqt@protonmail.com</email>
|
||||
<name>Maciej Barć</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">deepjyoti30/ytmdl</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
52
net-misc/ytmdl/ytmdl-2021.01.14.ebuild
Normal file
52
net-misc/ytmdl/ytmdl-2021.01.14.ebuild
Normal 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..8} )
|
||||
|
||||
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
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
PYTHON_COMPAT=( python3_{7..8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@ -22,15 +22,6 @@ RESTRICT="mirror"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
src_prepare() {
|
||||
# Excerpt from https://pypi.org/project/bs4
|
||||
# "The official name of PyPI’s Beautiful Soup Python package is beautifulsoup4.
|
||||
# This package ensures that if you type pip install bs4 by mistake you will end up with Beautiful Soup."
|
||||
# ;-)
|
||||
sed -i 's/bs4/beautifulsoup4/' setup.py
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/requests-2.22.0[${PYTHON_USEDEP}]
|
||||
dev-python/PySocks[${PYTHON_USEDEP}]
|
||||
@ -39,8 +30,23 @@ RDEPEND="
|
||||
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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user