summaryrefslogtreecommitdiff
path: root/media-video/yle-dl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-05 12:08:58 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-05 12:08:58 +0000
commitf29a41111b3a606f5d95049b1ba92daabbc68cc0 (patch)
tree310589df1ffb427b1a0595a329cfb2845335b778 /media-video/yle-dl
parent083bdfbef9bc532b72cf116591025916eebaf676 (diff)
gentoo auto-resync : 05:01:2023 - 12:08:57
Diffstat (limited to 'media-video/yle-dl')
-rw-r--r--media-video/yle-dl/Manifest4
-rw-r--r--media-video/yle-dl/metadata.xml3
-rw-r--r--media-video/yle-dl/yle-dl-20221231.ebuild55
3 files changed, 61 insertions, 1 deletions
diff --git a/media-video/yle-dl/Manifest b/media-video/yle-dl/Manifest
index 74bf1525c68d..aee87aed66ca 100644
--- a/media-video/yle-dl/Manifest
+++ b/media-video/yle-dl/Manifest
@@ -1,3 +1,5 @@
DIST yle-dl-20221111.tar.gz 74708 BLAKE2B ecd0913ee1f50901932cc1218864157612633dd6490d2a0ebf6dd42e796b0a2bfd5bb07043c6ecf1dcfb936c597ec954c3c2676e7d893b38b2e77c09145a24a8 SHA512 52d8219235d1d17b7f646213afcbda44051af7aec0f0ec05b8162e1e40b1b32ad939f63d45af4d9179f22e2003c9707e7b640099b14e1ec7f3cbc83a747a36d0
+DIST yle-dl-20221231.tar.gz 75559 BLAKE2B 940a7107851ccfee0a93e24fccbac1f58d23a5cd3d6dbdbd5536b2d2c1d797468959453c1727700ae4bbced169e58565384cfbc976b9f89f662447fd51e38daf SHA512 9a08cbbb757cd75a8e2ee61b5c340b9e1bd91f8479f98d434a5e5f716926bfde135f925b5f65a9d043881f6a4e598c4c059aafb1618e5490c46f0f3c6a6dbf2b
EBUILD yle-dl-20221111.ebuild 1471 BLAKE2B 09ddc9b7e235b343a503fb094fd434fd998d4ba89419b129f6ba71b0974ad2d15e4b3b6a0feeefcddf6cfd534c55049178622aae557a8f34e2e93c735097c49e SHA512 089d3331f7d2037d6dec503f4f170c64980ccdec311291aaedb63071d5deac6e6bc67d5fd40e788a345ca790ecbec1360c0e41642d8d9debf68d71ca70a322fc
-MISC metadata.xml 280 BLAKE2B 30756c19f90277ebe700cf4641848ae376453c6031a019f348f04ee8d4c30146947ec383fa4bf12b669df790417eec9285df363210138e39f611d345d127ed27 SHA512 cf301b82fada2d4ca02e1dd9ba7b5234c42b7c63f87b96d81cb06ebc7853934533b75d0fc77eff0dc39f3c0a9e2d468b6bc03ac98fcb3834da67a11b254a0b77
+EBUILD yle-dl-20221231.ebuild 1473 BLAKE2B 6dd3a7c2185d320bb44adfa1a8e14e7d537c19e5e418b11e452344e64dff928a594ad855b7fd00f2d27f9a1cda2618ca574a6d4e696f194e4ff077227f98836e SHA512 cd8adc412387321f0febd4dc8a55011d1ad718150984dae4d0c983938da844ae01f3648140b7aa1d8d88c3991f3b8a785f20f38f76408741e772040472de8f28
+MISC metadata.xml 363 BLAKE2B b27761ed00c4849b5e9a0c51fdf699ab7e1589acc017be236339e8e5044fbe05ad62ad8c7104f6e9e43de0779ad6f9f3fe4144fc57376d87d0304f7c7c3fe7cf SHA512 1b061009279fcf8271bec4958ddb93d93e1455686e42d623a64ef51a65e4f852d23873c59d5e547bbf66d6c596f542fd29f78de5c7b33f484918b01beb76dc92
diff --git a/media-video/yle-dl/metadata.xml b/media-video/yle-dl/metadata.xml
index 42361307323b..bbd655996511 100644
--- a/media-video/yle-dl/metadata.xml
+++ b/media-video/yle-dl/metadata.xml
@@ -6,4 +6,7 @@
<name>Joonas Niilola</name>
</maintainer>
<stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">aajanki/yle-dl</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/media-video/yle-dl/yle-dl-20221231.ebuild b/media-video/yle-dl/yle-dl-20221231.ebuild
new file mode 100644
index 000000000000..8fcd38123c16
--- /dev/null
+++ b/media-video/yle-dl/yle-dl-20221231.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2023 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/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.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 "youtube-dl download engine" net-misc/youtube-dl net-misc/yt-dlp
+}