commit:     6ba31ccc02f505c8c42249cb6e8dacba3b43bbe7
Author:     Gonçalo Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Fri Nov  3 16:39:01 2023 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Fri Nov  3 16:40:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6ba31ccc

media-sound/yewtube: fix does not enable tests

closes:https://bugs.gentoo.org/913360

Signed-off-by: Gonçalo Duarte <gonegrier.duarte <AT> gmail.com>

 media-sound/yewtube/yewtube-2.10.5.ebuild | 6 ++++--
 media-sound/yewtube/yewtube-9999.ebuild   | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/media-sound/yewtube/yewtube-2.10.5.ebuild 
b/media-sound/yewtube/yewtube-2.10.5.ebuild
index 4ec3ae5584..12dfdd453a 100644
--- a/media-sound/yewtube/yewtube-2.10.5.ebuild
+++ b/media-sound/yewtube/yewtube-2.10.5.ebuild
@@ -3,10 +3,10 @@
 
 EAPI=8
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_COMPAT=(python3_{9..12})
 inherit distutils-r1
 
-if [[ ${PV} == "9999" ]] ; then
+if [[ ${PV} == "9999" ]]; then
        EGIT_REPO_URI="https://github.com/mps-youtube/yewtube.git";
        inherit git-r3
 else
@@ -30,6 +30,8 @@ RDEPEND="${DEPEND}
        dev-python/pip
        || ( media-video/mplayer media-video/mpv )"
 
+distutils_enable_tests pytest
+
 src_compile() {
        distutils-r1_src_compile --build-dir "${WORKDIR}/${P}"
 }

diff --git a/media-sound/yewtube/yewtube-9999.ebuild 
b/media-sound/yewtube/yewtube-9999.ebuild
index 4ec3ae5584..12dfdd453a 100644
--- a/media-sound/yewtube/yewtube-9999.ebuild
+++ b/media-sound/yewtube/yewtube-9999.ebuild
@@ -3,10 +3,10 @@
 
 EAPI=8
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_COMPAT=(python3_{9..12})
 inherit distutils-r1
 
-if [[ ${PV} == "9999" ]] ; then
+if [[ ${PV} == "9999" ]]; then
        EGIT_REPO_URI="https://github.com/mps-youtube/yewtube.git";
        inherit git-r3
 else
@@ -30,6 +30,8 @@ RDEPEND="${DEPEND}
        dev-python/pip
        || ( media-video/mplayer media-video/mpv )"
 
+distutils_enable_tests pytest
+
 src_compile() {
        distutils-r1_src_compile --build-dir "${WORKDIR}/${P}"
 }

Reply via email to