commit:     a144796fc4aff93a573de959b2a40470741d1fdf
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  6 11:20:54 2020 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sat Mar  7 20:16:28 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a144796f

app-office/planner: fix conditional python setup

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 app-office/planner/planner-0.14.6_p20130520-r1.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/app-office/planner/planner-0.14.6_p20130520-r1.ebuild 
b/app-office/planner/planner-0.14.6_p20130520-r1.ebuild
index 6d5c4afce4f..e85a7b08867 100644
--- a/app-office/planner/planner-0.14.6_p20130520-r1.ebuild
+++ b/app-office/planner/planner-0.14.6_p20130520-r1.ebuild
@@ -45,6 +45,10 @@ DEPEND="${RDEPEND}
 
 S="${WORKDIR}/${PN}-0.14.6"
 
+pkg_setup() {
+       use python && python-single-r1_pkg_setup
+}
+
 src_configure() {
        # FIXME: disable eds backend for now, it fails, upstream bug #654005
        # We need to set compile-warnings to a different value as it doesn't use

Reply via email to