From 7bc9c63c9da678a7e6fceb095d56c634afd22c56 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 15 Dec 2019 18:09:03 +0000 Subject: gentoo resync : 15.12.2019 --- media-video/yle-dl/Manifest | 2 +- media-video/yle-dl/yle-dl-20191022-r1.ebuild | 68 ++++++++++++++++++++++++++++ media-video/yle-dl/yle-dl-20191022.ebuild | 68 ---------------------------- 3 files changed, 69 insertions(+), 69 deletions(-) create mode 100644 media-video/yle-dl/yle-dl-20191022-r1.ebuild delete mode 100644 media-video/yle-dl/yle-dl-20191022.ebuild (limited to 'media-video/yle-dl') diff --git a/media-video/yle-dl/Manifest b/media-video/yle-dl/Manifest index adce2b0d8ddf..1655eb38b942 100644 --- a/media-video/yle-dl/Manifest +++ b/media-video/yle-dl/Manifest @@ -1,3 +1,3 @@ DIST yle-dl-20191022.tar.gz 84694 BLAKE2B bfeab9c5220931b8af5eae94b0f5377d21f6b6fb7b21c5f7bc5360a69e7185b8f1e052a584460187cfdd04d68295a20cb895e749af43c1de4ffd7fcd7bfc3875 SHA512 2d7c6d7f8e60cb8fd54fc04dcf73caf5022e3c65ab78f002c280950184fb2458f88f6934b62c0afaeaf30864b5cc47b1ef9c2a58d2855c5111a563cd195095be -EBUILD yle-dl-20191022.ebuild 1750 BLAKE2B 7bf27a0871eed096c6831a2e4bd28f1dc3155038b120c645bb8f0e1ae907b1a2c541e2ac5626a82a4c5e02a114c85ff823dd714523bf3f8ab82a0a4baf9edc52 SHA512 2828cb32d0e61a1a1b517d1f5facdeb31736c170ed14981f4418b0b132138d5b454039a917f166afd4aa63f6c8510294d63818699d1fecb5d71c178b8116caf0 +EBUILD yle-dl-20191022-r1.ebuild 1747 BLAKE2B 0221a2a84a8dc3489b1ebffbb3e49b26d0cb8825f05897c152daf62af521edc5f705aba2410424b30e5c83299bfd0b23b1ba4bacfed3d77a066541f7e18e3181 SHA512 b8e1ba894da186d7c1579c3df953d177e18183ee5a237709d0de0b94141b7520bcd50ed2ede8e26cc782bc92975378558e1a018ee85abafb168137ecb5099284 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 new file mode 100644 index 000000000000..2684deeba928 --- /dev/null +++ b/media-video/yle-dl/yle-dl-20191022-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 python3_{5..7} ) + +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/attrs-19.2.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}] + dev-python/setuptools[${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() { + einfo "Sample configuration file has been installed in " + einfo " /usr/share/doc/yle-dl-2.37/yledl.conf.sample.bz2" +} diff --git a/media-video/yle-dl/yle-dl-20191022.ebuild b/media-video/yle-dl/yle-dl-20191022.ebuild deleted file mode 100644 index 281cc2da933d..000000000000 --- a/media-video/yle-dl/yle-dl-20191022.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{5..6} ) - -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/attrs-19.2.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}] - dev-python/setuptools[${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() { - einfo "Sample configuration file has been installed in " - einfo " /usr/share/doc/yle-dl-2.37/yledl.conf.sample.bz2" -} -- cgit v1.2.3