diff options
author | Joonas Niilola <juippis@gentoo.org> | 2021-08-09 17:03:59 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-08-09 17:25:22 +0300 |
commit | 493de83fe32a2d05b39e04f0529d041b71b4de04 (patch) | |
tree | 04faea04a5090485108d9daef0a9237637919767 /media-video/yle-dl | |
parent | games-sports/speed-dreams: drop 2.2.3_rc1 (diff) | |
download | gentoo-493de83fe32a2d05b39e04f0529d041b71b4de04.tar.gz gentoo-493de83fe32a2d05b39e04f0529d041b71b4de04.tar.bz2 gentoo-493de83fe32a2d05b39e04f0529d041b71b4de04.zip |
media-video/yle-dl: add 20210808
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-video/yle-dl')
-rw-r--r-- | media-video/yle-dl/Manifest | 1 | ||||
-rw-r--r-- | media-video/yle-dl/yle-dl-20210808.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/media-video/yle-dl/Manifest b/media-video/yle-dl/Manifest index 28f085a2a291..65cdb2255a6a 100644 --- a/media-video/yle-dl/Manifest +++ b/media-video/yle-dl/Manifest @@ -1 +1,2 @@ DIST yle-dl-20210704.tar.gz 65583 BLAKE2B f347bf8198a0e645dc960fa4e7a6bc5f90081b9936f8462d0b13c92fcf7005e31837b01d8a830b17c1f962e6f7b4afbdc18a3227c6caa5d2eb3389f7fcbe66de SHA512 fd91960221476ed4e1d5de79132687da88ff19e66d1f75e940e8aa00e742139ff4b2d0d67b32f86f6b7bd326520d0287f3495607f68a7f1f3634493d63282c55 +DIST yle-dl-20210808.tar.gz 66360 BLAKE2B 6c6baa1f90dc7f1a58e5883611a61b01f78eee4cf377e1d7a38f88acc966462482daa35e6f87b264bcd34bc6ed4a668377c236ea5660cfc25560aae359013c72 SHA512 38da5d14e9485ada768dd6c05ea93dbfa948b581167029313feb365b89c5f2a81836d5a8739f8a77fe77178c7d9731292578370a868e8c8058a37a98606e6e32 diff --git a/media-video/yle-dl/yle-dl-20210808.ebuild b/media-video/yle-dl/yle-dl-20210808.ebuild new file mode 100644 index 000000000000..3644998c1d01 --- /dev/null +++ b/media-video/yle-dl/yle-dl-20210808.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7..10} ) + +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, +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 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 +} |