From: Joonas Niilola Date: Thu, 21 May 2020 07:24:33 +0000 (+0300) Subject: media-video/yle-dl: clean old 2020-02-22 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1d79e33c547aec14daa6993abd049e820f11a771;p=gentoo.git media-video/yle-dl: clean old 2020-02-22 Signed-off-by: Joonas Niilola --- diff --git a/media-video/yle-dl/Manifest b/media-video/yle-dl/Manifest index d60857fa3745..2c58596e4f6b 100644 --- a/media-video/yle-dl/Manifest +++ b/media-video/yle-dl/Manifest @@ -1,2 +1 @@ -DIST yle-dl-20200222.tar.gz 87059 BLAKE2B 25d645505d67d71b3662589c77c30f905ded81e2d64874cf6036dcaf0738e521e96650543a78c18031a4477fc3bcf121e7497c980d22c84e21bebc2bd7cb154a SHA512 2b4a98c19a12812bc3c00de6173d50c78c981de0186c29021c8d88349ae88759a4987f6488d758ee5397d2b0992cd03029680bb08a4882cb2280a28807d4bf14 DIST yle-dl-20200419.tar.gz 87267 BLAKE2B 2637620758c1a083502eb9468bbe5e7353855051c3379d448f6a4b9adcf8113293e4a7a8887138df68fcfd16938ab3846034a8f57cb9d366467a22c23b53ebaa SHA512 3d064e080e0c9172e15134eaa179ae96240ed9fc74a7a8a9a9aa18049397e0fea62465f5768db488928f23af1fa1195d78a8a4a6bbafcab4bcda6d05cda70ccf diff --git a/media-video/yle-dl/metadata.xml b/media-video/yle-dl/metadata.xml index 025d4dde75df..6b0a0fb3a729 100644 --- a/media-video/yle-dl/metadata.xml +++ b/media-video/yle-dl/metadata.xml @@ -5,8 +5,4 @@ juippis@gentoo.org Joonas Niilola - - Use a PHP script as download backend - Use youtube-dl script as a download backend - diff --git a/media-video/yle-dl/yle-dl-20200222.ebuild b/media-video/yle-dl/yle-dl-20200222.ebuild deleted file mode 100644 index 9f7caaad6307..000000000000 --- a/media-video/yle-dl/yle-dl-20200222.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6..8} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -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/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" - -IUSE="php test +youtube-dl" - -# Requires an active internet connection during tests -RESTRICT="test" - -RDEPEND=" - >=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}] - media-video/ffmpeg - 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[${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" -}