app-office/ledger: [QA] Add missing python metadata variables
authorDavid Seifert <soap@gentoo.org>
Thu, 20 Apr 2017 07:47:40 +0000 (09:47 +0200)
committerDavid Seifert <soap@gentoo.org>
Thu, 20 Apr 2017 07:59:04 +0000 (09:59 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

app-office/ledger/ledger-3.1.1.ebuild

index 835688520a5b65c92a05a5312b0c00df9abfa1ba..04e3c2dd062eea58a1cfc943db10130b7310f012 100644 (file)
@@ -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