commit:     bbaf4b4a81edcb8f6c5747921216f9b914d9f347
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  6 19:15:26 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Aug  6 22:29:08 2017 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=bbaf4b4a

kde-frameworks/kfilemetadata: Add missing python test dep

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 kde-frameworks/kfilemetadata/kfilemetadata-9999.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-9999.ebuild 
b/kde-frameworks/kfilemetadata/kfilemetadata-9999.ebuild
index c3b74f7791..8a435759a1 100644
--- a/kde-frameworks/kfilemetadata/kfilemetadata-9999.ebuild
+++ b/kde-frameworks/kfilemetadata/kfilemetadata-9999.ebuild
@@ -3,7 +3,8 @@
 
 EAPI=6
 
-inherit eutils kde5
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+inherit eutils kde5 python-any-r1
 
 DESCRIPTION="Library for extracting file metadata"
 KEYWORDS=""
@@ -25,10 +26,16 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}
        kernel_linux? ( sys-apps/attr )
+       test? ( ${PYTHON_DEPS} )
 "
 
 REQUIRED_USE="test? ( taglib )"
 
+pkg_setup() {
+       use test && python-any-r1_pkg_setup
+       kde5_pkg_setup
+}
+
 src_configure() {
        local mycmakeargs=(
                $(cmake-utils_use_find_package epub EPub)

Reply via email to