mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
media-video/yle-dl: add 20250730
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
parent
cc7e27f13b
commit
d8aba73cb0
@ -1 +1,2 @@
|
||||
DIST yle-dl-20250614.tar.gz 81261 BLAKE2B 2e8c3206c780d54691506d82f34bdf2d39e6b7eec5f8a01de354dd3a29f6a209f919a5f200cb459d5964d944da089ffe178a7900e43898a6d7a30f687c5ed7fa SHA512 5f54915d10574a292567bc44125957723a6f67798d1cae8e2cf7bcd24214ec673875b3aa2b8e609bc1c93f2460513746705073cd9e8a559dd92802f5bded2096
|
||||
DIST yle-dl-20250730.tar.gz 81368 BLAKE2B 144b6f42127bf2410fbcf8be49cda92e7f0c1b0a65c170e03f80666bb68e2f6159594e5f99bf133d373cb9df6340d5db805d9e79018a2167a083a6e3c164ef09 SHA512 885196d97031d74ea2a4021ef81e8daacd79f1bff8f861d754d136a6e25d97acf11d0ef10fc4c2da67842022f7b8368de46fe65944e17e787092823bd343aa2c
|
||||
|
||||
60
media-video/yle-dl/yle-dl-20250730.ebuild
Normal file
60
media-video/yle-dl/yle-dl-20250730.ebuild
Normal file
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user