Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/yle-dl/
Date: Fri, 07 Aug 2020 13:16:17
Message-Id: 1596806167.334c9205f54609b537b421bfe38b7c5b2b8fe764.juippis@gentoo
1 commit: 334c9205f54609b537b421bfe38b7c5b2b8fe764
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 7 13:15:49 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 7 13:16:07 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=334c9205
7
8 media-video/yle-dl: bump to 2020-08-07
9
10 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
11
12 media-video/yle-dl/Manifest | 1 +
13 media-video/yle-dl/yle-dl-20200807.ebuild | 57 +++++++++++++++++++++++++++++++
14 2 files changed, 58 insertions(+)
15
16 diff --git a/media-video/yle-dl/Manifest b/media-video/yle-dl/Manifest
17 index a2bb9720d3e..d20861a8139 100644
18 --- a/media-video/yle-dl/Manifest
19 +++ b/media-video/yle-dl/Manifest
20 @@ -1 +1,2 @@
21 DIST yle-dl-20200628.tar.gz 61748 BLAKE2B 1de2d426e8d871aef8d9ad1ee896b28cc79601bd13712a9e646a313ec52cdb2e2e979b74ea612fdab0c309a8fa37e3c1226bac29461410dbc85f976b1277e1ca SHA512 0f6880779392a1f47138a3757cbd08158d6832b35dff15193faa8937338ef791e03f4e5308f71fe0b6f4515092f681f9dad6a41a9ed32254757a44af34486070
22 +DIST yle-dl-20200807.tar.gz 62699 BLAKE2B 9f92e8e37385c8936f39443179251f60fa01fcb2ad623852cebb4bc26aa111689d8132ca1871e914162399c26ea575d02a7811fcb6b55e27b1d942db428377cc SHA512 fa38e0acb84fe968086a831c9d090a1a1387e58db0ca753aa25af65e42928542ea71b6a22988dd5e6a728b31de1da4d7dde02d2836bddec0bf52ec6dcbfa72ff
23
24 diff --git a/media-video/yle-dl/yle-dl-20200807.ebuild b/media-video/yle-dl/yle-dl-20200807.ebuild
25 new file mode 100644
26 index 00000000000..1f7adb750bb
27 --- /dev/null
28 +++ b/media-video/yle-dl/yle-dl-20200807.ebuild
29 @@ -0,0 +1,57 @@
30 +# Copyright 1999-2020 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +PYTHON_COMPAT=( python3_{6..8} )
36 +DISTUTILS_USE_SETUPTOOLS=rdepend
37 +
38 +inherit distutils-r1 eutils
39 +
40 +DESCRIPTION="Download media files from Yle Areena"
41 +HOMEPAGE="https://aajanki.github.io/yle-dl/ https://github.com/aajanki/yle-dl"
42 +SRC_URI="https://github.com/aajanki/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +LICENSE="GPL-3"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +
48 +IUSE="test"
49 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
50 +
51 +# Requires an active internet connection during tests,
52 +# FEATURES="-network-sandbox" to test.
53 +RESTRICT="test"
54 +
55 +RDEPEND="${PYTHON_DEPS}
56 + media-video/ffmpeg
57 + net-misc/wget
58 + >=dev-python/attrs-18.1.0[${PYTHON_USEDEP}]
59 + >=dev-python/configargparse-0.13.0[${PYTHON_USEDEP}]
60 + dev-python/future[${PYTHON_USEDEP}]
61 + dev-python/lxml[${PYTHON_USEDEP}]
62 + dev-python/progress[${PYTHON_USEDEP}]
63 + dev-python/requests[${PYTHON_USEDEP}]"
64 +DEPEND="test? (
65 + ${RDEPEND}
66 + media-video/ffmpeg[gnutls]
67 + dev-python/pytest[${PYTHON_USEDEP}]
68 + )"
69 +BDEPEND="${PYTHON_DEPS}"
70 +
71 +distutils_enable_tests setup.py
72 +
73 +DOCS=( COPYING ChangeLog README.fi README.md yledl.conf.sample )
74 +
75 +src_install() {
76 + docompress -x "/usr/share/doc/${PF}/yledl.conf.sample"
77 + distutils-r1_src_install
78 +}
79 +
80 +pkg_postinst() {
81 + elog "Sample configuration file has been installed to "
82 + elog " /usr/share/doc/yle-dl-${PV}/yledl.conf.sample"
83 + elog ""
84 + elog "Optional download engines: "
85 + optfeature "youtube-dl download engine" net-misc/youtube-dl
86 +}