summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2022-02-21 10:41:39 +0200
committerJoonas Niilola <juippis@gentoo.org>2022-02-21 10:41:39 +0200
commit7c84c97d1b5151d0d84e62e3d2cc0d97b807bcf5 (patch)
tree0272c2e6071b0cab500ba41c1ada4cf4a1b25d16 /media-video/yle-dl
parentx11-plugins/wmforkplop: fix gkrellm plugin disabling (diff)
downloadgentoo-7c84c97d1b5151d0d84e62e3d2cc0d97b807bcf5.tar.gz
gentoo-7c84c97d1b5151d0d84e62e3d2cc0d97b807bcf5.tar.bz2
gentoo-7c84c97d1b5151d0d84e62e3d2cc0d97b807bcf5.zip
media-video/yle-dl: stabilize 20220213 for allarches
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-video/yle-dl')
-rw-r--r--media-video/yle-dl/yle-dl-20220213.ebuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/media-video/yle-dl/yle-dl-20220213.ebuild b/media-video/yle-dl/yle-dl-20220213.ebuild
index fd5aed57376a..ff4143bd16a1 100644
--- a/media-video/yle-dl/yle-dl-20220213.ebuild
+++ b/media-video/yle-dl/yle-dl-20220213.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/aajanki/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
@@ -41,6 +41,15 @@ distutils_enable_tests setup.py
DOCS=( COPYING ChangeLog README.fi README.md yledl.conf.sample )
+src_prepare() {
+ distutils-r1_src_prepare
+
+ # https://github.com/aajanki/yle-dl/issues/297
+ sed -i -e \
+ "/def test_uutiset_headline_metadata():/i@pytest.mark.xfail(reason='Media file removed from Areena.')" \
+ tests/integration/test_uutiset_it.py || die
+}
+
src_install() {
docompress -x "/usr/share/doc/${PF}/yledl.conf.sample"
distutils-r1_src_install