summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-calculators/units/units-2.14-r1.ebuild')
-rw-r--r--sci-calculators/units/units-2.14-r1.ebuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/sci-calculators/units/units-2.14-r1.ebuild b/sci-calculators/units/units-2.14-r1.ebuild
index 7050f31710f1..e49ef8fd68ee 100644
--- a/sci-calculators/units/units-2.14-r1.ebuild
+++ b/sci-calculators/units/units-2.14-r1.ebuild
@@ -14,6 +14,7 @@ LICENSE="FDL-1.3 GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="+units_cur"
+REQUIRED_USE="units_cur? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND="
sys-libs/readline:=
@@ -23,8 +24,6 @@ RDEPEND="
)"
DEPEND=${RDEPEND}
-REQUIRED_USE="units_cur? ( ${PYTHON_REQUIRED_USE} )"
-
pkg_setup() {
use units_cur && python-single-r1_pkg_setup
}