Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/yle-dl/
Date: Thu, 21 May 2020 07:29:16
Message-Id: 1590046144.1d79e33c547aec14daa6993abd049e820f11a771.juippis@gentoo
1 commit: 1d79e33c547aec14daa6993abd049e820f11a771
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 21 07:24:33 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Thu May 21 07:29:04 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d79e33c
7
8 media-video/yle-dl: clean old 2020-02-22
9
10 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
11
12 media-video/yle-dl/Manifest | 1 -
13 media-video/yle-dl/metadata.xml | 4 --
14 media-video/yle-dl/yle-dl-20200222.ebuild | 68 -------------------------------
15 3 files changed, 73 deletions(-)
16
17 diff --git a/media-video/yle-dl/Manifest b/media-video/yle-dl/Manifest
18 index d60857fa374..2c58596e4f6 100644
19 --- a/media-video/yle-dl/Manifest
20 +++ b/media-video/yle-dl/Manifest
21 @@ -1,2 +1 @@
22 -DIST yle-dl-20200222.tar.gz 87059 BLAKE2B 25d645505d67d71b3662589c77c30f905ded81e2d64874cf6036dcaf0738e521e96650543a78c18031a4477fc3bcf121e7497c980d22c84e21bebc2bd7cb154a SHA512 2b4a98c19a12812bc3c00de6173d50c78c981de0186c29021c8d88349ae88759a4987f6488d758ee5397d2b0992cd03029680bb08a4882cb2280a28807d4bf14
23 DIST yle-dl-20200419.tar.gz 87267 BLAKE2B 2637620758c1a083502eb9468bbe5e7353855051c3379d448f6a4b9adcf8113293e4a7a8887138df68fcfd16938ab3846034a8f57cb9d366467a22c23b53ebaa SHA512 3d064e080e0c9172e15134eaa179ae96240ed9fc74a7a8a9a9aa18049397e0fea62465f5768db488928f23af1fa1195d78a8a4a6bbafcab4bcda6d05cda70ccf
24
25 diff --git a/media-video/yle-dl/metadata.xml b/media-video/yle-dl/metadata.xml
26 index 025d4dde75d..6b0a0fb3a72 100644
27 --- a/media-video/yle-dl/metadata.xml
28 +++ b/media-video/yle-dl/metadata.xml
29 @@ -5,8 +5,4 @@
30 <email>juippis@g.o</email>
31 <name>Joonas Niilola</name>
32 </maintainer>
33 - <use>
34 - <flag name='php'>Use a PHP script as download backend</flag>
35 - <flag name='youtube-dl'>Use youtube-dl script as a download backend</flag>
36 - </use>
37 </pkgmetadata>
38
39 diff --git a/media-video/yle-dl/yle-dl-20200222.ebuild b/media-video/yle-dl/yle-dl-20200222.ebuild
40 deleted file mode 100644
41 index 9f7caaad630..00000000000
42 --- a/media-video/yle-dl/yle-dl-20200222.ebuild
43 +++ /dev/null
44 @@ -1,68 +0,0 @@
45 -# Copyright 1999-2020 Gentoo Authors
46 -# Distributed under the terms of the GNU General Public License v2
47 -
48 -EAPI=7
49 -
50 -PYTHON_COMPAT=( python3_{6..8} )
51 -DISTUTILS_USE_SETUPTOOLS=rdepend
52 -
53 -inherit distutils-r1
54 -
55 -DESCRIPTION="Download media files from Yle Areena"
56 -HOMEPAGE="https://aajanki.github.io/yle-dl/ https://github.com/aajanki/yle-dl"
57 -SRC_URI="https://github.com/aajanki/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
58 -
59 -LICENSE="GPL-3"
60 -SLOT="0"
61 -KEYWORDS="amd64 x86"
62 -
63 -IUSE="php test +youtube-dl"
64 -
65 -# Requires an active internet connection during tests
66 -RESTRICT="test"
67 -
68 -RDEPEND="
69 - >=dev-python/attrs-18.1.0[${PYTHON_USEDEP}]
70 - >=dev-python/configargparse-0.13.0[${PYTHON_USEDEP}]
71 - dev-python/future[${PYTHON_USEDEP}]
72 - dev-python/lxml[${PYTHON_USEDEP}]
73 - dev-python/mini-amf[${PYTHON_USEDEP}]
74 - dev-python/progress[${PYTHON_USEDEP}]
75 - dev-python/pycryptodome[${PYTHON_USEDEP}]
76 - dev-python/requests[${PYTHON_USEDEP}]
77 - media-video/ffmpeg
78 - net-misc/wget
79 - php? (
80 - dev-lang/php:*[bcmath,cli,curl,simplexml]
81 - >=dev-libs/openssl-1.0.2:0=
82 - media-video/rtmpdump
83 - )
84 - youtube-dl? ( net-misc/youtube-dl[${PYTHON_USEDEP}] )
85 -"
86 -DEPEND="
87 - test? (
88 - ${RDEPEND}
89 - dev-python/pytest[${PYTHON_USEDEP}]
90 - )
91 -"
92 -
93 -DOCS=( COPYING ChangeLog README.fi README.md yledl.conf.sample )
94 -
95 -src_prepare() {
96 - default
97 -
98 - # Gentoo doesn't ship pycryptodomex with pycryptodome
99 - sed -i 's/pycryptodomex/pycryptodome/g' setup.py || die
100 -}
101 -
102 -python_test() {
103 - # For tests to run succesfully, you need to disable network stricting
104 - # feature first.
105 - # FEATURES="-network-sandbox test" emerge -a yle-dl
106 - esetup.py test
107 -}
108 -
109 -pkg_postinst() {
110 - elog "Sample configuration file has been installed in "
111 - elog " /usr/share/doc/yle-dl-${PV}/yledl.conf.sample.bz2"
112 -}