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: Mon, 21 Feb 2022 08:42:38
Message-Id: 1645432899.7c84c97d1b5151d0d84e62e3d2cc0d97b807bcf5.juippis@gentoo
1 commit: 7c84c97d1b5151d0d84e62e3d2cc0d97b807bcf5
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 21 08:41:39 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 21 08:41:39 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c84c97d
7
8 media-video/yle-dl: stabilize 20220213 for allarches
9
10 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
11
12 media-video/yle-dl/yle-dl-20220213.ebuild | 11 ++++++++++-
13 1 file changed, 10 insertions(+), 1 deletion(-)
14
15 diff --git a/media-video/yle-dl/yle-dl-20220213.ebuild b/media-video/yle-dl/yle-dl-20220213.ebuild
16 index fd5aed57376a..ff4143bd16a1 100644
17 --- a/media-video/yle-dl/yle-dl-20220213.ebuild
18 +++ b/media-video/yle-dl/yle-dl-20220213.ebuild
19 @@ -13,7 +13,7 @@ SRC_URI="https://github.com/aajanki/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
20
21 LICENSE="GPL-3"
22 SLOT="0"
23 -KEYWORDS="~amd64 ~x86"
24 +KEYWORDS="amd64 x86"
25
26 IUSE="test"
27 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
28 @@ -41,6 +41,15 @@ distutils_enable_tests setup.py
29
30 DOCS=( COPYING ChangeLog README.fi README.md yledl.conf.sample )
31
32 +src_prepare() {
33 + distutils-r1_src_prepare
34 +
35 + # https://github.com/aajanki/yle-dl/issues/297
36 + sed -i -e \
37 + "/def test_uutiset_headline_metadata():/i@×××××××××××.xfail(reason='Media file removed from Areena.')" \
38 + tests/integration/test_uutiset_it.py || die
39 +}
40 +
41 src_install() {
42 docompress -x "/usr/share/doc/${PF}/yledl.conf.sample"
43 distutils-r1_src_install