mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
media-sound/yewtube: drop 2.10.5-r1
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST yewtube-2.10.5.gh.tar.gz 221501 BLAKE2B 7f377a3d8c1927ee56abf61f213895df908f880a2cec79685b21006a39eb2c9d8e0f5d2a4ac826e0a509cbc4abed3a1a1dafa80f89e59d7e6c2036f195255b89 SHA512 8eabb2eb53dc530269a766802ed5df537fea1596f1694f7fb91ccee8ebbcb7c1d3741f80fd8a6de52873132bc61526072bef7c2ecc295d4babcfe564bf7cc05a
|
||||
DIST yewtube-2.12.0.gh.tar.gz 222486 BLAKE2B f26ee60ba7efbc54c1a92c844e9b3b850f4e34b7e8ba1dae85b7b0c342e5e9c098d6da5df48193d9e57b0258f4a5f2512cc2011d9abebe425c482bacdbd0907d SHA512 30d7590fc9d085f26d632ab6728e0de521a38e73c3b8064041a9398cf2593e80a30dfefa1e9c203bf76326ceff19adb953ad5f68b46d2a5fae94d64617e57b46
|
||||
|
||||
@@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=(python3_{9..12})
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Terminal-based YouTube player and downloader"
|
||||
HOMEPAGE="https://github.com/mps-youtube/yewtube https://pypi.org/project/yewtube/"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/mps-youtube/yewtube.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/mps-youtube/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
media-video/ffmpeg
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/pyperclip[${PYTHON_USEDEP}]
|
||||
net-misc/yt-dlp[${PYTHON_USEDEP}]
|
||||
dev-python/youtube-search-python[${PYTHON_USEDEP}]
|
||||
dev-python/pylast[${PYTHON_USEDEP}]
|
||||
dev-python/pip[${PYTHON_USEDEP}]
|
||||
dev-python/pipenv[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
|| ( media-video/mplayer media-video/mpv )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
test? (
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# bug #939186
|
||||
sed -i 's/from pip\._vendor //' mps_youtube/__init__.py || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils-r1_src_compile --build-dir "${WORKDIR}/${P}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install --build-dir "${WORKDIR}/${P}"
|
||||
}
|
||||
Reference in New Issue
Block a user