Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/mps-youtube/
Date: Fri, 31 Jan 2020 08:31:14
Message-Id: 1580459427.e7731809f95efd02c00390ee31156a86f237499f.radhermit@gentoo
1 commit: e7731809f95efd02c00390ee31156a86f237499f
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 31 08:25:06 2020 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 31 08:30:27 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7731809
7
8 media-sound/mps-youtube: update to EAPI 7 and add py37/py38 compat
9
10 Signed-off-by: Tim Harder <radhermit <AT> gentoo.org>
11
12 .../{mps-youtube-9999.ebuild => mps-youtube-0.2.8-r1.ebuild} | 11 ++++++-----
13 media-sound/mps-youtube/mps-youtube-9999.ebuild | 11 ++++++-----
14 2 files changed, 12 insertions(+), 10 deletions(-)
15
16 diff --git a/media-sound/mps-youtube/mps-youtube-9999.ebuild b/media-sound/mps-youtube/mps-youtube-0.2.8-r1.ebuild
17 similarity index 78%
18 copy from media-sound/mps-youtube/mps-youtube-9999.ebuild
19 copy to media-sound/mps-youtube/mps-youtube-0.2.8-r1.ebuild
20 index 7f9ca71d825..a86ede03c87 100644
21 --- a/media-sound/mps-youtube/mps-youtube-9999.ebuild
22 +++ b/media-sound/mps-youtube/mps-youtube-0.2.8-r1.ebuild
23 @@ -1,8 +1,9 @@
24 # Copyright 1999-2020 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 -EAPI=6
28 -PYTHON_COMPAT=( python3_6 )
29 +EAPI=7
30 +PYTHON_COMPAT=( python3_{6,7,8} )
31 +DISTUTILS_USE_SETUPTOOLS=rdepend
32 inherit distutils-r1
33
34 if [[ ${PV} == "9999" ]] ; then
35 @@ -19,8 +20,8 @@ HOMEPAGE="https://github.com/mps-youtube/mps-youtube https://pypi.org/project/mp
36 LICENSE="GPL-3"
37 SLOT="0"
38
39 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
40 -RDEPEND="${DEPEND}
41 +RDEPEND="
42 dev-python/pafy[${PYTHON_USEDEP}]
43 virtual/ffmpeg
44 - || ( media-video/mplayer media-video/mpv )"
45 + || ( media-video/mpv media-video/mplayer )
46 +"
47
48 diff --git a/media-sound/mps-youtube/mps-youtube-9999.ebuild b/media-sound/mps-youtube/mps-youtube-9999.ebuild
49 index 7f9ca71d825..a86ede03c87 100644
50 --- a/media-sound/mps-youtube/mps-youtube-9999.ebuild
51 +++ b/media-sound/mps-youtube/mps-youtube-9999.ebuild
52 @@ -1,8 +1,9 @@
53 # Copyright 1999-2020 Gentoo Authors
54 # Distributed under the terms of the GNU General Public License v2
55
56 -EAPI=6
57 -PYTHON_COMPAT=( python3_6 )
58 +EAPI=7
59 +PYTHON_COMPAT=( python3_{6,7,8} )
60 +DISTUTILS_USE_SETUPTOOLS=rdepend
61 inherit distutils-r1
62
63 if [[ ${PV} == "9999" ]] ; then
64 @@ -19,8 +20,8 @@ HOMEPAGE="https://github.com/mps-youtube/mps-youtube https://pypi.org/project/mp
65 LICENSE="GPL-3"
66 SLOT="0"
67
68 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
69 -RDEPEND="${DEPEND}
70 +RDEPEND="
71 dev-python/pafy[${PYTHON_USEDEP}]
72 virtual/ffmpeg
73 - || ( media-video/mplayer media-video/mpv )"
74 + || ( media-video/mpv media-video/mplayer )
75 +"