summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2020-10-23 08:10:25 +0300
committerJoonas Niilola <juippis@gentoo.org>2020-10-23 08:19:24 +0300
commit1a8b337c12c27456e8e01cef0cd7adf9391413fc (patch)
tree5e1101d371e224ab45a45765355f189ddd33064f /media-video/yle-dl
parentdev-ruby/tty-command: add 0.10.0 (diff)
downloadgentoo-1a8b337c12c27456e8e01cef0cd7adf9391413fc.tar.gz
gentoo-1a8b337c12c27456e8e01cef0cd7adf9391413fc.tar.bz2
gentoo-1a8b337c12c27456e8e01cef0cd7adf9391413fc.zip
media-video/yle-dl: bump to 2020-10-22
Bug: https://bugs.gentoo.org/750536 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-video/yle-dl')
-rw-r--r--media-video/yle-dl/Manifest1
-rw-r--r--media-video/yle-dl/yle-dl-20201022.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/media-video/yle-dl/Manifest b/media-video/yle-dl/Manifest
index 0d2e5f8d2f30..17ed2b74e766 100644
--- a/media-video/yle-dl/Manifest
+++ b/media-video/yle-dl/Manifest
@@ -1,2 +1,3 @@
DIST yle-dl-20200807.tar.gz 62699 BLAKE2B 9f92e8e37385c8936f39443179251f60fa01fcb2ad623852cebb4bc26aa111689d8132ca1871e914162399c26ea575d02a7811fcb6b55e27b1d942db428377cc SHA512 fa38e0acb84fe968086a831c9d090a1a1387e58db0ca753aa25af65e42928542ea71b6a22988dd5e6a728b31de1da4d7dde02d2836bddec0bf52ec6dcbfa72ff
DIST yle-dl-20201019.tar.gz 63349 BLAKE2B d52a2d1b26c1ae37a93d35aaa99c181492fc124267c0a7cb6bcc202b22ce6c31662e87a508d343aa9a8a93e30de908a02f20f1130aac2011349021df47cc777e SHA512 b62dae1816eba69892541689cea79143c6828f4456023d7911a76fe6e415be3f644d1f6d80c4a0784ad67abd33ecff49b9d94adf86e6d9e3e90cc8ab99d8903d
+DIST yle-dl-20201022.tar.gz 63423 BLAKE2B af79aa27528b9cfafcf297497fe5711d7c9260c5fd245bb556ff340bad3938bf48dac74e1875ae2013346c546d3dc745b2c552b1c32c15cc47106183a6d8cb82 SHA512 14d1bb7e814355dad48a02c240103baec39d831de9a08fb8f1eecdeb13522fd55d891bc519d8303dc156f2b0e300a7c8c4a42feba29b3d7c80c906edc9aadc89
diff --git a/media-video/yle-dl/yle-dl-20201022.ebuild b/media-video/yle-dl/yle-dl-20201022.ebuild
new file mode 100644
index 000000000000..31cb79f48365
--- /dev/null
+++ b/media-video/yle-dl/yle-dl-20201022.ebuild
@@ -0,0 +1,55 @@
+# 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="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}]"
+BDEPEND="test? (
+ ${RDEPEND}
+ media-video/ffmpeg[gnutls]
+ dev-python/pytest[${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 ""
+ elog "Optional download engines: "
+ optfeature "youtube-dl download engine" net-misc/youtube-dl
+}