diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-15 13:38:09 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-15 13:38:09 +0100 |
commit | db70871b2044b9bfde346d6f4027dafb0a013c4c (patch) | |
tree | 34548aee54e5458d3754bd8c8f987acdb5ee444c /media-video/yle-dl | |
parent | 1c382dc5dbc52576ac2300fee0498af8af44e7b4 (diff) |
gentoo auto-resync : 15:06:2023 - 13:38:09
Diffstat (limited to 'media-video/yle-dl')
-rw-r--r-- | media-video/yle-dl/Manifest | 2 | ||||
-rw-r--r-- | media-video/yle-dl/yle-dl-20230611.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/media-video/yle-dl/Manifest b/media-video/yle-dl/Manifest index 8a7bafb4191d..e1fa33850332 100644 --- a/media-video/yle-dl/Manifest +++ b/media-video/yle-dl/Manifest @@ -1,3 +1,5 @@ DIST yle-dl-20221231.tar.gz 75559 BLAKE2B 940a7107851ccfee0a93e24fccbac1f58d23a5cd3d6dbdbd5536b2d2c1d797468959453c1727700ae4bbced169e58565384cfbc976b9f89f662447fd51e38daf SHA512 9a08cbbb757cd75a8e2ee61b5c340b9e1bd91f8479f98d434a5e5f716926bfde135f925b5f65a9d043881f6a4e598c4c059aafb1618e5490c46f0f3c6a6dbf2b +DIST yle-dl-20230611.tar.gz 75718 BLAKE2B 5be5b3bde4290f0799e4d2e15e779798467162e7316be4cd5bae463c798fbfac228614c8a1f4e222e045b70aca3584df428d85e6e12b6f208a6e4265199a6310 SHA512 9027a00f7a3b383187ae1de3bcf2145c64b0f618680ec3fe224397ac23cbb43d0f181f64c8cd7f21b9dbbdfd5ea0045458fb6858fd6be2c4b5b04d5df2747f79 EBUILD yle-dl-20221231.ebuild 1451 BLAKE2B 39a5c35bacd6755187dd0673c3be24fcfd5efe222622ad30271a66333f959c032dfa9245bee8c9e2f229b367bd23ab36511a23a233f32034b89e46e5e9b52805 SHA512 3d30b6607881fbd2afa9ecd612c86f298cf383490742414e9669c37e0f4a69a5731df9e51bb42e0bbc8420b49151536cb498957894e6ff83cca9adb8514615f2 +EBUILD yle-dl-20230611.ebuild 1454 BLAKE2B 445b5d4d7fde77f51952ea0d9e93dfd2d3c622edd21036742ed0d036da19b1dfc4407755b0470f9da67317e363594a7f1c653d038d3ada725e50913e0d243e73 SHA512 f57df0fe400b51c565d956237b92930282c25f8ea37fdf82ac76d0dd069d949c93bf0eb2c47dbab7b0c0430586b4c3be4d623868cc68771e9e23213aab89bf73 MISC metadata.xml 363 BLAKE2B b27761ed00c4849b5e9a0c51fdf699ab7e1589acc017be236339e8e5044fbe05ad62ad8c7104f6e9e43de0779ad6f9f3fe4144fc57376d87d0304f7c7c3fe7cf SHA512 1b061009279fcf8271bec4958ddb93d93e1455686e42d623a64ef51a65e4f852d23873c59d5e547bbf66d6c596f542fd29f78de5c7b33f484918b01beb76dc92 diff --git a/media-video/yle-dl/yle-dl-20230611.ebuild b/media-video/yle-dl/yle-dl-20230611.ebuild new file mode 100644 index 000000000000..028b9855367a --- /dev/null +++ b/media-video/yle-dl/yle-dl-20230611.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_{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.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/yt-dlp +} |