File tree 3 files changed +26
-10
lines changed
3 files changed +26
-10
lines changed Original file line number Diff line number Diff line change 6
6
<name >Gonçalo Negrier Duarte</name >
7
7
</maintainer >
8
8
<upstream >
9
- <remote-id type =" pypi" >mps-youtube </remote-id >
10
- <remote-id type =" github" >mps-youtube/mps-youtube </remote-id >
9
+ <remote-id type =" pypi" >yewtube </remote-id >
10
+ <remote-id type =" github" >mps-youtube/yewtube </remote-id >
11
11
</upstream >
12
12
</pkgmetadata >
Original file line number Diff line number Diff line change 1
- # Copyright 1999-2023 Gentoo Authors
1
+ # Copyright 1999-2024 Gentoo Authors
2
2
# Distributed under the terms of the GNU General Public License v2
3
3
4
4
EAPI=8
17
17
KEYWORDS=" ~amd64"
18
18
fi
19
19
20
- LICENSE=" GPL-3"
20
+ LICENSE=" GPL-3+ "
21
21
SLOT=" 0"
22
22
23
23
IUSE=" test"
@@ -27,11 +27,12 @@ RDEPEND="
27
27
media-video/ffmpeg
28
28
dev-python/requests[${PYTHON_USEDEP} ]
29
29
dev-python/pyperclip[${PYTHON_USEDEP} ]
30
- net-misc/yt-dlp
31
- dev-python/youtube-search-python
30
+ net-misc/yt-dlp[ ${PYTHON_USEDEP} ]
31
+ dev-python/youtube-search-python[ ${PYTHON_USEDEP} ]
32
32
dev-python/pylast[${PYTHON_USEDEP} ]
33
33
dev-python/pip[${PYTHON_USEDEP} ]
34
34
dev-python/pipenv[${PYTHON_USEDEP} ]
35
+ dev-python/setuptools[${PYTHON_USEDEP} ]
35
36
|| ( media-video/mplayer media-video/mpv )
36
37
"
37
38
@@ -44,6 +45,13 @@ DEPEND="
44
45
45
46
distutils_enable_tests pytest
46
47
48
+ src_prepare () {
49
+ # bug #939186
50
+ sed -i ' s/from pip\._vendor //' mps_youtube/__init__.py || die
51
+
52
+ distutils-r1_src_prepare
53
+ }
54
+
47
55
src_compile () {
48
56
distutils-r1_src_compile --build-dir " ${WORKDIR} /${P} "
49
57
}
Original file line number Diff line number Diff line change 1
- # Copyright 1999-2023 Gentoo Authors
1
+ # Copyright 1999-2024 Gentoo Authors
2
2
# Distributed under the terms of the GNU General Public License v2
3
3
4
4
EAPI=8
17
17
KEYWORDS=" ~amd64"
18
18
fi
19
19
20
- LICENSE=" GPL-3"
20
+ LICENSE=" GPL-3+ "
21
21
SLOT=" 0"
22
22
23
23
IUSE=" test"
@@ -27,11 +27,12 @@ RDEPEND="
27
27
media-video/ffmpeg
28
28
dev-python/requests[${PYTHON_USEDEP} ]
29
29
dev-python/pyperclip[${PYTHON_USEDEP} ]
30
- net-misc/yt-dlp
31
- dev-python/youtube-search-python
30
+ net-misc/yt-dlp[ ${PYTHON_USEDEP} ]
31
+ dev-python/youtube-search-python[ ${PYTHON_USEDEP} ]
32
32
dev-python/pylast[${PYTHON_USEDEP} ]
33
33
dev-python/pip[${PYTHON_USEDEP} ]
34
34
dev-python/pipenv[${PYTHON_USEDEP} ]
35
+ dev-python/setuptools[${PYTHON_USEDEP} ]
35
36
|| ( media-video/mplayer media-video/mpv )
36
37
"
37
38
@@ -44,6 +45,13 @@ DEPEND="
44
45
45
46
distutils_enable_tests pytest
46
47
48
+ src_prepare () {
49
+ # bug #939186
50
+ sed -i ' s/from pip\._vendor //' mps_youtube/__init__.py || die
51
+
52
+ distutils-r1_src_prepare
53
+ }
54
+
47
55
src_compile () {
48
56
distutils-r1_src_compile --build-dir " ${WORKDIR} /${P} "
49
57
}
You can’t perform that action at this time.
0 commit comments