public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/yle-dl/
Date: Sun, 16 Oct 2022 13:38:49 +0000 (UTC)	[thread overview]
Message-ID: <1665927492.9734b223ee4ede09656600b6e141bc0e1c454db3.juippis@gentoo> (raw)

commit:     9734b223ee4ede09656600b6e141bc0e1c454db3
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 16 13:38:12 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Oct 16 13:38:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9734b223

media-video/yle-dl: add 20221015

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-video/yle-dl/Manifest               |  1 +
 media-video/yle-dl/yle-dl-20221015.ebuild | 67 +++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

diff --git a/media-video/yle-dl/Manifest b/media-video/yle-dl/Manifest
index 0d4d080369df..3b913a38158b 100644
--- a/media-video/yle-dl/Manifest
+++ b/media-video/yle-dl/Manifest
@@ -1 +1,2 @@
 DIST yle-dl-20220830.tar.gz 72087 BLAKE2B 1ee31b399daca34ed1ec5bb51fcb38ce439249a4b205e2f0f7219ddd3a438e3a8719c92836ad165112acb7506a5501bb53bb8073960bc2a26635d8eff90dfa8f SHA512 e3ec7c81259901a243f19689666eef415a23f264a04b7f281be11e200f914a0fddea871637afa1e85169bc565f01cbcc0ff91dd800bb07af5b0e6e577041b940
+DIST yle-dl-20221015.tar.gz 74786 BLAKE2B b5b7ef72d7b572de5c4cf93b1eb45fbd6319d25e6abc26f6f7a7f80199b4ef2bb28959ebb066523805a45f5675d951a750006671e1d36b62d4f4ce16a83311eb SHA512 06c338337d8cc012aa08730ec07eb3a10336e1df88475966359da128cbd24400ec7aae0240f48b5e67ef69c7e3f7d2de7d1214ae6ab81f7627444bad309a38bf

diff --git a/media-video/yle-dl/yle-dl-20221015.ebuild b/media-video/yle-dl/yle-dl-20221015.ebuild
new file mode 100644
index 000000000000..2029ff26efe5
--- /dev/null
+++ b/media-video/yle-dl/yle-dl-20221015.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+DISTUTILS_USE_PEP517=flit
+
+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,
+PROPERTIES="test_network"
+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/lxml[${PYTHON_USEDEP}]
+	dev-python/progress[${PYTHON_USEDEP}]
+	dev-python/requests[${PYTHON_USEDEP}]"
+BDEPEND="test? (
+		${RDEPEND}
+		media-video/ffmpeg[gnutls]
+		dev-python/pip[${PYTHON_USEDEP}]
+		dev-python/pytest[${PYTHON_USEDEP}]
+		dev-python/wheel[${PYTHON_USEDEP}]
+	)"
+
+distutils_enable_tests pytest
+
+DOCS=( COPYING ChangeLog README.fi.md README.md yledl.conf.sample )
+
+src_prepare() {
+	distutils-r1_src_prepare
+
+	# Skip 404'd files.
+	sed -i -e "/def test_radio_series_redirect():/i@pytest.mark.xfail(reason='Video expired.')" \
+		-e "/def test_radio_metadata_2020():/i@pytest.mark.xfail(reason='Video expired.')" \
+		-e "/def test_radio_episodes_sort_order_latest_last_source():/i@pytest.mark.xfail(reason='Video expired.')" \
+		-e "/def test_radio_episodes_sort_order_latest_first_source():/i@pytest.mark.xfail(reason='Video expired.')" \
+		-e "/def test_radio_latest():/i@pytest.mark.xfail(reason='Video expired.')" \
+		tests/integration/test_areena_radio_it.py || die
+}
+
+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-${PVR}/yledl.conf.sample"
+	elog
+	optfeature "youtube-dl download engine" net-misc/youtube-dl net-misc/yt-dlp
+}


             reply	other threads:[~2022-10-16 13:38 UTC|newest]

Thread overview: 119+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-16 13:38 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-25 11:09 [gentoo-commits] repo/gentoo:master commit in: media-video/yle-dl/ Joonas Niilola
2024-10-05 17:46 Joonas Niilola
2024-09-28 12:46 Joonas Niilola
2024-08-27  7:00 Joonas Niilola
2024-08-15  7:11 Joonas Niilola
2024-08-08 11:22 Joonas Niilola
2024-08-03  7:18 Joonas Niilola
2024-07-15  6:21 Joonas Niilola
2024-07-08  7:17 Joonas Niilola
2024-06-01  8:37 Joonas Niilola
2024-05-02  6:20 Joonas Niilola
2024-04-30  7:51 Joonas Niilola
2024-02-16 10:22 Joonas Niilola
2024-02-09  6:06 Joonas Niilola
2024-01-06  9:32 Joonas Niilola
2023-12-24  6:24 Joonas Niilola
2023-12-16  7:22 Joonas Niilola
2023-12-08  8:10 Joonas Niilola
2023-11-24  6:42 Joonas Niilola
2023-06-29  6:41 Joonas Niilola
2023-06-20 16:06 Joonas Niilola
2023-06-13 12:48 Joonas Niilola
2023-01-24 13:32 Ionen Wolkens
2023-01-10 14:03 Joonas Niilola
2023-01-10 14:03 Joonas Niilola
2023-01-05  9:23 Joonas Niilola
2023-01-05  9:23 Joonas Niilola
2022-11-19  7:30 Joonas Niilola
2022-11-19  7:30 Joonas Niilola
2022-11-12  8:05 Joonas Niilola
2022-10-23  6:27 Joonas Niilola
2022-10-23  6:27 Joonas Niilola
2022-09-09  6:20 Joonas Niilola
2022-09-09  6:20 Joonas Niilola
2022-09-02  7:32 Joonas Niilola
2022-07-13 15:13 Joonas Niilola
2022-07-13 15:13 Joonas Niilola
2022-07-05  7:09 Joonas Niilola
2022-07-02 17:35 Joonas Niilola
2022-06-18  8:47 Joonas Niilola
2022-06-11  7:38 Joonas Niilola
2022-06-08  6:13 Joonas Niilola
2022-06-08  6:13 Joonas Niilola
2022-06-08  6:13 Joonas Niilola
2022-06-04  7:07 Joonas Niilola
2022-06-01 14:46 Joonas Niilola
2022-05-26  6:36 Joonas Niilola
2022-05-19  5:53 Joonas Niilola
2022-05-16  6:25 Joonas Niilola
2022-05-05 14:26 Joonas Niilola
2022-04-26 13:32 Joonas Niilola
2022-04-26 12:57 Joonas Niilola
2022-02-21  8:42 Joonas Niilola
2022-02-21  8:42 Joonas Niilola
2022-02-14  8:16 Joonas Niilola
2022-01-10 16:27 Joonas Niilola
2022-01-04  7:36 Joonas Niilola
2021-12-14  8:36 Joonas Niilola
2021-12-14  8:36 Joonas Niilola
2021-12-11  7:17 Joonas Niilola
2021-12-11  7:17 Joonas Niilola
2021-12-04  7:30 Joonas Niilola
2021-09-24  6:27 Joonas Niilola
2021-09-24  6:27 Joonas Niilola
2021-09-18  9:50 Joonas Niilola
2021-08-14  8:06 Joonas Niilola
2021-08-14  8:06 Joonas Niilola
2021-08-09 14:26 Joonas Niilola
2021-08-03  7:09 Joonas Niilola
2021-07-10 14:45 Joonas Niilola
2021-07-10 14:45 Joonas Niilola
2021-07-05  6:52 Joonas Niilola
2021-06-01  8:43 Joonas Niilola
2021-06-01  8:43 Joonas Niilola
2021-05-03  5:23 Joonas Niilola
2021-03-15  6:35 Joonas Niilola
2021-03-15  6:35 Joonas Niilola
2021-03-11 11:41 Joonas Niilola
2021-02-13 13:39 Joonas Niilola
2020-11-22  7:54 Joonas Niilola
2020-11-22  7:54 Joonas Niilola
2020-11-22  7:54 Joonas Niilola
2020-10-23  5:19 Joonas Niilola
2020-10-20  6:05 Joonas Niilola
2020-09-06  6:15 Joonas Niilola
2020-09-06  6:15 Joonas Niilola
2020-09-06  6:15 Joonas Niilola
2020-08-07 13:16 Joonas Niilola
2020-08-04 16:50 Joonas Niilola
2020-08-04 16:50 Joonas Niilola
2020-08-04 16:50 Joonas Niilola
2020-06-28 11:12 Joonas Niilola
2020-06-28 11:12 Joonas Niilola
2020-06-19  6:43 Joonas Niilola
2020-05-21  7:29 Joonas Niilola
2020-05-21  7:29 Joonas Niilola
2020-05-21  7:29 Joonas Niilola
2020-04-26  7:08 Joonas Niilola
2020-04-20 16:22 Joonas Niilola
2020-03-25 11:17 Joonas Niilola
2020-03-25 11:17 Joonas Niilola
2020-03-25 11:17 Joonas Niilola
2020-03-25 11:17 Joonas Niilola
2020-02-23  7:25 Joonas Niilola
2020-02-23  7:25 Joonas Niilola
2020-02-23  7:25 Joonas Niilola
2020-02-23  7:25 Joonas Niilola
2020-02-04 16:21 Michał Górny
2020-01-01 16:22 Joonas Niilola
2020-01-01 16:16 Joonas Niilola
2019-12-08 15:02 Joonas Niilola
2019-12-08 15:02 Joonas Niilola
2019-11-29  7:49 Joonas Niilola
2019-11-24 13:36 Joonas Niilola
2019-11-24 13:36 Joonas Niilola
2019-11-14  4:16 Joonas Niilola
2019-10-23 16:59 Joonas Niilola
2019-09-01  7:32 Joonas Niilola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1665927492.9734b223ee4ede09656600b6e141bc0e1c454db3.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox