commit:     60a93870c0782aa67692e30962b9cb8bbe32b66e
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 20 07:47:40 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Apr 20 07:59:04 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60a93870

app-office/ledger: [QA] Add missing python metadata variables

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 app-office/ledger/ledger-3.1.1.ebuild | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/app-office/ledger/ledger-3.1.1.ebuild 
b/app-office/ledger/ledger-3.1.1.ebuild
index 835688520a5..04e3c2dd062 100644
--- a/app-office/ledger/ledger-3.1.1.ebuild
+++ b/app-office/ledger/ledger-3.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -15,23 +15,25 @@ LICENSE="BSD"
 KEYWORDS="amd64 x86"
 SLOT="0"
 IUSE="doc emacs python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 SITEFILE=50${PN}-gentoo-${PV}.el
 
 CHECKREQS_MEMORY=8G
 
-COMMON_DEPEND="
+RDEPEND="
        dev-libs/boost:=[python?]
        dev-libs/gmp:0=
        dev-libs/mpfr:0=
        emacs? ( virtual/emacs )
-"
-RDEPEND="
-       ${COMMON_DEPEND}
-       python? ( dev-python/cheetah )
+       python? (
+               dev-libs/boost:=[${PYTHON_USEDEP}]
+               dev-python/cheetah
+               ${PYTHON_DEPS}
+       )
 "
 DEPEND="
-       ${COMMON_DEPEND}
+       ${RDEPEND}
        dev-libs/utfcpp
        doc? (
                sys-apps/texinfo

Reply via email to