mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
media-video/yle-dl: drop 20250316
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST yle-dl-20250316.tar.gz 81041 BLAKE2B fd4c935ead73df123fe6182c0f1697451b8a32318f2ded8cad9a3009e33a6b38d2330fdc2785e59eff3397b7e184b6d741ed40b7fb52aeadc9836496118f8c04 SHA512 47e8ef7812c82e0b321ddca77b7989c8dbcf1cdd26d35fc82d45c6c71cfc6ef023a77666425185a4cd688a1b675b2471b51bdefa073b2d3d67d4a9bbf2586f2e
|
||||
DIST yle-dl-20250614.tar.gz 81261 BLAKE2B 2e8c3206c780d54691506d82f34bdf2d39e6b7eec5f8a01de354dd3a29f6a209f919a5f200cb459d5964d944da089ffe178a7900e43898a6d7a30f687c5ed7fa SHA512 5f54915d10574a292567bc44125957723a6f67798d1cae8e2cf7bcd24214ec673875b3aa2b8e609bc1c93f2460513746705073cd9e8a559dd92802f5bded2096
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
|
||||
inherit distutils-r1 optfeature
|
||||
|
||||
DESCRIPTION="Download media files from Yle Areena"
|
||||
HOMEPAGE="https://aajanki.github.io/yle-dl/ https://github.com/aajanki/yle-dl"
|
||||
SRC_URI="https://github.com/aajanki/yle-dl/archive/refs/tags/releases/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${PN}-releases-${PV}"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
IUSE="test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
# Requires an active internet connection during tests to test-download different media formats
|
||||
# from Yle Areena.
|
||||
PROPERTIES="test_network"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="media-video/ffmpeg
|
||||
net-misc/wget
|
||||
>=dev-python/attrs-18.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/configargparse-0.13.0[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/progress[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]"
|
||||
BDEPEND="test? (
|
||||
${RDEPEND}
|
||||
media-video/ffmpeg[gnutls]
|
||||
dev-python/pip[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/wheel[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
DOCS=( COPYING ChangeLog README.fi.md README.sv.md README.md yledl.conf.sample )
|
||||
|
||||
src_install() {
|
||||
docompress -x "/usr/share/doc/${PF}/yledl.conf.sample"
|
||||
distutils-r1_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Sample configuration file has been installed to "
|
||||
elog " /usr/share/doc/yle-dl-${PVR}/yledl.conf.sample"
|
||||
elog
|
||||
optfeature "automatically detect filesystems that require restricted character sets" dev-python/psutil
|
||||
optfeature "store metadata as extended file attributes" dev-python/pyxattr
|
||||
optfeature "youtube-dl download engine" net-misc/yt-dlp
|
||||
}
|
||||
Reference in New Issue
Block a user