mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
media-video/yle-dl: bump to 2021-05-02
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST yle-dl-20210212.tar.gz 64609 BLAKE2B 1cffaadd6c5628e0d2b2a02cda2c6a98939c0c92e9efda7a6fd0dc02c65f7e0b3a5de6d705143d4dbd1507bc8733d13dd9b0547592c86f6168de63d0fb73463a SHA512 cdef7ff929d3dacd8b599644b46d784412b232f64e3ba2f1d6d2338c8350d38e0ae089e2a79bf12a1d39311daff60a062432b945292c1728b310af3b3a68a98b
|
||||
DIST yle-dl-20210502.tar.gz 65149 BLAKE2B 26beded2ccee1d1ee077fd0e15b44f8bc849acc9103eb5fa0c5030b4fcd7c4a6d41a0d9636fdf6a1298e56357dfefec1935b12047edf97f9e7ca6307ef81a5fb SHA512 8e8a7d97c6a13a46dfc0573eaed5b8c5d3c2dd8ca12eac4d25c98908d7c802dfb12b6efa293b969c35ae480d8cb4898e90af9fb452ee0cd5d4d1b6556a6b9b1c
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
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/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
# Requires an active internet connection during tests,
|
||||
# FEATURES="-network-sandbox" to test.
|
||||
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/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
# Use 'pytest --geoblocked' to only test using non-geo restricted videos.
|
||||
distutils_enable_tests setup.py
|
||||
|
||||
DOCS=( COPYING ChangeLog README.fi 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-${PV}/yledl.conf.sample"
|
||||
elog
|
||||
optfeature "youtube-dl download engine" net-misc/youtube-dl
|
||||
}
|
||||
Reference in New Issue
Block a user