summaryrefslogtreecommitdiff
path: root/media-video/yle-dl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-31 11:48:59 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-31 11:48:59 +0000
commit0c7c7c833ab740636f5a76d53ebe5bb6e0e793a8 (patch)
treec54041f822e7291ee0e13d0fa320d348bacdf4d9 /media-video/yle-dl
parent14cf0565bbb816bd0cf9ecd14bec28dacfac2d57 (diff)
gentoo auto-resync : 31:01:2024 - 11:48:58
Diffstat (limited to 'media-video/yle-dl')
-rw-r--r--media-video/yle-dl/Manifest2
-rw-r--r--media-video/yle-dl/yle-dl-20240130.ebuild57
2 files changed, 59 insertions, 0 deletions
diff --git a/media-video/yle-dl/Manifest b/media-video/yle-dl/Manifest
index 9c79f0fb8c57..97de49f2d174 100644
--- a/media-video/yle-dl/Manifest
+++ b/media-video/yle-dl/Manifest
@@ -1,3 +1,5 @@
DIST yle-dl-20231214.tar.gz 77366 BLAKE2B 2c438840cc0dd50141d792ee697a81a61f9a5739dd5dee1b0b1a63a6e225ee33cb680c952d80424addf226c32cb53f0d2d5b2a02582a92b6f85cf4d4ee490a61 SHA512 0d25129aabea4957d76d24c8dc05801e4e712f4a1997f135c0233940e76f1dce1af01d3956d1ea26fb5c9e270c9ab9a6093aa20b6f31d773dd67c7723e35d289
+DIST yle-dl-20240130.tar.gz 77787 BLAKE2B b0dd82813a3defb6305cd5b6529d5c5558a0c82d7c8ba9714e836b1d98a09bdad27882c975ca8a98b26a6188194157586fef882437c486bf4c7f480677fc386f SHA512 d803c6703987f4fbd787c608830398ff4081407349146d7fc98de2387f0313e6354b27b1c6d3de14a7a4bc7d44c30d05c63708cc7f780a7534e15f193f988138
EBUILD yle-dl-20231214.ebuild 1645 BLAKE2B 4b8c70586af0bb1e33b09f20850fad2d97868f311aad007036d4453b6a560d0f8a2164f6827845b92e8a9b401bd9fb36253bf686d7bcf0a9c06a6834fb60f4ae SHA512 bb6e52b6bc6d3081d0adfee7d859b006a3c5484500c1ffc2ec8a98c5b8cadfbabff83019c1a4f0166eef25f7bc045566c1eee457981e3379f9e6b223a7cbdef3
+EBUILD yle-dl-20240130.ebuild 1647 BLAKE2B bac141003962b789c48bb03d917ee0d0b300b6aff7421c5a85487bbd0df688f6c08beb81119d2cdb6e64b8868424ec48569d2b8f7d10ed3e8e630ba12aa08ef5 SHA512 deffc77072dc064daf0a1982997e408ea4e12dc8d29ab141f81fdd971f5a25e7a718c39fff6d158ee07b53a0376de4beeffcfd0df9a4c82afb7a38a9faaa13a1
MISC metadata.xml 363 BLAKE2B b27761ed00c4849b5e9a0c51fdf699ab7e1589acc017be236339e8e5044fbe05ad62ad8c7104f6e9e43de0779ad6f9f3fe4144fc57376d87d0304f7c7c3fe7cf SHA512 1b061009279fcf8271bec4958ddb93d93e1455686e42d623a64ef51a65e4f852d23873c59d5e547bbf66d6c596f542fd29f78de5c7b33f484918b01beb76dc92
diff --git a/media-video/yle-dl/yle-dl-20240130.ebuild b/media-video/yle-dl/yle-dl-20240130.ebuild
new file mode 100644
index 000000000000..b64611d3bbe0
--- /dev/null
+++ b/media-video/yle-dl/yle-dl-20240130.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+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/yle-dl/archive/refs/tags/${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.sv.md 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-${PVR}/yledl.conf.sample"
+ elog
+ optfeature "automatically detect filesystems that require restricted character sets" dev-python/psutil
+ optfeature "store metadata as extended file attributes" dev-python/pyxattr
+ optfeature "youtube-dl download engine" net-misc/yt-dlp
+}