commit: 2d43e26003ad71f44cbda60bccd0dbbedfb012ff Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> AuthorDate: Tue Oct 20 06:04:39 2020 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Tue Oct 20 06:04:39 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d43e260
media-video/yle-dl: bump to 2020-10-19 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> media-video/yle-dl/Manifest | 1 + media-video/yle-dl/yle-dl-20201019.ebuild | 57 +++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/media-video/yle-dl/Manifest b/media-video/yle-dl/Manifest index 15fe24536e0..0d2e5f8d2f3 100644 --- a/media-video/yle-dl/Manifest +++ b/media-video/yle-dl/Manifest @@ -1 +1,2 @@ DIST yle-dl-20200807.tar.gz 62699 BLAKE2B 9f92e8e37385c8936f39443179251f60fa01fcb2ad623852cebb4bc26aa111689d8132ca1871e914162399c26ea575d02a7811fcb6b55e27b1d942db428377cc SHA512 fa38e0acb84fe968086a831c9d090a1a1387e58db0ca753aa25af65e42928542ea71b6a22988dd5e6a728b31de1da4d7dde02d2836bddec0bf52ec6dcbfa72ff +DIST yle-dl-20201019.tar.gz 63349 BLAKE2B d52a2d1b26c1ae37a93d35aaa99c181492fc124267c0a7cb6bcc202b22ce6c31662e87a508d343aa9a8a93e30de908a02f20f1130aac2011349021df47cc777e SHA512 b62dae1816eba69892541689cea79143c6828f4456023d7911a76fe6e415be3f644d1f6d80c4a0784ad67abd33ecff49b9d94adf86e6d9e3e90cc8ab99d8903d diff --git a/media-video/yle-dl/yle-dl-20201019.ebuild b/media-video/yle-dl/yle-dl-20201019.ebuild new file mode 100644 index 00000000000..ec87a0a528e --- /dev/null +++ b/media-video/yle-dl/yle-dl-20201019.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..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="${PYTHON_DEPS} + media-video/ffmpeg + net-misc/wget + >=dev-python/attrs-18.1.0[${PYTHON_USEDEP}] + >=dev-python/configargparse-0.13.0[${PYTHON_USEDEP}] + dev-python/future[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/progress[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}]" +DEPEND="test? ( + ${RDEPEND} + media-video/ffmpeg[gnutls] + dev-python/pytest[${PYTHON_USEDEP}] + )" +BDEPEND="${PYTHON_DEPS}" + +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 "" + elog "Optional download engines: " + optfeature "youtube-dl download engine" net-misc/youtube-dl +}