1 |
commit: 3457d37b444d703d787d030c937a45c13396f04e |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 3 22:11:23 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 3 22:23:03 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3457d37b |
7 |
|
8 |
net-misc/youtube-dl: Eliminate dep on flake8 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
net-misc/youtube-dl/youtube-dl-2020.11.01.1.ebuild | 22 ++++++---------------- |
13 |
1 file changed, 6 insertions(+), 16 deletions(-) |
14 |
|
15 |
diff --git a/net-misc/youtube-dl/youtube-dl-2020.11.01.1.ebuild b/net-misc/youtube-dl/youtube-dl-2020.11.01.1.ebuild |
16 |
index b1b5154480a..0839988f367 100644 |
17 |
--- a/net-misc/youtube-dl/youtube-dl-2020.11.01.1.ebuild |
18 |
+++ b/net-misc/youtube-dl/youtube-dl-2020.11.01.1.ebuild |
19 |
@@ -3,7 +3,7 @@ |
20 |
|
21 |
EAPI=7 |
22 |
|
23 |
-PYTHON_COMPAT=(python3_{6,7,8,9}) |
24 |
+PYTHON_COMPAT=(python3_{6..9}) |
25 |
|
26 |
DISTUTILS_USE_SETUPTOOLS=rdepend |
27 |
|
28 |
@@ -12,31 +12,21 @@ inherit bash-completion-r1 distutils-r1 readme.gentoo-r1 |
29 |
DESCRIPTION="Download videos from YouTube.com (and more sites...)" |
30 |
HOMEPAGE="https://youtube-dl.org/ https://github.com/ytdl-org/youtube-dl/" |
31 |
SRC_URI="https://youtube-dl.org/downloads/${PV}/${P}.tar.gz" |
32 |
-LICENSE="public-domain" |
33 |
+S=${WORKDIR}/${PN} |
34 |
|
35 |
+LICENSE="public-domain" |
36 |
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" |
37 |
SLOT="0" |
38 |
-IUSE="test" |
39 |
-RESTRICT="!test? ( test )" |
40 |
- |
41 |
-BDEPEND=" |
42 |
- test? ( |
43 |
- dev-python/flake8[${PYTHON_USEDEP}] |
44 |
- ) |
45 |
-" |
46 |
|
47 |
RDEPEND=" |
48 |
dev-python/pycryptodome[${PYTHON_USEDEP}] |
49 |
" |
50 |
|
51 |
-DEPEND="${RDEPEND}" |
52 |
- |
53 |
distutils_enable_tests nose |
54 |
|
55 |
-S=${WORKDIR}/${PN} |
56 |
- |
57 |
-src_compile() { |
58 |
- distutils-r1_src_compile |
59 |
+src_prepare() { |
60 |
+ sed -i -e '/flake8/d' Makefile || die |
61 |
+ distutils-r1_src_prepare |
62 |
} |
63 |
|
64 |
python_test() { |