diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
commit | 21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch) | |
tree | e1810a4b135afce04b34862ef0fab2bfaeb8aeca /media-video/yle-dl | |
parent | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff) |
gentoo resync : 15.01.2020
Diffstat (limited to 'media-video/yle-dl')
-rw-r--r-- | media-video/yle-dl/Manifest | 4 | ||||
-rw-r--r-- | media-video/yle-dl/yle-dl-20191022-r1.ebuild | 4 | ||||
-rw-r--r-- | media-video/yle-dl/yle-dl-20191231.ebuild | 68 |
3 files changed, 73 insertions, 3 deletions
diff --git a/media-video/yle-dl/Manifest b/media-video/yle-dl/Manifest index 1655eb38b942..d78413d02f96 100644 --- a/media-video/yle-dl/Manifest +++ b/media-video/yle-dl/Manifest @@ -1,3 +1,5 @@ DIST yle-dl-20191022.tar.gz 84694 BLAKE2B bfeab9c5220931b8af5eae94b0f5377d21f6b6fb7b21c5f7bc5360a69e7185b8f1e052a584460187cfdd04d68295a20cb895e749af43c1de4ffd7fcd7bfc3875 SHA512 2d7c6d7f8e60cb8fd54fc04dcf73caf5022e3c65ab78f002c280950184fb2458f88f6934b62c0afaeaf30864b5cc47b1ef9c2a58d2855c5111a563cd195095be -EBUILD yle-dl-20191022-r1.ebuild 1747 BLAKE2B 0221a2a84a8dc3489b1ebffbb3e49b26d0cb8825f05897c152daf62af521edc5f705aba2410424b30e5c83299bfd0b23b1ba4bacfed3d77a066541f7e18e3181 SHA512 b8e1ba894da186d7c1579c3df953d177e18183ee5a237709d0de0b94141b7520bcd50ed2ede8e26cc782bc92975378558e1a018ee85abafb168137ecb5099284 +DIST yle-dl-20191231.tar.gz 86479 BLAKE2B 5b39a3e68478fe71ec604f3217a4115ad1ff09fc8913c81acc7108e433349a0c524eebadeb892e01d3ed43ab163421ea59bc4ec486af710f0680107d15d13f35 SHA512 60d7aeab72e3a6c9346a9e569c9de6af154a65b326c7528ceebe3ee33dc1df62764d6f768da160524bf74ab6ad7c238658a58184726cec6b6b46e70b5701437c +EBUILD yle-dl-20191022-r1.ebuild 1747 BLAKE2B 033026b4047e1630bb323989660ef72817e24c8c9a62d119c7995d8e9a82f45989619b8f693b7f0d4cff837114442a46bf6e13db9168aaaba8ae784169320cb5 SHA512 761d1c5ea9d110a157f1fc663dae8c7be3d84f6bb90ffe8fe62523da81d82c080049f87b18dc7aa08ffb554851e9863681b32c3bbf17d970f266bcfad9adfca5 +EBUILD yle-dl-20191231.ebuild 1687 BLAKE2B 26fa2119458c0eef2cac9cfb65a29cf61428d86d924e4a749bac13a477c04d1f593038054d784c22e4dc638c16822f4bf1892ba3d50fb7dfeb99265e4841226a SHA512 c8e74be2fc5235095462dbf3c7359b4d90cd65f29ffe72019afb85d0ff90411059db93fc99bb76aeb4548995f0ac99648d0f14d7d2311d52285b536fa741bdfe MISC metadata.xml 415 BLAKE2B 3961cdbc02847f65011c6987b811207c31c49ae40c3bea44b481f35ac04e75dabfa8ceae74f6adc816f211129efb8faaa0ba63700d95eec569b3f51cfe64bd42 SHA512 96f1afba4a47f7b5dca75ba1d5300baf9815bdcf3eda12f5b6044aea7cfc09683c76db210a0b4965626aac050016fc39f44c4e5c63597894e0ae6457dc2aeb90 diff --git a/media-video/yle-dl/yle-dl-20191022-r1.ebuild b/media-video/yle-dl/yle-dl-20191022-r1.ebuild index 2684deeba928..82b8f3eced6b 100644 --- a/media-video/yle-dl/yle-dl-20191022-r1.ebuild +++ b/media-video/yle-dl/yle-dl-20191022-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{5..7} ) +PYTHON_COMPAT=( python2_7 python3_{6..7} ) inherit distutils-r1 diff --git a/media-video/yle-dl/yle-dl-20191231.ebuild b/media-video/yle-dl/yle-dl-20191231.ebuild new file mode 100644 index 000000000000..6cbb34932369 --- /dev/null +++ b/media-video/yle-dl/yle-dl-20191231.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..7} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Download media files from Yle Areena" +HOMEPAGE="http://aajanki.github.io/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="libav php test +youtube-dl" + +# Requires an active internet connection during tests +RESTRICT="test" + +RDEPEND=" + !libav? ( media-video/ffmpeg ) + >=dev-python/attrs-18.1.0[${PYTHON_USEDEP}] + >=dev-python/configargparse-0.13.0[${PYTHON_USEDEP}] + dev-python/future[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/mini-amf[${PYTHON_USEDEP}] + dev-python/progress[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + net-misc/wget + php? ( + dev-lang/php:*[bcmath,cli,curl,simplexml] + >=dev-libs/openssl-1.0.2:0= + media-video/rtmpdump + ) + youtube-dl? ( net-misc/youtube-dl[${PYTHON_USEDEP}] ) +" +DEPEND=" + test? ( + ${RDEPEND} + dev-python/pytest-runner[${PYTHON_USEDEP}] + ) +" + +DOCS=( COPYING ChangeLog README.fi README.md yledl.conf.sample ) + +src_prepare() { + default + + # Gentoo doesn't ship pycryptodomex with pycryptodome + sed -i 's/pycryptodomex/pycryptodome/g' setup.py || die +} + +python_test() { + # For tests to run succesfully, you need to disable network stricting + # feature first. + # FEATURES="-network-sandbox test" emerge -a yle-dl + esetup.py test +} + +pkg_postinst() { + elog "Sample configuration file has been installed in " + elog " /usr/share/doc/yle-dl-${PV}/yledl.conf.sample.bz2" +} |