mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 22:52:59 -04:00
net-misc/yt-dlg: drop 2023.08.16
Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST yt-dlg-2023.08.16.gh.tar.gz 1481142 BLAKE2B d64bd9e52531c1c66ef83e18d960dc63200cfd7185af9b14339a5fd852a36966e8cbbd769ecc65e457d52fb0a46f84f84147116a8771d18ea80237d03ec0ab20 SHA512 efc7aaa88b18bc58466fbc0fa62d7b26f857bf759cb7960f3728a351e66d2dc4d13ae8002fce140e03f9e0ff89940686a3753c24796e78777b33928d86fcdedc
|
||||
DIST yt-dlg-2024.03.19.gh.tar.gz 1481178 BLAKE2B aca69edf26d906a28fd60c7d2b8c450f74dbbd3c21d8f63866807886e2fe95f71a13039e6d666ffe29d52dfe0db596f5ace9a5a5feea6785affe5c2e1f28a94c SHA512 c151bed0e45398de8080219895a686dadaebdc9b47631eee52861ec5ee35665983ef36f09f11acd44e163acb215d50f1c3cc52094e6ab4f220372e487c412fee
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
inherit desktop distutils-r1 xdg
|
||||
|
||||
DESCRIPTION="A cross platform front-end GUI of the popular youtube-dl written in wxPython."
|
||||
HOMEPAGE="https://yt-dlg.github.io/yt-dlg/"
|
||||
# Using latest commit from August 16, 2023 as of November 1, 2023.
|
||||
# Latest releases and tags are from 2021 and are probably deprecated and incompatible with current Python versions.
|
||||
# Same applies for the dependencies of yt-dlp.
|
||||
SHA="692e5c5deee95c721a4ad92ecae7ca86de8bef35"
|
||||
SRC_URI="https://github.com/yt-dlg/yt-dlg/archive/${SHA}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${PN}-${SHA}"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="ffmpeg"
|
||||
|
||||
# net-misc/youtube-dl isn't available in gentoo anymore but I kept it as a dependency option just in case someone still
|
||||
# use it or yt-dlp gets merged to youtube-dl.
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
>=dev-python/wxpython-4.2.0:*[${PYTHON_USEDEP}]
|
||||
|| (
|
||||
net-misc/youtube-dl[${PYTHON_USEDEP}]
|
||||
net-misc/yt-dlp[${PYTHON_USEDEP}]
|
||||
)
|
||||
>=dev-python/PyPubSub-4.0.3
|
||||
ffmpeg? ( media-video/ffmpeg )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# I don't know how to enable the test phase.
|
||||
distutils_enable_tests pytest
|
||||
|
||||
DOCS=( README.md )
|
||||
|
||||
python_test() {
|
||||
local tests=( ditem dlist parsers utils widgets )
|
||||
local current_test
|
||||
for current_test in tests; do
|
||||
"${EPYTHON}" "tests/test_${curent_test}.py" || die "Tests fail with ${EPYTHON}"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
domenu yt-dlg.desktop
|
||||
}
|
||||
Reference in New Issue
Block a user